Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package _fla
- {
- import com.whirled.AvatarControl;
- import com.whirled.DataPack;
- import flash.display.DisplayObject;
- import flash.display.MovieClip;
- import flash.events.Event;
- public dynamic class MainTimeline extends MovieClip
- {
- public var emo:EmotiveAvi;
- public var xOffset:Number;
- public var yOffset:Number;
- public var _ctrl:AvatarControl;
- public var _remixImage:DisplayObject;
- public var remixPart:DisplayObject;
- public var _body:ImpatientBody;
- public var dlsa:DuelingLandSeaAnimal;
- public function MainTimeline()
- {
- super();
- addFrameScript(0,frame1,2,frame3,26,frame27,71,frame72,72,frame73,73,frame74,74,frame75,102,frame103,103,frame104,104,frame105,105,frame106,106,frame107,107,frame108,108,frame109,109,frame110,110,frame111,111,frame112,128,frame129,237,frame238,243,frame244,313,frame314,384,frame385,444,frame445,515,frame516,538,frame539,623,frame624,738,frame739,853,frame854,967,frame968,1048,frame1049,1163,frame1164,1243,frame1244,1323,frame1324,1438,frame1439,1547,frame1548,1553,frame1554,1584,frame1585,1699,frame1700,1814,frame1815,1923,frame1924,1928,frame1929,2007,frame2008,2121,frame2122,2202,frame2203,3063,frame3064,3083,frame3084,3084,frame3085,3085,frame3086,3086,frame3087,3087,frame3088,3088,frame3089,3089,frame3090,3090,frame3091,3091,frame3092,3092,frame3093,3107,frame3108,3108,frame3109,3109,frame3110,3110,frame3111,3111,frame3112,3112,frame3113);
- }
- public function handleUnload(... rest) : void
- {
- _body.shutdown();
- }
- public function gotPack(param1:Object) : void
- {
- if(param1 is DataPack)
- {
- (param1 as DataPack).getDisplayObjects("RemixImage",gotDisplayObject);
- }
- }
- public function gotDisplayObject(param1:Object) : *
- {
- if(param1 is DisplayObject)
- {
- _remixImage = param1 as DisplayObject;
- if(_remixImage.transform.pixelBounds.x == 0)
- {
- _remixImage.x = _remixImage.x - xOffset;
- }
- if(_remixImage.transform.pixelBounds.y == 0)
- {
- _remixImage.y = _remixImage.y - yOffset;
- }
- }
- }
- function frame1() : *
- {
- if(_ctrl == null)
- {
- _ctrl = new AvatarControl(this);
- _ctrl.setHo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement