Suppose this is the list of 100 or more classes :
var abc:Abc ;
var def:Def ;
var ghi:Ghi ;
var jkl:Jkl ;
..
..
..
..
..
var xyz:Xyz ;
Now I want to instantiate the 1st set of 100 classes. How can I do it using an array within a for loop?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Like this?
You can pass around the class name like any old object, so I think you could do something like this –