2007-12-18 02:47:21

Hi guys

I plan to use macromedia to create a very simple audio game. There is one thing that i wanted to know is that:-

I created a square in director.

       ______
      |          |
Left |          | Right
      | _____|


Is there a lingo script where will enable me to set different volume to a sound as in, when my mouse cursor is going nearer to the left side of the square, the left side of the earphone will start producing the sound louder and louder as the mouse cursor is really near, and the same thing when the mouse cursor is in the right side of the square.

There is one thing which bothers me, as when the mouse cursor is that i wanted to set the distance when the sound starts appearing, so let says when my mouse cursor is at 2cm of the square, it starts to beep very softly (let says sound volume is 10) and when the cursor is going really near (volume turned to 30 automatically), and nearer (sound volume turned to 60 automatically), and etc.

Is there anyone out there can give me some help? I would really appreciate if you have the script to assist me with this. Thank you so much.

2007-12-18 19:37:18

Anyone can give me a hand with this? Thanks.