hello,
so because to debug my error Error #1009 make some class.
So heir is the class
[AS]package portfolioClasses{
import flash.display.Stage;
import flash.display.MovieClip;
public class order extends MovieClip {
public function order():void {
trace("order plz ");
trace(stage.stageWidth);
}
}
}
[/AS]
In stage timeline write
[AS]import portfolioClasses.order;
stop();
new order();[/AS]
and linkage one MovieClip which is on stage.
Here is the output
order plz
800
order plz
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at portfolioClasses::order$iinit()
at portfolio_fla::MainTimeline/portfolio_fla::frame2()
first message come from the movieclip I link, second is from my AS write in the timeline, why for linkage work and for timeline not??? What this means…