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

  1. package Code.LOGIC.OBJECTS.GRAPHICS
  2. {
  3.    import Code.LIB._bm350;
  4.    import Code.LIB._iv163;
  5.    import Code.LIB._pd424;
  6.    import Code.LIB._uu24;
  7.    import Code.LOGIC.OBJECTS.ACTORS.RECTS._tr528;
  8.    import Code.OPTIONS._dx111;
  9.    import Code.org.cove.ape._ms106;
  10.    import flash.display.Sprite;
  11.    
  12.    public class _px156 extends _ms106
  13.    {
  14.        
  15.       
  16.       public function _px156(param1:_tr528)
  17.       {
  18.          var _loc2_:_iv163 = null;
  19.          var _loc3_:_iv163 = null;
  20.          var _loc4_:_pd424 = null;
  21.          var _loc5_:int = 0;
  22.          var _loc6_:Sprite = null;
  23.          var _loc7_:Sprite = null;
  24.          var _loc8_:int = 0;
  25.          var _loc9_:_pd424 = null;
  26.          var _loc10_:_iv163 = null;
  27.          var _loc11_:Sprite = null;
  28.          super();
  29.          _loc2_ = _uu24._sa70(new _dx111.GWall() as Sprite);
  30.          _loc3_ = _uu24._sa70(new _dx111.GWallB() as Sprite);
  31.          _loc4_ = new _pd424();
  32.          _loc5_ = 0;
  33.          while(_loc5_ < int(param1.height / 50))
  34.          {
  35.             _loc8_ = 0;
  36.             while(_loc8_ < int(param1.width / 50))
  37.             {
  38.                (_loc9_ = new _pd424())._vt351 = _loc8_ * 50;
  39.                _loc9_._lh238 = _loc5_ * 50;
  40.                if(param1.angle == 0)
  41.                {
  42.                   _loc10_ = _loc5_ == 0 ? _loc3_._dx22() : _loc2_._dx22();
  43.                   _loc9_.addChild(_loc10_);
  44.                }
  45.                else
  46.                {
  47.                   _loc11_ = _loc5_ == 0 ? new _dx111.GWallB() : new _dx111.GWall();
  48.                   _loc11_.scaleX = _loc11_.scaleY = _bm350._tc204;
  49.                   _loc9_.addChild(_loc11_);
  50.                }
  51.                _loc4_.addChild(_loc9_);
  52.                _loc8_++;
  53.             }
  54.             _loc5_++;
  55.          }
  56.          (_loc6_ = new Sprite()).graphics.beginFill(12344832);
  57.          _loc6_.graphics.drawRect(0,0,param1.width * _bm350._tc204,param1.height * _bm350._tc204);
  58.          _loc6_.graphics.endFill();
  59.          _loc4_.addChildAt(_loc6_,0);
  60.          _loc4_._vt351 = -param1.width / 2;
  61.          _loc4_._lh238 = -param1.height / 2;
  62.          (_loc7_ = new Sprite()).addChild(_loc4_);
  63.          _loc7_.rotation = param1.angle;
  64.          addChild(_uu24._ec508(_loc7_));
  65.       }
  66.       
  67.       override public function set rotation(param1:Number) : void
  68.       {
  69.       }
  70.    }
  71. }
  72.