PDA

View Full Version : Problem in Joining 2 movies in Flash


Guanxi
09-03-2005, 04:52 PM
hi all
well i have two flash movies made saperatly. Now i have to join them but the way i want to do that is giving problem.
Each of the two movies have scenes. From First movie I want to load Second move (Movie2) and go direclty to some particular scene (say scene 5 of Movie 2). I am able to load the second Movie but when it is loaded, it starts from scene1 of Movie2 ... but i want to start scene 5 of Movie2 and continue futher.
Can anybody help me out in this matter as its urgent .....

oldnewbie
09-04-2005, 05:57 AM
The second movie needs to be fully loaded and then stopped on it's first frame, where a re-direct function, will move the playhead to the appropriate labeled frame (you should never target scene names, especially in this case...), according to a global variable that was set in the first movie...

Label the first (or targeted frame) in each scene with an unique label, and target that labeled frame, in your actionscript of the first movie...

Guanxi
09-21-2005, 12:32 PM
This i forget to mention earlier ... i want the second movie to run normal .... like if person load second movie from first movie he direclty go to the scene in between (say 5 as i explained earlier) but if he wanna run second movie alone then it should start normally ... will it b possible with the method explained by you ..... by the way thanks for ur suggestion .. i'll surely try to use method given by you and will let u know whether it help my problem or not .... thanks

ravuri
09-30-2005, 05:47 PM
I well understood your problem...

in the movie 1 , if you are loading the movie2 in a movieclip called mc, then on the movieclip please try this .


onClipEvent(data){
this.gotoAndStop("step5");
}


step5 is nothing but the label name in the scene 5 of movie 2..