home *** CD-ROM | disk | FTP | other *** search
- package Code
- {
- import Code.LIB.MOCHIADS._rg35;
- import Code.LIB.MOCHIADS._uw234;
- import Code.LIB._bm350;
- import Code.LIB._pd424;
- import Code.LIB._vw271;
- import flash.display.DisplayObject;
- import flash.display.MovieClip;
- import flash.display.StageAlign;
- import flash.display.StageScaleMode;
- import flash.events.Event;
- import flash.events.MouseEvent;
- import flash.utils.getDefinitionByName;
-
- public dynamic class _vv131 extends MovieClip
- {
-
-
- private var iTimer:int;
-
- private var iInited:Boolean = false;
-
- private var iSp:_pd424;
-
- private var iMochiMovic:MovieClip;
-
- public function _vv131()
- {
- iInited = false;
- super();
- stop();
- addEventListener(Event.ENTER_FRAME,onEnterFrame);
- }
-
- public function _hr252(param1:MouseEvent) : void
- {
- }
-
- private function init() : void
- {
- var _loc1_:Class = null;
- var _loc2_:Object = null;
- this.x = 0;
- this.y = 0;
- removeEventListener(Event.ENTER_FRAME,onEnterFrame);
- removeEventListener(MouseEvent.MOUSE_MOVE,_hr252);
- removeEventListener(MouseEvent.CLICK,_lf305);
- _bm350.prStage.removeEventListener(Event.RESIZE,onResize);
- nextFrame();
- _loc1_ = Class(getDefinitionByName("_em360"));
- if(_loc1_)
- {
- while(this.numChildren != 0)
- {
- this.removeChildAt(0);
- }
- _loc2_ = new _loc1_();
- addChild(DisplayObject(_loc2_));
- }
- }
-
- public function onResize(param1:Event) : void
- {
- if(!iInited)
- {
- return;
- }
- _bm350._ij151();
- this.x = (_bm350.prStage.stageWidth - 800 * _bm350._tc204) / 2;
- this.y = (_bm350.prStage.stageHeight - 600 * _bm350._tc204) / 2;
- _bm350._aq429(this.x,this.y);
- }
-
- private function _nk262() : void
- {
- var percent:Number = NaN;
- _bm350._dt66 = this.loaderInfo.url;
- _bm350.prStage = root.stage;
- _bm350.prStage.scaleMode = StageScaleMode.NO_SCALE;
- _bm350.prStage.align = StageAlign.TOP_LEFT;
- _bm350.prStage.showDefaultContextMenu = false;
- _bm350._ij151();
- iTimer = 0;
- percent = root.loaderInfo.bytesLoaded / root.loaderInfo.bytesTotal;
- _bm350.prStage.addEventListener(Event.RESIZE,onResize);
- addEventListener(MouseEvent.CLICK,_lf305);
- addEventListener(MouseEvent.MOUSE_MOVE,_hr252);
- this.onResize(new Event("onresize"));
- _rg35.connect("64a34daf2463328c",this);
- _vw271.track(this,"2a672381");
- iMochiMovic = new MovieClip();
- addChild(iMochiMovic);
- _uw234._tm254({
- "_nw236":iMochiMovic,
- "id":"64a34daf2463328c",
- "res":int(800 * _bm350._tc204) + "x" + int(600 * _bm350._tc204),
- "ad_finished":function():void
- {
- init();
- }
- });
- }
-
- public function onEnterFrame(param1:Event) : void
- {
- var _loc2_:Number = NaN;
- if(!iInited && (stage || root))
- {
- iInited = true;
- _nk262();
- }
- else
- {
- ++iTimer;
- if(false && framesLoaded >= totalFrames && iTimer > 150)
- {
- removeEventListener(Event.ENTER_FRAME,onEnterFrame);
- removeEventListener(MouseEvent.MOUSE_MOVE,_hr252);
- removeEventListener(MouseEvent.CLICK,_lf305);
- nextFrame();
- init();
- _bm350.prStage.removeEventListener(Event.RESIZE,onResize);
- nextFrame();
- this.x = 0;
- this.y = 0;
- }
- else
- {
- _loc2_ = root.loaderInfo.bytesLoaded / root.loaderInfo.bytesTotal;
- }
- }
- }
-
- public function _lf305(param1:MouseEvent) : void
- {
- }
- }
- }
-