Hello flashcoders.
A simple question perhaps but couldn't figure it out by myself.
How can I instantiate a class having it's qname? Say I know that I
need an instance of "org.foo.Bar", how can I summon it?
I tried doing:
var anObject = new (eval("org.foo.Bar"));
but I get undefined in return. Maybe there is someobscure method like
Class.instantiate(aQname) that I overlooked?
TIA
--
Julian 'Julik' Tarkhanov
me at julik.nl
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com