The main class usually represents the class document → class, which is put on the scene (the root of the display tree) as the first. This means that in the constructor (main function) you already have access to the scene.
if(stage) init();
actually means that if stage! = null, run initialization.
null ?
swf swf. , ( ..), ( ), .
:
var mc:MovieClip = new MovieClip();
stage.addChild(mc);
, ADDED_TO_STAGE, , , . , .
(), , , , .