home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / arcade_animal.swf / scripts / DefineSprite_151 / frame_2 / DoAction.as
Encoding:
Text File  |  2007-03-20  |  421 b   |  21 lines

  1. if("0" < getProperty("/p", _Y))
  2. {
  3.    setProperty("/spin1", _rotation, "0");
  4.    setProperty("/p", _Y, "50");
  5.    setProperty("/blast2", _X, getProperty("/spin1", _X));
  6.    setProperty("/blast2", _Y, getProperty("/spin1", _Y));
  7.    setProperty("/blast2", _visible, "1");
  8.    tellTarget("/spin1")
  9.    {
  10.       gotoAndPlay(2);
  11.    }
  12.    tellTarget("/blast2")
  13.    {
  14.       gotoAndPlay(2);
  15.    }
  16. }
  17. else
  18. {
  19.    stop();
  20. }
  21.