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 #106266 |
The best stories are told unusual ways. - Oliver Stones |
- the Rapping Toilet - |
ep.1 |
ActionScript [AS3]
Section 1//Timeline_1 (Rappingtoiletep1_fla.Timeline_1) package Rappingtoiletep1_fla { import flash.events.*; import flash.display.*; import flash.system.*; import flash.net.*; public dynamic class Timeline_1 extends MovieClip { public const FRAME_RATE_ADJUST:Boolean = true; public const LOADER_FRAME_RATE:Number = 30; public const AUTO_PLAY:Boolean = false; public var bar:MovieClip; public var ngButton:SimpleButton; public var playButton:SimpleButton; public var movieFrameRate:Number; public var loadingComplete:Boolean; public var initialized:Boolean; public function Timeline_1(){ addFrameScript(0, frame1, 1, frame2); } public function init():void{ if (initialized){ return; }; movieFrameRate = 0; if (((FRAME_RATE_ADJUST) && (stage))){ movieFrameRate = stage.frameRate; stage.frameRate = LOADER_FRAME_RATE; }; 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 (((((!(movieFrameRate)) && (FRAME_RATE_ADJUST))) && (stage))){ movieFrameRate = stage.frameRate; stage.frameRate = LOADER_FRAME_RATE; }; 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); }; if (movieFrameRate){ stage.frameRate = movieFrameRate; movieFrameRate = 0; }; }; initialized = false; } public function startMovie():void{ cleanup(); if (((root) && ((root is MovieClip)))){ MovieClip(root).play(); }; dispatchEvent(new Event(Event.COMPLETE)); } } }//package Rappingtoiletep1_fla
Library Items
Symbol 1 Graphic | Used by:Timeline | |
Symbol 2 Font | Used by:3 | |
Symbol 3 Text | Uses:2 | Used by:Timeline |
Symbol 4 Font | Used by:5 6 | |
Symbol 5 Text | Uses:4 | Used by:Timeline |
Symbol 6 Text | Uses:4 | Used by:Timeline |
Symbol 7 Graphic | Used by:55 | |
Symbol 8 Graphic | Used by:9 44 | |
Symbol 9 MovieClip | Uses:8 | Used by:55 |
Symbol 10 Graphic | Used by:55 | |
Symbol 11 Graphic | Used by:55 | |
Symbol 12 Graphic | Used by:55 | |
Symbol 13 Graphic | Used by:14 | |
Symbol 14 MovieClip | Uses:13 | Used by:15 |
Symbol 15 MovieClip | Uses:14 | Used by:43 |
Symbol 16 Graphic | Used by:43 | |
Symbol 17 Graphic | Used by:18 19 | |
Symbol 18 MovieClip | Uses:17 | Used by:43 |
Symbol 19 MovieClip | Uses:17 | Used by:43 |
Symbol 20 Graphic | Used by:21 | |
Symbol 21 MovieClip | Uses:20 | Used by:41 |
Symbol 22 Graphic | Used by:26 | |
Symbol 23 Graphic | Used by:26 | |
Symbol 24 Graphic | Used by:25 | |
Symbol 25 MovieClip | Uses:24 | Used by:26 29 |
Symbol 26 MovieClip | Uses:22 23 25 | Used by:40 |
Symbol 27 Graphic | Used by:29 | |
Symbol 28 Graphic | Used by:29 | |
Symbol 29 MovieClip | Uses:27 28 25 | Used by:40 |
Symbol 30 Graphic | Used by:33 | |
Symbol 31 Graphic | Used by:33 36 | |
Symbol 32 Graphic | Used by:33 | |
Symbol 33 MovieClip | Uses:30 31 32 | Used by:37 |
Symbol 34 Graphic | Used by:36 | |
Symbol 35 Graphic | Used by:36 | |
Symbol 36 MovieClip | Uses:34 31 35 | Used by:37 |
Symbol 37 MovieClip | Uses:33 36 | Used by:40 |
Symbol 38 Graphic | Used by:39 | |
Symbol 39 MovieClip | Uses:38 | Used by:40 |
Symbol 40 MovieClip | Uses:26 29 37 39 | Used by:41 |
Symbol 41 MovieClip | Uses:21 40 | Used by:43 |
Symbol 42 Graphic | Used by:43 | |
Symbol 43 MovieClip | Uses:15 16 18 19 41 42 | Used by:55 |
Symbol 44 Button | Uses:8 | Used by:55 |
Symbol 45 Graphic | Used by:47 | |
Symbol 46 Graphic | Used by:47 | |
Symbol 47 MovieClip | Uses:45 46 | Used by:55 |
Symbol 48 Graphic | Used by:53 | |
Symbol 49 Graphic | Used by:53 | |
Symbol 50 Graphic | Used by:53 | |
Symbol 51 Graphic | Used by:53 | |
Symbol 52 Graphic | Used by:53 | |
Symbol 53 Button | Uses:48 49 50 51 52 | Used by:55 |
Symbol 54 Graphic | Used by:55 | |
Symbol 55 MovieClip {Rappingtoiletep1_fla.Timeline_1} | Uses:7 9 10 11 12 43 44 47 53 54 | Used by:Timeline |
Symbol 56 Bitmap | Used by:59 60 63 64 | |
Symbol 57 Bitmap | Used by:59 61 | |
Symbol 58 Bitmap | Used by:59 61 | |
Symbol 59 Graphic | Uses:56 57 58 | Used by:Timeline |
Symbol 60 Graphic | Uses:56 | Used by:65 |
Symbol 61 Graphic | Uses:57 58 | Used by:65 |
Symbol 62 Bitmap | Used by:63 64 | |
Symbol 63 Graphic | Uses:56 62 | Used by:65 |
Symbol 64 Graphic | Uses:56 62 | Used by:65 |
Symbol 65 MovieClip | Uses:60 61 63 64 | Used by:Timeline |
Streaming Sound 1 | Used by:Timeline |
Instance Names
"bar" | Symbol 55 MovieClip {Rappingtoiletep1_fla.Timeline_1} Frame 1 | Symbol 9 MovieClip |
"ngButton" | Symbol 55 MovieClip {Rappingtoiletep1_fla.Timeline_1} Frame 1 | Symbol 44 Button |
"playButton" | Symbol 55 MovieClip {Rappingtoiletep1_fla.Timeline_1} Frame 2 | Symbol 53 Button |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS3. |
Labels
"loaded" | Symbol 55 MovieClip {Rappingtoiletep1_fla.Timeline_1} Frame 2 |
|