home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / arcade_animal.swf / scripts / DefineSprite_207 / frame_1 / DoAction.as
Encoding:
Text File  |  2007-03-20  |  227 b   |  17 lines

  1. if("0" < eval("/:score"))
  2. {
  3.    setProperty("/light", _visible, "1");
  4.    tellTarget("/l1")
  5.    {
  6.       play();
  7.    }
  8. }
  9. else
  10. {
  11.    tellTarget("/l1")
  12.    {
  13.       stop();
  14.    }
  15.    setProperty("/light", _visible, "0");
  16. }
  17.