Hey fellows, in AS3 how can I create class instances from a list of classes 
names. Take for example something like this:

import Circle;
import Square;
import Triangle;

var list:Array = new Array("Circle","Square","Triangle");

for(var i=0;i<list.length;i++){
        var class = new list[i]();
}
_______________________________________________
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

Reply via email to