I know you can instantiate objects by doing:

var myObj = new _global[className]();
var className = "TestClass";

but is it possible to call a static method of a class in a similar way?  Im
trying these two ways, and its not working for me:

_global[iconName].create()
_global[iconName]().create()


if I try and do a trace on the class like trace( _global[iconName]) i get
undefined.  The icon classes are subclasses of movieclip so that might make
a difference.
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to