AS3 Q
AS3 Q
Out of context: Reply #6
- Started
- Last post
- 19 Responses
- SteveJobs0
the problem is that the compiler isn't seeing the class you are wanting to add dynamically.
here's proof
add this line before that function call:
var myClassReference:MyClassThatIWan...it will work then, because the compiler included it. just create a dummy reference to any class you could want to instantiate and include it in any module you need this functionality in.