Thank you! That's exactly it.

----- Original Message ----
From: Pedro Taranto <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, September 5, 2007 11:16:39 PM
Subject: Re: [Flashcoders] AS3 version of the ol' dynamically-created 
constructor trick?

you can use:

var classRef:Class = getDefinitionByName("MyClassNmae") as Class;
var myInstance:* = new classRef();

-- 
Pedro Taranto

_______________________________________________
[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