STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229671 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2596 · P5191 |
This is the info page for Flash #164486 |
Section 1//NGLoader (NGLoader) package { import flash.events.*; import flash.display.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.text.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class NGLoader extends MovieClip { public const AUTO_PLAY:Boolean = false; public var playButton:SimpleButton; public var ngButton:SimpleButton; public var bar:MovieClip; public var initialized:Boolean; public var loadingComplete:Boolean; public function NGLoader(){ addFrameScript(0, frame1, 1, frame2); } public function ngButtonClickHandler(_arg1:Event):void{ navigateToURL(new URLRequest("http://www.newgrounds.com"), "_blank"); } function frame2(){ stop(); if (((playButton) && (!(playButton.hasEventListener(MouseEvent.CLICK))))){ playButton.addEventListener(MouseEvent.CLICK, playButtonClickHandler, false, 0, true); }; } public function startMovie():void{ cleanup(); if (((root) && ((root is MovieClip)))){ MovieClip(root).play(); }; dispatchEvent(new Event(Event.COMPLETE)); } 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 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 playButtonClickHandler(_arg1:Event=null):void{ startMovie(); } public function meetsVersion(_arg1:Array):Boolean{ var _local2:Array = String(Capabilities.version.split(" ")[1]).split(","); var _local3:uint; 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 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"); }; }; }; } function frame1(){ initialized = false; init(); } } }//package
Library Items
Symbol 1 Graphic | Used by:19 | |
Symbol 2 Graphic | Used by:3 | |
Symbol 3 MovieClip | Uses:2 | Used by:19 |
Symbol 4 Graphic | Used by:19 | |
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:19 |
Symbol 10 Graphic | Used by:19 | |
Symbol 11 Graphic | Used by:18 | |
Symbol 12 Graphic | Used by:18 | |
Symbol 13 Graphic | Used by:18 | |
Symbol 14 Graphic | Used by:18 | |
Symbol 15 Graphic | Used by:18 | |
Symbol 16 Graphic | Used by:18 | |
Symbol 17 Sound | Used by:18 | |
Symbol 18 Button | Uses:11 12 13 14 15 16 17 | Used by:19 |
Symbol 19 MovieClip {NGLoader} | Uses:1 3 4 9 10 18 | |
Symbol 20 Graphic | Used by:Timeline | |
Symbol 21 Graphic | Used by:Timeline | |
Symbol 22 Graphic | Used by:Timeline | |
Symbol 23 Graphic | Used by:Timeline | |
Symbol 24 Graphic | Used by:Timeline | |
Symbol 25 Graphic | Used by:Timeline | |
Symbol 26 Graphic | Used by:Timeline | |
Symbol 27 Graphic | Used by:Timeline | |
Symbol 28 Graphic | Used by:Timeline | |
Symbol 29 Graphic | Used by:Timeline | |
Symbol 30 Graphic | Used by:Timeline | |
Symbol 31 Graphic | 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:67 | |
Symbol 67 MovieClip | Uses:66 | 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 Bitmap | Used by:77 | |
Symbol 77 Graphic | Uses:76 | Used by:Timeline |
Symbol 78 Graphic | Used by:Timeline | |
Streaming Sound 1 | Used by:Timeline |
Instance Names
"bar" | Symbol 19 MovieClip {NGLoader} Frame 1 | Symbol 3 MovieClip |
"ngButton" | Symbol 19 MovieClip {NGLoader} Frame 1 | Symbol 9 Button |
"playButton" | Symbol 19 MovieClip {NGLoader} Frame 2 | Symbol 18 Button |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata present, AS3. |
SWFMetaData (77) | Timeline Frame 1 | 1284 bytes "<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmln ..." |
Labels
"loaded" | Symbol 19 MovieClip {NGLoader} Frame 2 |
|