|
-
Senior Member
[AS3 question] Class from String?
ok...so I don't know if this is possible...but...
let's say I have
stringName = "bigFootball";
is it possible to some how do somehting like this :
var ball:class[stringName] = new class[stringname]
so initialise an instance of a Class from a string of the class type?
danke
Chris x
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|