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

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

Inflation Animation - BOING BOUNCE (flash) by cleverfoxman (InflationFelineCat ExpansionBoobsBreastsBellyButtTummyPlump).swf

This is the info page for
Flash #161540

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


Text
INSTRUCTIONS
DO NOT include these notes in your movie!  Everything you need is in
the first frame of this .FLA file.  Copy the movie clip on the first frame of
this .FLA, then paste it into the first frame of your .FLA.
HOW IT WORKS
The loader will automatically stop your movie/game from playing while
it loads, displaying a progress bar.  Once your Flash is 100% loaded, the
loader will present a [PLAY] button.  Pressing this button simply starts
playing everything after your first frame.  That's it!
CHANGES
Some people prefer their movie to automatically start playing when it's
100% loaded.  To do this, edit the actions in the first frame of the loader
clip by changing var AUTO_PLAY = false; to var AUTO_PLAY = true;
Also, you're completely welcome to edit any of the graphics in this
loader...we love seeing the NG Tank Logo in your games and movies,
though!  :)

ActionScript [AS3]

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 ngButton:SimpleButton; public var bar:MovieClip; 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 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"); }; }; }; } 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)); } 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); }; } } }//package

Library Items

Symbol 1 GraphicUsed by:18
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClipUses:2Used by:18
Symbol 4 GraphicUsed by:18
Symbol 5 GraphicUsed by:8 9
Symbol 6 GraphicUsed by:8 9
Symbol 7 GraphicUsed by:8 9
Symbol 8 MovieClipUses:5 6 7Used by:9
Symbol 9 ButtonUses:8 5 6 7Used by:18
Symbol 10 GraphicUsed by:18
Symbol 11 GraphicUsed by:17
Symbol 12 GraphicUsed by:17
Symbol 13 GraphicUsed by:17
Symbol 14 GraphicUsed by:17
Symbol 15 GraphicUsed by:17
Symbol 16 GraphicUsed by:17
Symbol 17 ButtonUses:11 12 13 14 15 16Used by:18
Symbol 18 MovieClip {NGLoader}Uses:1 3 4 9 10 17Used by:Timeline
Symbol 19 FontUsed by:20
Symbol 20 TextUses:19Used by:Timeline
Symbol 21 VideoUsed by:Timeline
Streaming Sound 1Used by:Timeline

Instance Names

"bar"Symbol 18 MovieClip {NGLoader} Frame 1Symbol 3 MovieClip
"ngButton"Symbol 18 MovieClip {NGLoader} Frame 1Symbol 9 Button
"playButton"Symbol 18 MovieClip {NGLoader} Frame 2Symbol 17 Button

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.

Labels

"loaded"Symbol 18 MovieClip {NGLoader} Frame 2




http://swfchan.com/33/161540/info.shtml
Created: 21/10 -2018 03:11:34 Last modified: 21/10 -2018 03:11:34 Server time: 04/05 -2024 01:48:15