home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / goobers.swf / scripts / DefineSprite_2_block / frame_1 / DoAction.as
Encoding:
Text File  |  2007-03-28  |  282 b   |  14 lines

  1. this._alpha = 0;
  2. if(block_loaded)
  3. {
  4.    this._y -= this._y / 20;
  5.    this._alpha = 100 - Math.abs(this._y) / 5;
  6.    if(block_num + 1 == _parent.num_blocks)
  7.    {
  8.       if(Math.round(this._y) == 0)
  9.       {
  10.          _root.gotoAndPlay(_root._currentframe + 1);
  11.       }
  12.    }
  13. }
  14.