home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / Frizzle_fraz.swf / scripts / Code / LOGIC / OBJECTS / ACTORS / RECTS / _st436.as < prev    next >
Encoding:
Text File  |  2008-09-26  |  2.3 KB  |  88 lines

  1. package Code.LOGIC.OBJECTS.ACTORS.RECTS
  2. {
  3.    import Code.LIB._iv163;
  4.    import Code.LIB._uu24;
  5.    import Code.LOGIC.OBJECTS.ACTORS.INTERFACES._mk516;
  6.    import Code.OPTIONS._dx111;
  7.    import Code.org.cove.ape._ms106;
  8.    import flash.display.Sprite;
  9.    
  10.    public class _st436 extends _gg531 implements _mk516
  11.    {
  12.        
  13.       
  14.       private var activePicture:_iv163;
  15.       
  16.       private var unactivePicture:_iv163;
  17.       
  18.       private var initalCollidable:Boolean;
  19.       
  20.       private var gJumper:_ms106;
  21.       
  22.       public function _st436(param1:Object)
  23.       {
  24.          gJumper = new _ms106();
  25.          activePicture = _uu24._sa70(new _dx111.GJumper() as Sprite);
  26.          unactivePicture = _uu24._sa70(new _dx111.GJumperUnactive() as Sprite);
  27.          param1.width = 40;
  28.          param1.height = 18;
  29.          super(param1);
  30.          initalCollidable = param1._ts56;
  31.          _ts56 = initalCollidable;
  32.          _mb474(gJumper);
  33.       }
  34.       
  35.       public static function _lu255() : Object
  36.       {
  37.          var _loc1_:Object = null;
  38.          return {
  39.             "toolClass":_st436,
  40.             "name":"jumper",
  41.             "params":{
  42.                "_tp253":0,
  43.                "x":0,
  44.                "y":0,
  45.                "_ts56":true
  46.             }
  47.          };
  48.       }
  49.       
  50.       override public function set _ts56(param1:Boolean) : void
  51.       {
  52.          super._ts56 = param1;
  53.          gJumper._xe147();
  54.          if(param1)
  55.          {
  56.             gJumper.addChild(activePicture);
  57.          }
  58.          else
  59.          {
  60.             gJumper.addChild(unactivePicture);
  61.          }
  62.       }
  63.       
  64.       public function _eu538() : Object
  65.       {
  66.          var _loc1_:Object = null;
  67.          _loc1_ = new Object();
  68.          _loc1_.prClass = "TJumper";
  69.          _loc1_.x = _ej28 - width / 2;
  70.          _loc1_.y = _th99 - height / 2;
  71.          _loc1_._tp253 = _tp253;
  72.          _loc1_._ts56 = _ts56;
  73.          return _loc1_;
  74.       }
  75.       
  76.       public function _ur45() : Object
  77.       {
  78.          var _loc1_:Object = null;
  79.          _loc1_ = _lu255();
  80.          _loc1_.params.x = _ej28 - width / 2;
  81.          _loc1_.params.y = _th99 - height / 2;
  82.          _loc1_.params._tp253 = _tp253;
  83.          _loc1_.params._ts56 = initalCollidable;
  84.          return _loc1_;
  85.       }
  86.    }
  87. }
  88.