home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Diversos / 3_puck_shuck.swf / scripts / DefineSprite_256 / frame_1 / DoAction.as
Encoding:
Text File  |  2007-03-20  |  308 b   |  16 lines

  1. function closeoverlay()
  2. {
  3.    this._visible = 0;
  4.    this.closenoise.start();
  5. }
  6. function showoverlay()
  7. {
  8.    this._visible = 1;
  9.    this.opennoise.start();
  10. }
  11. closenoise = new Sound();
  12. closenoise.attachSound("miniricochet.aif");
  13. opennoise = new Sound();
  14. opennoise.attachSound("bloop.aif");
  15. stop();
  16.