trace(getDefinitionByName("Test").parse("false"));
Output
false
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Patrick Matte | BLITZ wrote:
Does anybody know if it's possible to call a static method of a reference to a
class created with getDefinitionByName without actually creating an instance of
the object?
Something like this simple example:
var ClassReference:Class = getDefinitionByName("Test") as Class;
var bool:Boolean = ClassReference.parse("false"); //would return false;
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders