I'm trying to load a movie (level3sec1.swf) into main.swi, menu button2, using the following code. The unloadMovieNum(3) statement is intended to remove any movie that would be playing on (release).
on (release) {
unloadMovieNum(3);
tellTarget (_root.Control) {
gotoAndPlay("section2");
loadMovieNum("level3sec1.swf",3);
}
}
The movie loads and plays just like it should, except the template animation that should slide to the right at that point remains in the "left" position (as it is in the "home" position).
What can I do to get the animation to slide to the right and then play my level3sec1.swf?
Positioning Problem
Started by Chadwick, Dec 28 2007 08:51 AM
4 replies to this topic
#1
Posted 28 December 2007 - 08:51 AM
#2
Posted 28 December 2007 - 09:05 AM
...you don't have to use "unloadMovie(3)" - because whatever is on that level will get replaced by "level3sec1.swf".
wolf
wolf
#3
Posted 29 December 2007 - 06:01 AM
I removed unloadMovieNum,3. The camera lens animation still will not move to the right side of the screen. Is this yet another problem with using SWISHMax2?
#4
Posted 29 December 2007 - 08:21 AM
...nothing to do with SM2 - if you load into a "Level" it will always load the external swf into the top-left corner better to use a "MovieClip" as a container and place it where you want the movie to appear...
loadingXternals - interactive tutorial by Nick o`Teane
SWiSHmax: Loading external .SWF: .JPG Files
Loading And Positioning Swf Files
wolf
loadingXternals - interactive tutorial by Nick o`Teane
SWiSHmax: Loading external .SWF: .JPG Files
Loading And Positioning Swf Files
wolf
#5
Posted 30 December 2007 - 07:54 AM
Thanks, Wolf--I will keep that in mind.
As you probably have noticed in my other replies, my approach to all of this seems to be going flawlessly. I will keep my fingers crossed.
As you probably have noticed in my other replies, my approach to all of this seems to be going flawlessly. I will keep my fingers crossed.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users













