I have a sound that I want to fade when it enters a specific frame
so i used:
this.onEnterFrame=function(){
if(loopy.getVolume()>0){
loopy.setVolume(loopy.getVolume()-5);
}else{
this.onEnterFrame=null;
}
}
loopy is the identifier that i linked with the sound
however, it keeps on saying that the swf contains multiple sound items, and all solutions from other ppl having this problem dont work:
-clearing aso doesnt
-i only have the sound once
-it was always on stream, and not event
the sound also does not change at all when it goes to that frame, so is there also something wrong with my coding? or is it just the multiple sound problem?
Am i doing something wrong?
actionscript coding/swf contains multiple sound items error
Started by: Resh | Replies: 1 | Views: 564
Jan 12, 2014 1:55 PM #1140337
Jan 12, 2014 2:07 PM #1140340
I've had the same error without using coding appear, but honestly I've never actually had it cause any issues. If you want the sound to fade, do this instead.
Click on the sound in the timeline and this menu should appear, and then click edit.

This menu will then show up, then add some blocks in (just like the way you do it for custom gradients, and then drag the last one down for both sides (which represent both ears, and editing will set to custom immediately), and then click OK.

If that still doesn't work, you can manually change the sound in Audacity. Hope this helped.
Click on the sound in the timeline and this menu should appear, and then click edit.

This menu will then show up, then add some blocks in (just like the way you do it for custom gradients, and then drag the last one down for both sides (which represent both ears, and editing will set to custom immediately), and then click OK.

If that still doesn't work, you can manually change the sound in Audacity. Hope this helped.