home *** CD-ROM | disk | FTP | other *** search
/ Ray Dream Gallery - The Best of 1995 / RAYDREAM95.iso / pc / _gal94 / windows / graphic.dir / 00136_Script_136 < prev    next >
Text File  |  1994-12-01  |  693b  |  31 lines

  1. ---
  2. on MakePopSound
  3. Global PopSound
  4. if objectP ( PopSound) then Popsound( mDispose)
  5. set menulist = the text of cast B78
  6. set PopSound to PopMenu(mNew, menuList, 201)
  7. PopSound(mSetItemMark,0)
  8.  
  9. on SoundMenu
  10. Global PopSound, SoundItemz
  11. set sH = the left of sprite 8 + the stageLeft -22
  12. Set sV = The Top of sprite 8 + the stageTop -80
  13.  
  14.  
  15. set result = Popsound(mPopNum, sH, sV, 0)
  16.  
  17. if result = 1 then set the volume of sound 1 to 0
  18. else 
  19. if result = 2 then nothing
  20. else
  21. if result = 3 then set the volume of sound 1 to 60
  22. else
  23. if result = 4 then set the volume of sound 1 to 120
  24. else
  25. if result = 5 then set the volume of sound 1 to 240
  26. end if
  27. end if
  28. end if
  29. end if
  30. end if
  31.