STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
This is the info page for Flash #135396 |
Lesson 1 Complete |
NEWGROUNDS WEBPAGE |
ActionScript [AS3]
Section 1//MainTimeline (clap_fla.MainTimeline) package clap_fla { import flash.events.*; import flash.display.*; public dynamic class MainTimeline extends MovieClip { public var replay:SimpleButton; public function MainTimeline(){ addFrameScript(3187, frame3188); } public function onReplay(_arg1:MouseEvent):void{ gotoAndPlay(1); } function frame3188(){ stop(); replay.addEventListener(MouseEvent.CLICK, onReplay); } } }//package clap_flaSection 2//Timeline_2 (clap_fla.Timeline_2) package clap_fla { import flash.events.*; import flash.display.*; import flash.system.*; import flash.net.*; public dynamic class Timeline_2 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 loadingComplete:Boolean; public var movieFrameRate:Number; public var initialized:Boolean; public function Timeline_2(){ addFrameScript(0, frame1, 71, frame72); } function frame72(){ startMovie(); stop(); } 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.scaleY = _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); } function frame1(){ initialized = false; init(); } 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 clap_fla
Library Items
Symbol 1 Bitmap | Used by:2 | |
Symbol 2 Graphic | Uses:1 | Used by:3 |
Symbol 3 MovieClip | Uses:2 | Used by:Timeline |
Symbol 4 Graphic | Used by:5 | |
Symbol 5 MovieClip | Uses:4 | Used by:20 |
Symbol 6 Graphic | Used by:20 | |
Symbol 7 Graphic | Used by:8 | |
Symbol 8 MovieClip | Uses:7 | Used by:20 |
Symbol 9 Graphic | Used by:10 | |
Symbol 10 Button | Uses:9 | Used by:20 |
Symbol 11 Graphic | Used by:12 | |
Symbol 12 MovieClip | Uses:11 | Used by:13 |
Symbol 13 MovieClip | Uses:12 | Used by:20 |
Symbol 14 Bitmap | Used by:15 | |
Symbol 15 Graphic | Uses:14 | Used by:16 |
Symbol 16 MovieClip | Uses:15 | Used by:20 |
Symbol 17 Graphic | Used by:18 | |
Symbol 18 MovieClip | Uses:17 | Used by:20 |
Symbol 19 Sound | Used by:20 | |
Symbol 20 MovieClip {clap_fla.Timeline_2} | Uses:5 6 8 10 13 16 18 19 SS2 | Used by:Timeline |
Symbol 21 Graphic | Used by:Timeline | |
Symbol 22 Graphic | Used by:23 | |
Symbol 23 MovieClip | Uses:22 | Used by:Timeline |
Symbol 24 Graphic | Used by:25 | |
Symbol 25 MovieClip | Uses:24 | Used by:Timeline |
Symbol 26 Graphic | Used by:Timeline | |
Symbol 27 Graphic | Used by:28 | |
Symbol 28 MovieClip | Uses:27 | Used by:Timeline |
Symbol 29 Graphic | Used by:30 | |
Symbol 30 MovieClip | Uses:29 | Used by:Timeline |
Symbol 31 Graphic | Used by:32 | |
Symbol 32 MovieClip | Uses:31 | Used by:Timeline |
Symbol 33 Graphic | Used by:34 | |
Symbol 34 MovieClip | Uses:33 | Used by:Timeline |
Symbol 35 Graphic | Used by:Timeline | |
Symbol 36 Graphic | Used by:Timeline | |
Symbol 37 Graphic | Used by:38 | |
Symbol 38 MovieClip | Uses:37 | Used by:Timeline |
Symbol 39 Graphic | Used by:Timeline | |
Symbol 40 Graphic | Used by:41 | |
Symbol 41 MovieClip | Uses:40 | Used by:Timeline |
Symbol 42 Graphic | Used by:Timeline | |
Symbol 43 Graphic | Used by:44 | |
Symbol 44 MovieClip | Uses:43 | Used by:Timeline |
Symbol 45 Graphic | Used by:Timeline | |
Symbol 46 Graphic | Used by:47 | |
Symbol 47 MovieClip | Uses:46 | Used by:Timeline |
Symbol 48 Graphic | Used by:Timeline | |
Symbol 49 Graphic | Used by:50 | |
Symbol 50 MovieClip | Uses:49 | Used by:Timeline |
Symbol 51 Graphic | Used by:52 | |
Symbol 52 MovieClip | Uses:51 | Used by:Timeline |
Symbol 53 Graphic | Used by:Timeline | |
Symbol 54 Graphic | Used by:55 | |
Symbol 55 MovieClip | Uses:54 | Used by:Timeline |
Symbol 56 Graphic | Used by:Timeline | |
Symbol 57 Graphic | Used by:58 | |
Symbol 58 MovieClip | Uses:57 | Used by:Timeline |
Symbol 59 Graphic | Used by:Timeline | |
Symbol 60 Graphic | Used by:61 | |
Symbol 61 MovieClip | Uses:60 | Used by:Timeline |
Symbol 62 Graphic | Used by:63 | |
Symbol 63 MovieClip | Uses:62 | Used by:Timeline |
Symbol 64 Graphic | Used by:Timeline | |
Symbol 65 Graphic | Used by:66 | |
Symbol 66 MovieClip | Uses:65 | Used by:Timeline |
Symbol 67 Graphic | Used by:Timeline | |
Symbol 68 Graphic | Used by:69 | |
Symbol 69 MovieClip | Uses:68 | Used by:Timeline |
Symbol 70 Graphic | Used by:Timeline | |
Symbol 71 Graphic | Used by:72 | |
Symbol 72 MovieClip | Uses:71 | Used by:Timeline |
Symbol 73 Graphic | Used by:74 | |
Symbol 74 MovieClip | Uses:73 | Used by:Timeline |
Symbol 75 Graphic | Used by:Timeline | |
Symbol 76 Graphic | Used by:77 | |
Symbol 77 MovieClip | Uses:76 | Used by:Timeline |
Symbol 78 Graphic | Used by:Timeline | |
Symbol 79 Graphic | Used by:80 | |
Symbol 80 MovieClip | Uses:79 | Used by:Timeline |
Symbol 81 Graphic | Used by:Timeline | |
Symbol 82 Graphic | Used by:83 | |
Symbol 83 MovieClip | Uses:82 | Used by:Timeline |
Symbol 84 Graphic | Used by:85 | |
Symbol 85 MovieClip | Uses:84 | Used by:Timeline |
Symbol 86 Graphic | Used by:Timeline | |
Symbol 87 Graphic | Used by:Timeline | |
Symbol 88 Graphic | Used by:89 | |
Symbol 89 MovieClip | Uses:88 | Used by:Timeline |
Symbol 90 Graphic | Used by:Timeline | |
Symbol 91 Graphic | Used by:92 | |
Symbol 92 MovieClip | Uses:91 | Used by:Timeline |
Symbol 93 Graphic | Used by:Timeline | |
Symbol 94 Graphic | Used by:95 | |
Symbol 95 MovieClip | Uses:94 | Used by:Timeline |
Symbol 96 Graphic | Used by:Timeline | |
Symbol 97 Graphic | Used by:Timeline | |
Symbol 98 Graphic | Used by:Timeline | |
Symbol 99 Graphic | Used by:Timeline | |
Symbol 100 Graphic | Used by:Timeline | |
Symbol 101 Graphic | Used by:Timeline | |
Symbol 102 Graphic | Used by:Timeline | |
Symbol 103 Graphic | Used by:104 | |
Symbol 104 MovieClip | Uses:103 | Used by:Timeline |
Symbol 105 Graphic | Used by:Timeline | |
Symbol 106 Graphic | Used by:107 | |
Symbol 107 MovieClip | Uses:106 | Used by:Timeline |
Symbol 108 Graphic | Used by:Timeline | |
Symbol 109 Graphic | Used by:110 | |
Symbol 110 MovieClip | Uses:109 | Used by:Timeline |
Symbol 111 Graphic | Used by:Timeline | |
Symbol 112 Graphic | Used by:113 | |
Symbol 113 MovieClip | Uses:112 | Used by:Timeline |
Symbol 114 Graphic | Used by:Timeline | |
Symbol 115 Graphic | Used by:Timeline | |
Symbol 116 Graphic | Used by:Timeline | |
Symbol 117 Graphic | Used by:Timeline | |
Symbol 118 Graphic | Used by:Timeline | |
Symbol 119 Font | Used by:120 | |
Symbol 120 Text | Uses:119 | Used by:Timeline |
Symbol 121 Graphic | Used by:Timeline | |
Symbol 122 Graphic | Used by:Timeline | |
Symbol 123 Font | Used by:124 | |
Symbol 124 Text | Uses:123 | Used by:Timeline |
Symbol 125 Bitmap | Used by:126 | |
Symbol 126 Graphic | Uses:125 | Used by:127 |
Symbol 127 MovieClip | Uses:126 | Used by:Timeline |
Symbol 128 Graphic | Used by:131 | |
Symbol 129 Graphic | Used by:131 | |
Symbol 130 Graphic | Used by:131 | |
Symbol 131 Button | Uses:128 129 130 | Used by:Timeline |
Streaming Sound 1 | Used by:Timeline | |
Streaming Sound 2 | Used by:Symbol 20 MovieClip {clap_fla.Timeline_2} |
Instance Names
"replay" | Frame 3188 | Symbol 131 Button |
"bar" | Symbol 20 MovieClip {clap_fla.Timeline_2} Frame 1 | Symbol 8 MovieClip |
"ngButton" | Symbol 20 MovieClip {clap_fla.Timeline_2} Frame 1 | Symbol 10 Button |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS3. |
Labels
"loaded" | Symbol 20 MovieClip {clap_fla.Timeline_2} Frame 2 |
|