flash.utils.TypedDictionary usage?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

flash.utils.TypedDictionary usage?

Michael Baczynski-2

I have problems with the TypedDictionary class. Compiles fine, but when accessing
the methods of the class I always get this error:

ReferenceError: Error #1056: Eigenschaft key in flash.utils.TypedDictionary kann nicht erstellt werden.
at flash.utils::TypedDictionary/set()
at Main$/main()
at MethodInfo-61()
at Boot_62B2D4()

my source is just:

var d:TypedDictionary<String, String> = new TypedDictionary<String, String>(false);
var key:String = "key";
var val:String = "val";
d.set(key, val);


haXe - an open source web programming language