home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Diversos / emu-mess.swf / scripts / DefineSprite_613 / frame_2 / DoAction.as
Encoding:
Text File  |  2008-08-08  |  351 b   |  15 lines

  1. foundText.foundText.text = myFoundText;
  2. foundText.faceClip.gotoAndStop(myFace);
  3. if(_root.emuToys.length == 5)
  4. {
  5.    foundText.toysLeft.text = "";
  6. }
  7. else if(_root.emuToys.length == 4)
  8. {
  9.    foundText.toysLeft.text = "you still need 1 toy!";
  10. }
  11. else
  12. {
  13.    foundText.toysLeft.text = "you still need " + (5 - _root.emuToys.length) + " toys!";
  14. }
  15.