home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / snack-attack.swf / scripts / DefineSprite_233 / frame_24 / DoAction.as
Encoding:
Text File  |  2005-09-29  |  448 b   |  19 lines

  1. i = "1";
  2. while(i < "5")
  3. {
  4.    if(getProperty("r" add i, _currentframe) == "1")
  5.    {
  6.       set("/:onTray" add eval("r" add i add "/:type"),eval("/:onTray" add eval("r" add i add "/:type")) + "1");
  7.    }
  8.    i += "1";
  9. }
  10. i = "1";
  11. while(i < "3")
  12. {
  13.    if(getProperty("l" add i, _currentframe) == "1")
  14.    {
  15.       set("/:onTray" add eval("l" add i add "/:type"),eval("/:onTray" add eval("l" add i add "/:type")) + "1");
  16.    }
  17.    i += "1";
  18. }
  19.