Loaded SWF sound handling - issue
i have sound problem. have flash (swf) file loaded within flash (my main swf).
want mute loaded swf sounds. muted "timeline" sounds (with soundtransform of loader object) issue runtime played sounds.
if sound played using actionscript (and not manually droped on stage using flash , timeline), soundtransform won't apply.
think can't use soundmixer since mute main swf sound too.
i've been working on week , gladly appreciate help.
thank you!
there's difference between stopping sound , muting sound. muting means assign sounds volume 0 (but sound still play if it's been started). stopping means volume hasn't changed sound has stopped.
soundmixer.stopall() won't mute main swf sounds. stop them. so, if main swf sounds playing while loaded swf's sound playing , don't want stop main swf sounds, soundmixer.stopall() won't work you. otherwise, will.
if want stop loaded sounds when loaded swf unloaded, use unloadandstop() (fp10+).
if want control volume of loaded sound , there's soundchannel defined sound, use it. if there's no soundchannel loaded sound, cannot control sounds volume. can close stream if sound in loaded swf loaded , open otherwise cannot control individual sounds in loaded swf.
More discussions in ActionScript 3
adobe
Comments
Post a Comment