This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > February 2004 > Controlling sound, independantly, throughout a movie





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Controlling sound, independantly, throughout a movie
downloadthisthing webforumsuser@macromedia.com

2004-02-03, 2:29 pm

Hi.
Can anyone help?

I'm new at this and am stuck.

I created a movie that loads four different swfs at loadtime. One of them is a swf that has sound and a basic controller that I've tried stopallsounds and setvolume(0) with. Both methods work to [stop] the sound.

Now, throughout the main movie (which contains the four swfs from above), clicking links loads additional swfs into levels. One of the swfs is a video. One of the swfs contains audio clips.

How can I make the audio controller that I mentioned above affect ONLY itself, and not all sounds? I'd like for it to turn itself off when I click my "off" control, and let any other sound play.

Is this possible?

Please help.

Scott


downloadthisthing webforumsuser@macromedia.com

2004-02-03, 10:29 pm

hi.
Is there anyone who can help?

Scott


downloadthisthing webforumsuser@macromedia.com

2004-02-05, 3:30 pm

Surely, someone has to know. Is there anyone?



downloadthisthing webforumsuser@macromedia.com

2004-02-06, 8:28 am

Please, can someone help?


imbam

2004-02-13, 8:28 am

u cannot stop a sound by stop all sounds as command bcose it stops all the
sounds of the page even different swf on the same page. but can change the
volume of soun
like this as cod

s = new Sound()
s.attachSound("mysound"); // mysound is the linkage name that u give in the
object lib by rtclick the soun
s.setVolume(100)
s.start(0, 100)
s.setVolume(90)


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews