home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / pepsi_pinball.swf / scripts / DefineSprite_175 / frame_1 / DoAction.as
Encoding:
Text File  |  2006-05-18  |  290 b   |  20 lines

  1. function animateLight()
  2. {
  3.    gotoAndPlay(10);
  4. }
  5. function setLightOff()
  6. {
  7.    gotoAndStop(5);
  8. }
  9. function reset()
  10. {
  11.    trace("reset all targets");
  12.    _root.saloon_mc.setDoorClose();
  13.    for(i in _root.target)
  14.    {
  15.       _root.target[i].setOn();
  16.    }
  17. }
  18. stop();
  19. setLightOff();
  20.