attachSound() - method which attached sound object from library
if want load sound you must use method loadSound()
if you say gotoAndPlay(step2) in event onSoundComplete() - you say
it objSound but not you movie
use link to movie clip, example:
var objSound = new Sound();
var handler = this; //link to movie clip with label step2
objSound.attachSound(step1)
objSound.start(0, 0)
objSound.onSoundComplete = function(){
handler.gotoAndPlay(step2)
}
stop();
2005/11/9, Brunswick, David [EMAIL PROTECTED]:
Hello I am using LoadMovie to play multiple swfs within the loaded swf I
am using the sound object as so
var objSound = new Sound()
objSound.attachSound(step1)
objSound.start(0, 0)
objSound.onSoundComplete = function(){
gotoAndPlay(step2)
}
stop();
Although I can not get the sound to play when loaded into the parent
clip. What should I change in the loaded file to play the sound?
David Brunswick
Training Specialist II
VeriSign
E - [EMAIL PROTECTED]
P - 912-527-4110
elearning.verisign.com
Knowledge Speaks - Wisdom Listens - Jimi Hendrix
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders