SWF Link in FLASH
- Started
- Last post
- 9 Responses
- siny
Dear All,
I have 2 different swf files that can be linked by clicking mouse, I use action:
on(release){
_root.loadMovieNum("1.swf", 1);
}However, the 2.swf carries the action of 1.swf and the sound as well? What should I do to stop the action of 1.swf when it is in 2.swf?
Million of Thanks
cheers,
siny
- rabattski0
as far as i understand your problem if you load 2 on the same level as 1 that should remove everything that's related to 1.
- Rodimus790
to be safe, maybe use unloadMovieNum before loading the movies.. that way the level is always clear.. and put it in a large level #, likesay 99, just so you don't get any interference.
- siny0
It doesn't work with unloadMovieNum to stop 1.swf action ends on 2.swf. However, it works when I use:
on(release){
loadMovieNum("1.swf",1);
}The previous action stops, but the sound at 1.swf continues playing. What's wrong with this?
- siny0
Please help!!! I stuck in hard way.
THANKS
- nodh0
maybe that you should set the sound volume to 0 when you want to stop it or unload the object or whatever... the sound is an object and it is independant from your clip 1.swf
- siny0
I use STREAM for all these three swf. At the ending of each swf, I set the sound volume to 0 already.
Sorry, I am a newbie to Flash, I am not sure about how to unload?
- rabattski0
maybe you should make a seperate swf for sounds only which you load on another level and which are controlled by the 1 and 2 swf?
- honda0
I'm not sure I am understanding your question siny.
So, when you load 1.swf it has sounds and actions that play. But when you load 2.swf , 1.swf should unload and allow 2.swf to do its thing.
Instead, the sound and actions from 1.swf are still playing in 2.swf? Is that what you are saying?
I'll help, just give me more to work with.
- siny0
What you are saying is correct, can I send you my file to look at? It really puzzles me these few days to solve it.