home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / tall-ships.swf / scripts / frame_2 / DoAction.as
Encoding:
Text File  |  2005-09-29  |  581 b   |  31 lines

  1. stop();
  2. _quality = "HIGH";
  3. detailToggle_mc._visible = false;
  4. soundToggle_mc._visible = true;
  5. soundToggle_mc.onRelease = function()
  6. {
  7.    if(openingSound.getVolume() > 0)
  8.    {
  9.       soundToggle_mc.gotoAndStop("down");
  10.       openingSound.setVolume(0);
  11.    }
  12.    else
  13.    {
  14.       soundToggle_mc.gotoAndStop("up");
  15.       openingSound.setVolume(100);
  16.    }
  17. };
  18. btnNext_mc.onRelease = function()
  19. {
  20.    gotoAndStop("selectBoat");
  21.    play();
  22. };
  23. btnNext_mc.onEnterFrame = function()
  24. {
  25.    if(Key.isDown(78))
  26.    {
  27.       gotoAndStop("selectBoat");
  28.       play();
  29.    }
  30. };
  31.