-
setVolume(); //////////// once again(((
Sorry i know, the solution for this issue is inside the sticky thread, but i`m still having a problem. I need 2 control multiple sounds, so i typed this, in a keyframe on a main time line:
backgr=new Sound(createEmptyMovieClip("backgrmc",getNextHighe stDepth()));
backgr.attachSound("backgrsound");
foregr=new Sound(createEmptyMovieClip("foregrmc",getNextHighe stDepth()));
foregr.attachSound("foregrsound");
both sounds start perfectly, via backgr.start(0,99); foregr.start(0,99); commands- in a keyframe of a main timeline
but when i try to set the volume of sound object from some keyframe that is inside movieclip and not on a main timeline, or do anything else with sound objects - nothing happens
i tryed _level0.backgr.setVolume(10); syntaxys, but it didn`t work, it works if i delete the getNextHighestDepth() part of code in the creation of empty mc, but then the setVolume(); function starts to control volume of all sounds.
puzzled, please help!
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
|