flash_programming thread: Controlling Volume and sound based on mouse loc (h & v)
Hi, Rob you will need to firstly set limits for the mouse co-ordinates, since the mouse co-ordinates
does go into negative quadrants too.. other than that a set of simple conditional statements pikcing the mouse co-ordinates and
setvolume can get you your desired effect..
hope this hels, let me know if you need anything more
luv n prayers
alwyn
--- Abdul Sami <abdul_sami_20@y...> wrote:
>
>You can use the setvolume property of sound object.
>
> rob@r... wrote:In a flash project that i am about to undertake I need to controll the
>volume of a sound based on the vertical location of the mouse inside the
>player window -- if the bottom of the movie is 0% and the top of the movie
>is 100% i need to adjust audio based on the location of the mouse within
>that area.
>
>The mouse location horizontally will controll which sound is playing as
>well as a set of movieClips under the mouse.
>
>I am looking for any advice in how to approach this as well as someone to
>tell me "don't even think about doing this in flash"
>
>Thanks
>Rob Sutherland
>rob@f...
>rob@r...
>
>Abdul Sami
>
>
>---------------------------------
>Do You Yahoo!?
>Yahoo! Finance - Get real-time stock quotes
>
_____________________________________________________________
Get 6MB of email space now!! No more running out of space. Navi Mumbai - Our city welcomes you, Come be a part of our city
http://www.navimumbaionline.com
_____________________________________________________________
Promote your group and strengthen ties to your members with email@y... by Everyone.net http://www.everyone.net/?btn=tag