Hi, how can i load 2 .swf movies simultaneously through one load movie action button ?
have the same code in the button…
have 2 movie clips you want the movies to load into…
and put this on your button:
on(press){
loadmove(“whavever1.swf”,_root.Mc1);
loadMovie(“whatever2.swf”,_root.Mc2);
}
something like tha.t
It didn’t work ,only one movie loaded and it overlapped, it did not place where i wanted it to . Thanks for your help .
Other suggestions please from anyone .
Thankyou .
Peace.
The reason only one showed up was because they typed one of the lines incorrectly. It should be:
on(press){
loadMovie(“whavever1.swf”,_root.Mc1);
loadMovie(“whatever2.swf”,_root.Mc2);
}
As for what you can do about overlapping, I couldn’t help you there…
Thankyou SetroGamer ,i’ll try that .
Is it possible to have options here like making the movies overlap when i want to and place at a certain position when i want to ? can anyone help ?
Thankyou.
You could change their stacking order to make them overlap eachother. Find a tutor here.
To place them at a certain position, simply use
_root.mc1._x = xposition;
_root.mc1._y = yposition;
_root.mc2._x = xposition;
_root.mc2._y = yposition;
Of course, xposition and yposition have to be replaced by the x and y coordinates of the movie you are loading the other ones in when at the place you want them to load.
Hope this helps.
Thanks.
The prob. is still there. i saw a couple of sites in which the developers did 2 things , i think . When i pressed the buttons (service etc.) 2 things took place one was “loadmovie” the other was “sliding picture”, i think both of those developers had given 2 different actions to every button .one action loaded the movie and the other moved the bg pic. inside a box .i don’t remember those sites’ names , i think one was jontom .com or something ,it was placed at sotw section of these forums ,today i tried to visit jontom site it said page under const., now maybe it was the same site i mentioned maybe some else . i hope i’ve stated my question clearly but if u don’t understand what i’m trying to say please ask again so that i explain more .
Thankyou.
Peace.