-
I added my first sound to a aready actionscript that control the valume. and its work OK
Now I need to add one more sound.
How do I add and defind more sounds at the variable and value. (using the attached sound way).
What I need is one volume controller that controls more than one sound.
-
Senior Member
It may seem slightly strane (or it did to me anyway) that when you work with the sound object if you do something like
music = new Sound();
music.attachSound("linkage_id1");
music.start(0,999);
effect = new Sound();
effect.attachSound("linkage_id2");
effect.start(0,999);
doing
music.setVolume(40);
will set the volume of both sounds to 40 to have the volume work separately on sounds they need to be created in different clips with something like music = new Sound(this);
-
thanks
Thanks, its work (and now looks very simple..)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|