loadMovieNum Problem
- Started
- Last post
- 3 Responses
- siny
I have 3 different swf files. I use loadMovieNum to link them when the viewer clicks on the mouse.
on(release){
loadMovieNum("1.swf",1);
}on(release){
loadMovieNum("2.swf",1);
}on(release){
loadMovieNum("3.swf",1);
}They can be linked nicely. However, the sound at 1.swf keeps on playing when in 2.swf and 3.swf. I have tried both STREAM and EVENT to control the sound loops, but it does not work. Until I deleted all the sound at 1.swf, then it stops playing. Anything to stop it plays ENDLESSLY???
- autonoma0
How is the sound loaded in the first place?
- dbloc0
not sure I really understand the situation:
try using different levels when you load the movies,
or
_level1.stopAllSounds();
- siny0
I tried to use:
For 1.swf I write:
on(release){
_level1.stopAllSounds();
_root.loadMovieNum("1.swf",1);
}For 2.swf I write:
on(release){
_level1.stopAllSounds();
_root.loadMovieNum("2.swf",1);
}The sound of 1.swf still cannot stop playing when it is in 2.swf. The sound that I load is in main timeline, not SoundObject.