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

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

Obama Dress-up.swf

This is the info page for
Flash #48095

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


Text
BG

dragable

HOPE

OBAMA

BIDEN

HAHAHA

CHANGE

McCAIN

McCAIN

PALIN

ROFL

BBQ

WTF

LOL

Play More Games

ActionScript [AS3]

Section 1
//MainTimeline (dressup_fla.MainTimeline) package dressup_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.net.*; import flash.utils.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.text.*; import flash.ui.*; import flash.xml.*; public dynamic class MainTimeline extends MovieClip { public var slogan1:MovieClip; public var slogan4:MovieClip; public var slogan5:MovieClip; public var slogan8:MovieClip; public var slogan2:MovieClip; public var slogan3:MovieClip; public var slogan7:MovieClip; public var slogan9:MovieClip; public var pfa2:MovieClip; public var pfa3:MovieClip; public var pfa4:MovieClip; public var slogan11:MovieClip; public var slogan12:MovieClip; public var slogan10:MovieClip; public var pfa10:SimpleButton; public var pfa11:SimpleButton; public var pfa2_request:URLRequest; public var pfa4_request:URLRequest; public var pfa11_request:URLRequest; public var hat2:MovieClip; public var hat4:MovieClip; public var hat8:MovieClip; public var hat3:MovieClip; public var hat5:MovieClip; public var hat7:MovieClip; public var hat1:MovieClip; public var hat6:MovieClip; public var pfa:SimpleButton; public var logo1b:MovieClip; public var logo1c:MovieClip; public var logo2b:MovieClip; public var logo2c:MovieClip; public var logo3b:MovieClip; public var logo3c:MovieClip; public var pfa_request:URLRequest; public var logo4b:MovieClip; public var logo4c:MovieClip; public var pfa3_request:URLRequest; public var pfa10_request:URLRequest; public var logo1:MovieClip; public var logo2:MovieClip; public var logo3:MovieClip; public var logo4:MovieClip; public function MainTimeline(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 465, frame466, 500, frame501, 501, frame502); } public function mouseDownHandler(_arg1:MouseEvent):void{ var _local2:*; var _local3:MySound1; _local2 = _arg1.target; _local3 = new MySound1(); _local3.play(); _local2.startDrag(); } function frame2(){ stop(); pfa2.addEventListener(MouseEvent.CLICK, pfa2_function); pfa2_request = new URLRequest("http://www.playflasharcade.com/"); } function frame3(){ pfa3.addEventListener(MouseEvent.CLICK, pfa3_function); pfa3_request = new URLRequest("http://www.playflasharcade.com/"); } function frame502(){ pfa10.addEventListener(MouseEvent.CLICK, pfa10_function); pfa10_request = new URLRequest("http://www.playflasharcade.com/"); pfa11.addEventListener(MouseEvent.CLICK, pfa11_function); pfa11_request = new URLRequest("http://www.playflasharcade.com/"); pfa.addEventListener(MouseEvent.CLICK, pfa_function); pfa_request = new URLRequest("http://www.playflasharcade.com/"); logo1.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); logo1.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); logo1b.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); logo1b.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); logo1c.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); logo1c.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); logo2.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); logo2.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); logo2b.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); logo2b.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); logo2c.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); logo2c.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); logo3.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); logo3.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); logo3b.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); logo3b.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); logo3c.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); logo3c.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); logo4.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); logo4.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); logo4b.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); logo4b.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); logo4c.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); logo4c.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); slogan1.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); slogan1.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); slogan2.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); slogan2.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); slogan3.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); slogan3.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); slogan4.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); slogan4.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); slogan5.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); slogan5.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); slogan7.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); slogan7.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); slogan8.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); slogan8.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); slogan9.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); slogan9.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); slogan10.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); slogan10.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); slogan11.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); slogan11.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); slogan12.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); slogan12.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); hat1.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); hat1.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); hat2.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); hat2.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); hat3.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); hat3.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); hat4.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); hat4.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); hat5.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); hat5.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); hat6.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); hat6.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); hat7.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); hat7.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); hat8.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); hat8.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); } function frame1(){ MochiAd.showPreGameAd({clip:root, id:"ebb2b53564df18aa", res:"550x400", background:3486258, color:0xFFFFFF, outline:0xFFFFFF, no_bg:true}); } function frame501(){ stop(); gotoAndStop("game"); } public function pfa_function(_arg1:MouseEvent){ var _local2:MySound6; navigateToURL(pfa_request, "_self"); _local2 = new MySound6(); _local2.play(); } public function pfa2_function(_arg1:MouseEvent){ navigateToURL(pfa2_request, "_blank"); } public function pfa4_function(_arg1:MouseEvent){ navigateToURL(pfa4_request, "_self"); } public function mouseUpHandler(_arg1:MouseEvent):void{ var _local2:*; _local2 = _arg1.target; _local2.stopDrag(); } public function pfa11_function(_arg1:MouseEvent){ var _local2:MySound6; navigateToURL(pfa11_request, "_self"); _local2 = new MySound6(); _local2.play(); } function frame466(){ SoundMixer.stopAll(); pfa4.addEventListener(MouseEvent.CLICK, pfa4_function); pfa4_request = new URLRequest("http://www.playflasharcade.com/"); } public function pfa3_function(_arg1:MouseEvent){ navigateToURL(pfa3_request, "_self"); } public function pfa10_function(_arg1:MouseEvent){ var _local2:MySound6; navigateToURL(pfa10_request, "_self"); _local2 = new MySound6(); _local2.play(); } } }//package dressup_fla
Section 2
//presents_5 (dressup_fla.presents_5) package dressup_fla { import flash.display.*; public dynamic class presents_5 extends MovieClip { public function presents_5(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package dressup_fla
Section 3
//total_1 (dressup_fla.total_1) package dressup_fla { import flash.display.*; public dynamic class total_1 extends MovieClip { public function total_1(){ addFrameScript(197, frame198); } function frame198(){ stop(); MovieClip(root).gotoAndPlay(3); } } }//package dressup_fla
Section 4
//MochiAd (MochiAd) package { import flash.display.*; import flash.events.*; import flash.net.*; import flash.utils.*; import flash.system.*; public class MochiAd { public static function getVersion():String{ return ("2.7"); } public static function showClickAwayAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_timeout:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var sendHostProgress:Boolean; var options = _arg1; DEFAULTS = {ad_timeout:2000, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function ():void{ }, ad_finished:function ():void{ }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; ad_timeout = options.ad_timeout; delete options.ad_timeout; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; sendHostProgress = false; mc.regContLC = function (_arg1:String):void{ mc._containerLCName = _arg1; }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Number; var _local3:Boolean; var _local4:Number; if (!this.parent){ delete this.onEnterFrame; return; }; _local1 = this.parent._mochiad_ctr; _local2 = (getTimer() - this.started); _local3 = false; if (!chk.showing){ _local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local4 > 0){ chk.showing = true; _local3 = true; chk.started = getTimer(); } else { if (_local2 > chk.ad_timeout){ options.ad_failed(); _local3 = true; }; }; }; if (this.root == null){ _local3 = true; }; if (_local3){ delete this.onEnterFrame; }; }; doOnEnterFrame(chk); } public static function _isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function _allowDomains(_arg1:String):String{ var _local2:String; _local2 = _arg1.split("/")[2].split(":")[0]; Security.allowDomain("*"); Security.allowDomain(_local2); Security.allowInsecureDomain("*"); Security.allowInsecureDomain(_local2); return (_local2); } public static function unload(_arg1:Object):Boolean{ if (((_arg1.clip) && (_arg1.clip._mochiad))){ _arg1 = _arg1.clip; }; if (_arg1.origFrameRate != undefined){ _arg1.stage.frameRate = _arg1.origFrameRate; }; if (!_arg1._mochiad){ return (false); }; if (_arg1._mochiad._containerLCName != undefined){ _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "notify", {id:"unload"}); }; if (_arg1._mochiad.onUnload){ _arg1._mochiad.onUnload(); }; delete _arg1._mochiad_loaded; delete _arg1._mochiad; return (true); } public static function showInterLevelAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_msec:Number; var ad_timeout:Number; var fadeout_time:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var options = _arg1; DEFAULTS = {ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; _local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object; _local2 = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = (_arg1 - 250); }; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Number; var _local3:Boolean; var _local4:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; _local1 = this.parent._mochiad_ctr; _local2 = (getTimer() - this.started); _local3 = false; if (!chk.showing){ _local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local4 > 0){ chk.showing = true; chk.started = getTimer(); MochiAd.adShowing(clip); } else { if (_local2 > chk.ad_timeout){ options.ad_failed(); _local3 = true; }; }; }; if (_local2 > chk.ad_msec){ _local3 = true; }; if (_local3){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function _parseOptions(_arg1:Object, _arg2:Object):Object{ var _local3:Object; var _local4:String; var _local5:Array; var _local6:Number; var _local7:Array; _local3 = {}; for (_local4 in _arg2) { _local3[_local4] = _arg2[_local4]; }; if (_arg1){ for (_local4 in _arg1) { _local3[_local4] = _arg1[_local4]; }; }; if (_local3.clip == undefined){ throw (new Error("MochiAd is missing the 'clip' parameter. This should be a MovieClip, Sprite or an instance of a class that extends MovieClip or Sprite.")); }; _arg1 = _local3.clip.loaderInfo.parameters.mochiad_options; if (_arg1){ _local5 = _arg1.split("&"); _local6 = 0; while (_local6 < _local5.length) { _local7 = _local5[_local6].split("="); _local3[unescape(_local7[0])] = unescape(_local7[1]); _local6++; }; }; if (_local3.id == "test"){ trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!"); }; return (_local3); } public static function _cleanup(_arg1:Object):void{ var idx:Number; var k:String; var lc:LocalConnection; var f:Function; var mc = _arg1; if (("lc" in mc)){ lc = mc.lc; f = function ():void{ try { lc.client = null; lc.close(); } catch(e:Error) { }; }; setTimeout(f, 0); }; idx = DisplayObjectContainer(mc).numChildren; while (idx > 0) { idx = (idx - 1); DisplayObjectContainer(mc).removeChildAt(idx); }; for (k in mc) { delete mc[k]; }; } public static function load(_arg1:Object):MovieClip{ var DEFAULTS:Object; var clip:Object; var depth:Number; var mc:MovieClip; var wh:Array; var lv:URLVariables; var k:String; var server:String; var hostname:String; var lc:LocalConnection; var name:String; var loader:Loader; var g:Function; var req:URLRequest; var v:Object; var options = _arg1; DEFAULTS = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, DEFAULTS); options.swfv = 9; options.mav = MochiAd.getVersion(); clip = options.clip; if (!MochiAd._isNetworkAvailable()){ return (null); }; try { if (clip._mochiad_loaded){ return (null); }; } catch(e:Error) { throw (new Error("MochiAd requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); }; depth = options.depth; delete options.depth; mc = createEmptyMovieClip(clip, "_mochiad", depth); wh = MochiAd._getRes(options, clip); options.res = ((wh[0] + "x") + wh[1]); options.server = (options.server + options.id); delete options.id; clip._mochiad_loaded = true; if (clip.loaderInfo.loaderURL.indexOf("http") == 0){ options.as3_swf = clip.loaderInfo.loaderURL; }; lv = new URLVariables(); for (k in options) { v = options[k]; if (!(v is Function)){ lv[k] = v; }; }; server = lv.server; delete lv.server; hostname = _allowDomains(server); lc = new LocalConnection(); lc.client = mc; name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_"); lc.allowDomain("*", "localhost"); lc.allowInsecureDomain("*", "localhost"); lc.connect(name); mc.lc = lc; mc.lcName = name; lv.lc = name; lv.st = getTimer(); loader = new Loader(); g = function (_arg1:Object):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); MochiAd.unload(clip); }; loader.contentLoaderInfo.addEventListener(Event.UNLOAD, g); req = new URLRequest(((server + ".swf?cacheBust=") + new Date().getTime())); req.contentType = "application/x-www-form-urlencoded"; req.method = URLRequestMethod.POST; req.data = lv; loader.load(req); mc.addChild(loader); mc._mochiad_ctr = loader; return (mc); } public static function runMethod(_arg1:Object, _arg2:String, _arg3:Array):Object{ var _local4:Array; var _local5:Number; _local4 = _arg2.split("."); _local5 = 0; while (_local5 < (_local4.length - 1)) { if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){ return (undefined); }; _arg1 = _arg1[_local4[_local5]]; _local5++; }; if (typeof(_arg1[_local4[_local5]]) == "function"){ return (_arg1[_local4[_local5]].apply(_arg1, _arg3)); }; return (undefined); } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number):MovieClip{ var _local4:MovieClip; _local4 = new MovieClip(); if (((false) && (_arg3))){ _arg1.addChildAt(_local4, _arg3); } else { _arg1.addChild(_local4); }; _arg1[_arg2] = _local4; _local4["_name"] = _arg2; return (_local4); } public static function _getRes(_arg1:Object, _arg2:Object):Array{ var _local3:Object; var _local4:Number; var _local5:Number; var _local6:Array; _local3 = _arg2.getBounds(_arg2.root); _local4 = 0; _local5 = 0; if (typeof(_arg1.res) != "undefined"){ _local6 = _arg1.res.split("x"); _local4 = parseFloat(_local6[0]); _local5 = parseFloat(_local6[1]); } else { _local4 = (_local3.xMax - _local3.xMin); _local5 = (_local3.yMax - _local3.yMin); }; if ((((_local4 == 0)) || ((_local5 == 0)))){ _local4 = _arg2.stage.stageWidth; _local5 = _arg2.stage.stageHeight; }; return ([_local4, _local5]); } public static function adShowing(_arg1:Object):void{ _arg1.origFrameRate = _arg1.stage.frameRate; _arg1.stage.frameRate = 30; } public static function getValue(_arg1:Object, _arg2:String):Object{ var _local3:Array; var _local4:Number; _local3 = _arg2.split("."); _local4 = 0; while (_local4 < (_local3.length - 1)) { if ((((_arg1[_local3[_local4]] == undefined)) || ((_arg1[_local3[_local4]] == null)))){ return (undefined); }; _arg1 = _arg1[_local3[_local4]]; _local4++; }; return (_arg1[_local3[_local4]]); } public static function rpc(_arg1:Object, _arg2:Number, _arg3:Object):void{ var _local4:Object; var _local5:Object; switch (_arg3.id){ case "setValue": MochiAd.setValue(_arg1, _arg3.objectName, _arg3.value); break; case "getValue": _local4 = MochiAd.getValue(_arg1, _arg3.objectName); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local4); break; case "runMethod": _local5 = MochiAd.runMethod(_arg1, _arg3.method, _arg3.args); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local5); break; default: trace(("[mochiads rpc] unknown rpc id: " + _arg3.id)); }; } public static function setValue(_arg1:Object, _arg2:String, _arg3:Object):void{ var _local4:Array; var _local5:Number; _local4 = _arg2.split("."); _local5 = 0; while (_local5 < (_local4.length - 1)) { if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){ return; }; _arg1 = _arg1[_local4[_local5]]; _local5++; }; _arg1[_local4[_local5]] = _arg3; } public static function showPreGameAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_msec:Number; var ad_timeout:Number; var fadeout_time:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var bar:MovieClip; var bar_color:Number; var bar_background:Number; var bar_outline:Number; var backing_mc:MovieClip; var backing:Object; var inside_mc:MovieClip; var inside:Object; var outline_mc:MovieClip; var outline:Object; var complete:Boolean; var unloaded:Boolean; var f:Function; var sendHostProgress:Boolean; var fn:Function; var r:MovieClip; var options = _arg1; DEFAULTS = {ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }, ad_progress:function (_arg1:Number):void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def"){ options.ad_started(); fn = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); return; }; clip = options.clip; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ var fn:Function; MochiAd._cleanup(mc); fn = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.x = (w * -0.5); chk.y = (h * -0.5); bar = createEmptyMovieClip(chk, "_mochiad_bar", 4); if (options.no_progress_bar){ bar.visible = false; delete options.no_progress_bar; } else { bar.x = 10; bar.y = (h - 20); }; bar_color = options.color; delete options.color; bar_background = options.background; delete options.background; bar_outline = options.outline; delete options.outline; backing_mc = createEmptyMovieClip(bar, "_outline", 1); backing = backing_mc.graphics; backing.beginFill(bar_background); backing.moveTo(0, 0); backing.lineTo((w - 20), 0); backing.lineTo((w - 20), 10); backing.lineTo(0, 10); backing.lineTo(0, 0); backing.endFill(); inside_mc = createEmptyMovieClip(bar, "_inside", 2); inside = inside_mc.graphics; inside.beginFill(bar_color); inside.moveTo(0, 0); inside.lineTo((w - 20), 0); inside.lineTo((w - 20), 10); inside.lineTo(0, 10); inside.lineTo(0, 0); inside.endFill(); inside_mc.scaleX = 0; outline_mc = createEmptyMovieClip(bar, "_outline", 3); outline = outline_mc.graphics; outline.lineStyle(0, bar_outline, 100); outline.moveTo(0, 0); outline.lineTo((w - 20), 0); outline.lineTo((w - 20), 10); outline.lineTo(0, 10); outline.lineTo(0, 0); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number; _local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; complete = false; unloaded = false; f = function (_arg1:Event):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); complete = true; if (unloaded){ MochiAd.unload(clip); }; }; clip.loaderInfo.addEventListener(Event.COMPLETE, f); if ((clip.root is MovieClip)){ r = (clip.root as MovieClip); if (r.framesLoaded >= r.totalFrames){ complete = true; }; }; mc.unloadAd = function ():void{ unloaded = true; if (complete){ MochiAd.unload(clip); }; }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object; _local2 = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = _arg1; }; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; mc.rpcTestFn = function (_arg1:String):Object{ trace(("[MOCHIAD rpcTestFn] " + _arg1)); return (_arg1); }; mc.regContLC = function (_arg1:String):void{ mc._containerLCName = _arg1; }; sendHostProgress = false; mc.sendHostLoadProgress = function (_arg1:String):void{ sendHostProgress = true; }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Object; var _local3:Number; var _local4:Boolean; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Object; var _local10:Number; var _local11:Number; if (((!(this.parent)) || (!(this.parent.parent)))){ delete this["onEnterFrame"]; return; }; _local1 = this.parent.parent.root; _local2 = this.parent._mochiad_ctr; _local3 = (getTimer() - this.started); _local4 = false; _local5 = _local1.loaderInfo.bytesTotal; _local6 = _local1.loaderInfo.bytesLoaded; if (complete){ _local6 = Math.max(1, _local6); _local5 = _local6; }; _local7 = ((100 * _local6) / _local5); _local8 = ((100 * _local3) / chk.ad_msec); _local9 = this._mochiad_bar._inside; _local10 = Math.min(100, Math.min(((_local7) || (0)), _local8)); _local10 = Math.max(this.last_pcnt, _local10); this.last_pcnt = _local10; _local9.scaleX = (_local10 * 0.01); options.ad_progress(_local10); if (sendHostProgress){ clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local7}); if (_local7 == 100){ sendHostProgress = false; }; }; if (!chk.showing){ _local11 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local11 > 0){ chk.showing = true; chk.started = getTimer(); MochiAd.adShowing(clip); } else { if ((((_local3 > chk.ad_timeout)) && ((_local7 == 100)))){ options.ad_failed(); _local4 = true; }; }; }; if (_local3 > chk.ad_msec){ _local4 = true; }; if (((complete) && (_local4))){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function showPreloaderAd(_arg1:Object):void{ trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0"); MochiAd.showPreGameAd(_arg1); } public static function showTimedAd(_arg1:Object):void{ trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0"); MochiAd.showInterLevelAd(_arg1); } public static function doOnEnterFrame(_arg1:MovieClip):void{ var f:Function; var mc = _arg1; f = function (_arg1:Object):void{ if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){ mc.onEnterFrame(); } else { _arg1.target.removeEventListener(_arg1.type, arguments.callee); }; }; mc.addEventListener(Event.ENTER_FRAME, f); } } }//package
Section 5
//MySound1 (MySound1) package { import flash.media.*; public dynamic class MySound1 extends Sound { } }//package
Section 6
//MySound5 (MySound5) package { import flash.media.*; public dynamic class MySound5 extends Sound { } }//package
Section 7
//MySound6 (MySound6) package { import flash.media.*; public dynamic class MySound6 extends Sound { } }//package
Section 8
//skyDAY (skyDAY) package { import flash.display.*; import flash.events.*; public dynamic class skyDAY extends MovieClip { public var Next:SimpleButton; public var Prev2:SimpleButton; public var Prev4:SimpleButton; public var Prev:SimpleButton; public var Prev3:SimpleButton; public var Next2:SimpleButton; public var Next3:SimpleButton; public var Next4:SimpleButton; public function skyDAY(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4); } public function buttonClick15(_arg1:MouseEvent):void{ var _local2:MySound5; _local2 = new MySound5(); _local2.play(); gotoAndStop(1); } function frame3(){ Next3.addEventListener(MouseEvent.CLICK, buttonClick3); Prev3.addEventListener(MouseEvent.CLICK, buttonClick6); } public function buttonClick(_arg1:MouseEvent):void{ var _local2:MySound5; _local2 = new MySound5(); _local2.play(); gotoAndStop(2); } public function buttonClick2(_arg1:MouseEvent):void{ var _local2:MySound5; _local2 = new MySound5(); _local2.play(); gotoAndStop(3); } public function buttonClick3(_arg1:MouseEvent):void{ var _local2:MySound5; _local2 = new MySound5(); _local2.play(); gotoAndStop(4); } public function buttonClick5(_arg1:MouseEvent):void{ var _local2:MySound5; _local2 = new MySound5(); _local2.play(); gotoAndStop(1); } public function buttonClick7(_arg1:MouseEvent):void{ var _local2:MySound5; _local2 = new MySound5(); _local2.play(); gotoAndStop(3); } function frame1(){ stop(); Next.addEventListener(MouseEvent.CLICK, buttonClick); Prev.addEventListener(MouseEvent.CLICK, buttonClick4); } public function buttonClick6(_arg1:MouseEvent):void{ var _local2:MySound5; _local2 = new MySound5(); _local2.play(); gotoAndStop(2); } function frame2(){ Next2.addEventListener(MouseEvent.CLICK, buttonClick2); Prev2.addEventListener(MouseEvent.CLICK, buttonClick5); } function frame4(){ Next4.addEventListener(MouseEvent.CLICK, buttonClick15); Prev4.addEventListener(MouseEvent.CLICK, buttonClick7); } public function buttonClick4(_arg1:MouseEvent):void{ var _local2:MySound5; _local2 = new MySound5(); _local2.play(); gotoAndStop(4); } } }//package

Library Items

Symbol 1 Sound {MySound1}
Symbol 2 Sound {MySound6}
Symbol 3 Sound {MySound5}
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClipUses:4Used by:20
Symbol 6 GraphicUsed by:9
Symbol 7 GraphicUsed by:9
Symbol 8 GraphicUsed by:9
Symbol 9 ButtonUses:6 7 8Used by:20  Timeline
Symbol 10 FontUsed by:11 38 57 59 61 63 65 74 79 81 83 85 87 89 91
Symbol 11 TextUses:10Used by:20
Symbol 12 GraphicUsed by:20
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:13Used by:20
Symbol 15 GraphicUsed by:20
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:16Used by:20
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClipUses:18Used by:20
Symbol 20 MovieClip {skyDAY}Uses:5 9 11 12 14 15 17 19Used by:Timeline
Symbol 21 SoundUsed by:26
Symbol 22 BitmapUsed by:23
Symbol 23 GraphicUses:22Used by:26
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClipUses:24Used by:26  Timeline
Symbol 26 MovieClip {dressup_fla.total_1}Uses:21 23 25Used by:Timeline
Symbol 27 GraphicUsed by:Timeline
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClipUses:28Used by:Timeline
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:30Used by:Timeline
Symbol 32 GraphicUsed by:Timeline
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClip {dressup_fla.presents_5}Uses:33Used by:Timeline
Symbol 35 SoundUsed by:Timeline
Symbol 36 GraphicUsed by:Timeline
Symbol 37 GraphicUsed by:Timeline
Symbol 38 TextUses:10Used by:Timeline
Symbol 39 GraphicUsed by:56
Symbol 40 GraphicUsed by:56
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClipUses:41Used by:56
Symbol 43 GraphicUsed by:56
Symbol 44 GraphicUsed by:56
Symbol 45 GraphicUsed by:56
Symbol 46 GraphicUsed by:56
Symbol 47 GraphicUsed by:56
Symbol 48 GraphicUsed by:56
Symbol 49 GraphicUsed by:56
Symbol 50 GraphicUsed by:56
Symbol 51 GraphicUsed by:56
Symbol 52 GraphicUsed by:56
Symbol 53 GraphicUsed by:56
Symbol 54 GraphicUsed by:56
Symbol 55 GraphicUsed by:56
Symbol 56 MovieClipUses:39 40 42 43 44 45 46 47 48 49 50 51 52 53 54 55Used by:Timeline
Symbol 57 TextUses:10Used by:58
Symbol 58 MovieClipUses:57Used by:Timeline
Symbol 59 TextUses:10Used by:60
Symbol 60 MovieClipUses:59Used by:Timeline
Symbol 61 TextUses:10Used by:62
Symbol 62 MovieClipUses:61Used by:Timeline
Symbol 63 TextUses:10Used by:64
Symbol 64 MovieClipUses:63Used by:Timeline
Symbol 65 TextUses:10Used by:66
Symbol 66 MovieClipUses:65Used by:Timeline
Symbol 67 GraphicUsed by:68
Symbol 68 MovieClipUses:67Used by:Timeline
Symbol 69 GraphicUsed by:70
Symbol 70 MovieClipUses:69Used by:Timeline
Symbol 71 GraphicUsed by:72
Symbol 72 MovieClipUses:71Used by:Timeline
Symbol 73 GraphicUsed by:76
Symbol 74 TextUses:10Used by:76
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClipUses:73 74 75Used by:Timeline
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClipUses:77Used by:Timeline
Symbol 79 TextUses:10Used by:80
Symbol 80 MovieClipUses:79Used by:Timeline
Symbol 81 TextUses:10Used by:82
Symbol 82 MovieClipUses:81Used by:Timeline
Symbol 83 TextUses:10Used by:84
Symbol 84 MovieClipUses:83Used by:Timeline
Symbol 85 TextUses:10Used by:86
Symbol 86 MovieClipUses:85Used by:Timeline
Symbol 87 TextUses:10Used by:88
Symbol 88 MovieClipUses:87Used by:Timeline
Symbol 89 TextUses:10Used by:90
Symbol 90 MovieClipUses:89Used by:Timeline
Symbol 91 TextUses:10Used by:92
Symbol 92 ButtonUses:91Used by:Timeline
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClipUses:93Used by:Timeline
Symbol 95 GraphicUsed by:96
Symbol 96 MovieClipUses:95Used by:Timeline
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClipUses:97Used by:Timeline
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:99Used by:Timeline
Symbol 101 GraphicUsed by:102
Symbol 102 MovieClipUses:101Used by:Timeline
Symbol 103 GraphicUsed by:104
Symbol 104 MovieClipUses:103Used by:Timeline
Symbol 105 GraphicUsed by:106
Symbol 106 MovieClipUses:105Used by:Timeline

Instance Names

"pfa2"Frame 2Symbol 29 MovieClip
"pfa3"Frame 3Symbol 29 MovieClip
"pfa4"Frame 466Symbol 29 MovieClip
"slogan2"Frame 502Symbol 58 MovieClip
"slogan3"Frame 502Symbol 60 MovieClip
"slogan4"Frame 502Symbol 62 MovieClip
"slogan5"Frame 502Symbol 64 MovieClip
"slogan1"Frame 502Symbol 66 MovieClip
"logo2c"Frame 502Symbol 68 MovieClip
"logo3c"Frame 502Symbol 70 MovieClip
"logo1b"Frame 502Symbol 72 MovieClip
"logo2b"Frame 502Symbol 68 MovieClip
"logo2"Frame 502Symbol 68 MovieClip
"logo3b"Frame 502Symbol 70 MovieClip
"logo3"Frame 502Symbol 70 MovieClip
"logo4b"Frame 502Symbol 76 MovieClip
"logo4c"Frame 502Symbol 76 MovieClip
"logo1c"Frame 502Symbol 72 MovieClip
"logo4"Frame 502Symbol 76 MovieClip
"hat4"Frame 502Symbol 78 MovieClip
"slogan7"Frame 502Symbol 80 MovieClip
"slogan8"Frame 502Symbol 82 MovieClip
"slogan9"Frame 502Symbol 84 MovieClip
"slogan10"Frame 502Symbol 86 MovieClip
"slogan11"Frame 502Symbol 88 MovieClip
"slogan12"Frame 502Symbol 90 MovieClip
"pfa"Frame 502Symbol 92 Button
"logo1"Frame 502Symbol 72 MovieClip
"hat8"Frame 502Symbol 94 MovieClip
"hat5"Frame 502Symbol 96 MovieClip
"hat7"Frame 502Symbol 98 MovieClip
"hat6"Frame 502Symbol 100 MovieClip
"hat1"Frame 502Symbol 102 MovieClip
"hat2"Frame 502Symbol 104 MovieClip
"hat3"Frame 502Symbol 106 MovieClip
"pfa10"Frame 502Symbol 9 Button
"pfa11"Frame 502Symbol 9 Button
"Next"Symbol 20 MovieClip {skyDAY} Frame 1Symbol 9 Button
"Prev"Symbol 20 MovieClip {skyDAY} Frame 1Symbol 9 Button
"Next2"Symbol 20 MovieClip {skyDAY} Frame 2Symbol 9 Button
"Prev2"Symbol 20 MovieClip {skyDAY} Frame 2Symbol 9 Button
"Next3"Symbol 20 MovieClip {skyDAY} Frame 3Symbol 9 Button
"Prev3"Symbol 20 MovieClip {skyDAY} Frame 3Symbol 9 Button
"Next4"Symbol 20 MovieClip {skyDAY} Frame 4Symbol 9 Button
"Prev4"Symbol 20 MovieClip {skyDAY} Frame 4Symbol 9 Button

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.
Protect (24)Timeline Frame 10 bytes ""

Labels

"game"Frame 502




http://swfchan.com/10/48095/info.shtml
Created: 30/4 -2019 14:48:07 Last modified: 30/4 -2019 14:48:07 Server time: 03/01 -2025 10:11:43