I see strange behavior regarding the interaction between my instructors and the main application classes (all AS3 / Flash CS4). Roughly speaking, here's the flow of events:
I installed thunderbolt so that I can log messages as the application launches, and this is what I defined. Creating the application object in step 3 causes problems; for some reason, the statement myMainApplication = new Application(customobj); in Main.as throws a beautiful error #1009 , which usually points to a reference to a null pointer or something like that.
The strange thing is that I added some entries to Application.as , and it seems that there is no problem with a link to customObject ; a call toString() in the customObject in Application constructor returns exactly the expected data.
In other words, the statement myMainApplication = new Application(customobj); in Main.as seems successful and unsuccessful at the same time. What gives?
source share