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

  1. function rollOver()
  2. {
  3.    if(!enter)
  4.    {
  5.       gotoAndStop(5);
  6.    }
  7. }
  8. function rollOut()
  9. {
  10.    if(!enter)
  11.    {
  12.       gotoAndStop(1);
  13.    }
  14. }
  15. function release()
  16. {
  17.    if(!enter)
  18.    {
  19.       enter = true;
  20.       gotoAndPlay(10);
  21.    }
  22. }
  23. stop();
  24. this.onRollOver = rollOver;
  25. this.onRollOut = rollOut;
  26. this.onDragOut = rollOut;
  27. this.onRelease = release;
  28.