If you were using Flex, I think there is a way to do it: let us know if you use 
Flex.
Regards.

-----Mensaje original-----
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] nombre de Danny
Kodicek
Enviado el: jueves, 01 de junio de 2006 18:02
Para: Flashcoders mailing list
Asunto: [Flashcoders] create an object of type defined with a string


I want to have a function makeObject(tType:String) which returns an object 
of class tType. So makeObject("Array") should return a new Array object. Any 
good way to do this? I'm sure it's something simple.

And before you ask, yes, there is a reason why I need to do it this way...

Danny 

_______________________________________________
[email protected]
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
_______________________________________________
[email protected]
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

Reply via email to