STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229456 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2574 · P5148 |
This is the info page for Flash #54449 |
Section 1//NGLoader (NGLoader) package { import flash.events.*; import flash.display.*; import flash.system.*; import flash.net.*; public dynamic class NGLoader extends MovieClip { public const AUTO_PLAY:Boolean = false; public var bar:MovieClip; public var ngButton:SimpleButton; public var playButton:SimpleButton; public var loadingComplete:Boolean; public var initialized:Boolean; public function NGLoader(){ addFrameScript(0, frame1, 1, frame2); } public function init():void{ if (initialized){ return; }; initialized = true; stop(); if (((root) && ((root is MovieClip)))){ MovieClip(root).stop(); }; loadingComplete = false; ngButton.addEventListener(MouseEvent.CLICK, ngButtonClickHandler, false, 0, true); addEventListener(Event.ENTER_FRAME, enterFrameHandler, false, 0, true); if (meetsVersion([9, 0, 28, 0])){ addEventListener(Event.REMOVED_FROM_STAGE, cleanup, false, 0, true); }; enterFrameHandler(); } public function enterFrameHandler(_arg1:Event=null):void{ var _local2:Number; if (!loadingComplete){ _local2 = 0; if (loaderInfo){ _local2 = (loaderInfo.bytesLoaded / loaderInfo.bytesTotal); }; if (bar){ bar.scaleX = _local2; }; if (_local2 == 1){ loadingComplete = true; if (AUTO_PLAY){ startMovie(); } else { gotoAndPlay("loaded"); }; }; }; } public function meetsVersion(_arg1:Array):Boolean{ var _local2:Array; var _local3:uint; _local2 = String(Capabilities.version.split(" ")[1]).split(","); _local3 = 0; while (_local3 < _arg1.length) { if (uint(_local2[_local3]) > _arg1[_local3]){ return (true); }; if (uint(_local2[_local3]) < _arg1[_local3]){ return (false); }; _local3++; }; return (true); } public function playButtonClickHandler(_arg1:Event=null):void{ startMovie(); } function frame1(){ initialized = false; init(); } function frame2(){ stop(); if (((playButton) && (!(playButton.hasEventListener(MouseEvent.CLICK))))){ playButton.addEventListener(MouseEvent.CLICK, playButtonClickHandler, false, 0, true); }; } public function ngButtonClickHandler(_arg1:Event):void{ navigateToURL(new URLRequest("http://www.newgrounds.com"), "_blank"); } public function cleanup(_arg1:Event=null){ if (initialized){ ngButton.removeEventListener(MouseEvent.CLICK, ngButtonClickHandler); removeEventListener(Event.ENTER_FRAME, enterFrameHandler); if (meetsVersion([9, 0, 28, 0])){ removeEventListener(Event.REMOVED_FROM_STAGE, cleanup); }; }; initialized = false; } public function startMovie():void{ cleanup(); if (((root) && ((root is MovieClip)))){ MovieClip(root).play(); }; dispatchEvent(new Event(Event.COMPLETE)); } } }//package
Library Items
Symbol 1 Graphic | Used by:18 | |
Symbol 2 Graphic | Used by:3 | |
Symbol 3 MovieClip | Uses:2 | Used by:18 |
Symbol 4 Graphic | Used by:18 | |
Symbol 5 Graphic | Used by:8 9 | |
Symbol 6 Graphic | Used by:8 9 | |
Symbol 7 Graphic | Used by:8 9 | |
Symbol 8 MovieClip | Uses:5 6 7 | Used by:9 |
Symbol 9 Button | Uses:8 5 6 7 | Used by:18 |
Symbol 10 Graphic | Used by:18 | |
Symbol 11 Graphic | Used by:17 | |
Symbol 12 Graphic | Used by:17 | |
Symbol 13 Graphic | Used by:17 | |
Symbol 14 Graphic | Used by:17 | |
Symbol 15 Graphic | Used by:17 | |
Symbol 16 Graphic | Used by:17 | |
Symbol 17 Button | Uses:11 12 13 14 15 16 | Used by:18 |
Symbol 18 MovieClip {NGLoader} | Uses:1 3 4 9 10 17 | Used by:Timeline |
Symbol 19 Graphic | Used by:Timeline | |
Symbol 20 Graphic | Used by:23 | |
Symbol 21 Graphic | Used by:23 | |
Symbol 22 Graphic | Used by:23 | |
Symbol 23 MovieClip | Uses:20 21 22 | Used by:26 |
Symbol 24 Graphic | Used by:25 | |
Symbol 25 MovieClip | Uses:24 | Used by:26 |
Symbol 26 MovieClip | Uses:23 25 | Used by:91 92 Timeline |
Symbol 27 Graphic | Used by:28 | |
Symbol 28 MovieClip | Uses:27 | Used by:29 |
Symbol 29 MovieClip | Uses:28 | Used by:30 |
Symbol 30 MovieClip | Uses:29 | Used by:Timeline |
Symbol 31 Sound | Used by:Timeline | |
Symbol 32 Graphic | Used by:Timeline | |
Symbol 33 Graphic | Used by:Timeline | |
Symbol 34 Graphic | Used by:Timeline | |
Symbol 35 Graphic | Used by:Timeline | |
Symbol 36 Graphic | Used by:Timeline | |
Symbol 37 Graphic | Used by:Timeline | |
Symbol 38 Graphic | Used by:Timeline | |
Symbol 39 Graphic | Used by:Timeline | |
Symbol 40 Graphic | Used by:Timeline | |
Symbol 41 Graphic | Used by:Timeline | |
Symbol 42 Graphic | Used by:Timeline | |
Symbol 43 Graphic | Used by:Timeline | |
Symbol 44 Graphic | Used by:Timeline | |
Symbol 45 Graphic | Used by:Timeline | |
Symbol 46 Graphic | Used by:Timeline | |
Symbol 47 Graphic | Used by:Timeline | |
Symbol 48 Graphic | Used by:Timeline | |
Symbol 49 Graphic | Used by:Timeline | |
Symbol 50 Graphic | Used by:Timeline | |
Symbol 51 Graphic | Used by:Timeline | |
Symbol 52 Graphic | Used by:Timeline | |
Symbol 53 Graphic | Used by:Timeline | |
Symbol 54 Graphic | Used by:Timeline | |
Symbol 55 Graphic | Used by:Timeline | |
Symbol 56 Graphic | Used by:Timeline | |
Symbol 57 Graphic | Used by:Timeline | |
Symbol 58 Graphic | Used by:Timeline | |
Symbol 59 Graphic | Used by:Timeline | |
Symbol 60 Graphic | Used by:Timeline | |
Symbol 61 Graphic | Used by:Timeline | |
Symbol 62 Graphic | Used by:Timeline | |
Symbol 63 Graphic | Used by:Timeline | |
Symbol 64 Graphic | Used by:Timeline | |
Symbol 65 Graphic | Used by:Timeline | |
Symbol 66 Graphic | Used by:Timeline | |
Symbol 67 Graphic | Used by:Timeline | |
Symbol 68 Graphic | Used by:Timeline | |
Symbol 69 Graphic | Used by:Timeline | |
Symbol 70 Graphic | Used by:Timeline | |
Symbol 71 Graphic | Used by:Timeline | |
Symbol 72 Graphic | Used by:Timeline | |
Symbol 73 Graphic | Used by:Timeline | |
Symbol 74 Graphic | Used by:Timeline | |
Symbol 75 Graphic | Used by:Timeline | |
Symbol 76 Graphic | Used by:77 | |
Symbol 77 MovieClip | Uses:76 | Used by:78 |
Symbol 78 MovieClip | Uses:77 | Used by:Timeline |
Symbol 79 Graphic | Used by:80 | |
Symbol 80 MovieClip | Uses:79 | Used by:81 |
Symbol 81 MovieClip | Uses:80 | Used by:Timeline |
Symbol 82 Graphic | Used by:83 | |
Symbol 83 MovieClip | Uses:82 | Used by:84 |
Symbol 84 MovieClip | Uses:83 | Used by:Timeline |
Symbol 85 Graphic | Used by:87 | |
Symbol 86 Sound | Used by:87 | |
Symbol 87 MovieClip | Uses:85 86 | Used by:Timeline |
Symbol 88 Graphic | Used by:89 | |
Symbol 89 MovieClip | Uses:88 | Used by:90 |
Symbol 90 MovieClip | Uses:89 | Used by:Timeline |
Symbol 91 MovieClip | Uses:26 | Used by:92 |
Symbol 92 MovieClip | Uses:91 26 | Used by:Timeline |
Symbol 93 Graphic | Used by:94 | |
Symbol 94 MovieClip | Uses:93 | Used by:Timeline |
Instance Names
"bar" | Symbol 18 MovieClip {NGLoader} Frame 1 | Symbol 3 MovieClip |
"ngButton" | Symbol 18 MovieClip {NGLoader} Frame 1 | Symbol 9 Button |
"playButton" | Symbol 18 MovieClip {NGLoader} Frame 2 | Symbol 17 Button |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS3. |
Labels
"loaded" | Symbol 18 MovieClip {NGLoader} Frame 2 |
|