STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229455
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2574 · P5148

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/86273344?noj=FRM86273344-5DC" width="1" height="1"></div>

Why Leave Short Cartoon.swf

This is the info page for
Flash #57544

(Click the ID number above for more basic data on this flash file.)


ActionScript [AS3]
Section 1
//Timeline_1 (WhyLeave_fla.Timeline_1) package WhyLeave_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 WhyLeave_fla

Library Items

Symbol 1 GraphicUsed by:Timeline
Symbol 2 GraphicUsed by:50
Symbol 3 GraphicUsed by:4 39
Symbol 4 MovieClipUses:3Used by:50
Symbol 5 GraphicUsed by:50
Symbol 6 GraphicUsed by:50
Symbol 7 GraphicUsed by:50
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClipUses:8Used by:10
Symbol 10 MovieClipUses:9Used by:38
Symbol 11 GraphicUsed by:38
Symbol 12 GraphicUsed by:13 14
Symbol 13 MovieClipUses:12Used by:38
Symbol 14 MovieClipUses:12Used by:38
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClipUses:15Used by:36
Symbol 17 GraphicUsed by:21
Symbol 18 GraphicUsed by:21
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClipUses:19Used by:21 24
Symbol 21 MovieClipUses:17 18 20Used by:35
Symbol 22 GraphicUsed by:24
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClipUses:22 23 20Used by:35
Symbol 25 GraphicUsed by:28
Symbol 26 GraphicUsed by:28 31
Symbol 27 GraphicUsed by:28
Symbol 28 MovieClipUses:25 26 27Used by:32
Symbol 29 GraphicUsed by:31
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:29 26 30Used by:32
Symbol 32 MovieClipUses:28 31Used by:35
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:33Used by:35
Symbol 35 MovieClipUses:21 24 32 34Used by:36
Symbol 36 MovieClipUses:16 35Used by:38
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:10 11 13 14 36 37Used by:50
Symbol 39 ButtonUses:3Used by:50
Symbol 40 GraphicUsed by:42
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClipUses:40 41Used by:50
Symbol 43 GraphicUsed by:48
Symbol 44 GraphicUsed by:48
Symbol 45 GraphicUsed by:48
Symbol 46 GraphicUsed by:48
Symbol 47 GraphicUsed by:48
Symbol 48 ButtonUses:43 44 45 46 47Used by:50
Symbol 49 GraphicUsed by:50
Symbol 50 MovieClip {WhyLeave_fla.Timeline_1}Uses:2 4 5 6 7 38 39 42 48 49Used by:Timeline
Symbol 51 VideoUsed by:Timeline
Streaming Sound 1Used by:Timeline

Instance Names

"bar"Symbol 50 MovieClip {WhyLeave_fla.Timeline_1} Frame 1Symbol 4 MovieClip
"ngButton"Symbol 50 MovieClip {WhyLeave_fla.Timeline_1} Frame 1Symbol 39 Button
"playButton"Symbol 50 MovieClip {WhyLeave_fla.Timeline_1} Frame 2Symbol 48 Button

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata present, AS3.
SWFMetaData (77)Timeline Frame 1199 bytes "<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns ..."

Labels

"loaded"Symbol 50 MovieClip {WhyLeave_fla.Timeline_1} Frame 2




http://swfchan.com/12/57544/info.shtml
Created: 18/4 -2019 01:23:21 Last modified: 18/4 -2019 01:23:21 Server time: 05/11 -2024 06:50:02