Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package {
- import flash.display.*;
- import flash.events.*;
- public class FlashDen extends Sprite {
- public function FlashDen() {
- trace(root); // traces null
- addEventListener(Event.ADDED_TO_STAGE, added);
- }
- private function added(event:Event):void {
- trace(root); // traces object main timeline
- }
- }
- }
Add Comment
Please, Sign In to add comment