use onStageInitialized callback to get the stage object from SWF.embed