Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package _fla
  2. {
  3.    import com.whirled.AvatarControl;
  4.    import com.whirled.DataPack;
  5.    import flash.display.DisplayObject;
  6.    import flash.display.MovieClip;
  7.    import flash.events.Event;
  8.    
  9.    public dynamic class MainTimeline extends MovieClip
  10.    {
  11.        
  12.      
  13.       public var emo:EmotiveAvi;
  14.      
  15.       public var xOffset:Number;
  16.      
  17.       public var yOffset:Number;
  18.      
  19.       public var _ctrl:AvatarControl;
  20.      
  21.       public var _remixImage:DisplayObject;
  22.      
  23.       public var remixPart:DisplayObject;
  24.      
  25.       public var _body:ImpatientBody;
  26.      
  27.       public var dlsa:DuelingLandSeaAnimal;
  28.      
  29.       public function MainTimeline()
  30.       {
  31.          super();
  32.          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);
  33.       }
  34.      
  35.       public function handleUnload(... rest) : void
  36.       {
  37.          _body.shutdown();
  38.       }
  39.      
  40.       public function gotPack(param1:Object) : void
  41.       {
  42.          if(param1 is DataPack)
  43.          {
  44.             (param1 as DataPack).getDisplayObjects("RemixImage",gotDisplayObject);
  45.          }
  46.       }
  47.      
  48.       public function gotDisplayObject(param1:Object) : *
  49.       {
  50.          if(param1 is DisplayObject)
  51.          {
  52.             _remixImage = param1 as DisplayObject;
  53.             if(_remixImage.transform.pixelBounds.x == 0)
  54.             {
  55.                _remixImage.x = _remixImage.x - xOffset;
  56.             }
  57.             if(_remixImage.transform.pixelBounds.y == 0)
  58.             {
  59.                _remixImage.y = _remixImage.y - yOffset;
  60.             }
  61.          }
  62.       }
  63.      
  64.       function frame1() : *
  65.       {
  66.          if(_ctrl == null)
  67.          {
  68.             _ctrl = new AvatarControl(this);
  69.             _ctrl.setHo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement