home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / bumper_craft.swf / scripts / frame_140 / DoAction.as < prev   
Encoding:
Text File  |  2007-03-20  |  1021 b   |  34 lines

  1. function itemHandler(obj, item)
  2. {
  3.    getUrl("http://www.armorgames.com", "_blank");
  4. }
  5. function highQ(obj, item)
  6. {
  7.    getUrl("http://www.armorgames.com", "_blank");
  8. }
  9. _root.createEmptyMovieClip("sound1",83242);
  10. _root.createEmptyMovieClip("sound2",80123);
  11. _root.createEmptyMovieClip("sound3",81234);
  12. _root.createEmptyMovieClip("sound3",84351);
  13. shot = new Sound(sound3);
  14. shot.attachSound("bullet");
  15. shot.setVolume(30);
  16. fan = new Sound(sound1);
  17. fan.attachSound("fanloop");
  18. fan.start(0,1000000);
  19. fan.setVolume(0);
  20. bgmusic = new Sound(sound2);
  21. bgmusic.attachSound("bgmusic");
  22. menuMusic = new Sound(sound4);
  23. menuMusic.attachSound("menu");
  24. menuMusic.start(0,1000);
  25. placeholdersound = new Sound();
  26. root_cm = new ContextMenu();
  27. root_cm.hideBuiltInItems();
  28. _root.menu = root_cm;
  29. root_cm = new ContextMenu();
  30. root_cm.hideBuiltInItems();
  31. root_cm.customItems.push(new ContextMenuItem("Armor Games",itemHandler));
  32. root_cm.customItems.push(new ContextMenuItem("Highscores",highQ));
  33. _root.menu = root_cm;
  34.