I have this main (document class) in a Flash project: package{ import flash.display.MovieClip; import flash.events.Event;
I made this class and I put it in the same package of Timeline.as (the Document Class): 开发者_开发知识库package {
I\'ve just started to work with DoubleClick Studio. I\'ve successfully created a Flash expanding ad with CS4 that is mostly scripted and uses the Document class option.
In my as3 code using Flash cs3, everything works fine without any document class. I can use event handlers and they work. But, once I attach a document class, I start to get this error: 1046: Type was
Is there a way to get an instance refer开发者_开发技巧ence to the document class to call a method of it from the stage\'s timeline?