Topic: Sound not stopping (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=30009" title="Pages that link to Topic: Sound not stopping (Page 1 of 1)" rel="nofollow" >Topic: Sound not stopping <span class="small">(Page 1 of 1)</span>\

 
Blaise
Paranoid (IV) Inmate

From: London
Insane since: Jun 2003

posted posted 02-20-2008 13:11

Hi there,

I'm not very experienced with using sound, so I'm finding what I think should be straight forward quite difficult.

I've imported a bunch of mp3s into my library and put them into some MovieClip Symbols timelines, I've expanded the frames to show the full stream.

When I attach my MovieClips I use the sound_mc.gotoAndStop(1) method, but all the sounds play once they are attached.

code:
private function createSoundBite() : Void {
	sound_mc = new MovieClip();
	sound_mc = container.attachMovie("sound_jump", "sound_mc", container.getNextHighestDepth());
	sound_mc.gotoAndStop(1);
}
	
public function playSound() : Void {
	trace("[DEBUG] Play sound_"+name);
}


I've also tried using sound_mc.stop() in place, but still my sounds play when createSoundBite is called.

What's the problem here?

argo navis
Paranoid (IV) Inmate

From: Switzerland
Insane since: Jul 2007

posted posted 02-24-2008 13:33

I am a bit in a hurry, but sound set to stream will start again when you move to the next frame in Flash.
Check this link, tell me if it helps, and if it does shed some light, then we can figure out a fix together :
http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary683.html



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu