Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Load/Unload and Tell Target Problem target a SCENE in a External SWF 1

Status
Not open for further replies.

Tuffkru

Technical User
Jul 13, 2000
3
GB
Hi to who ever is reading this and thanx in advance....<br>my problem begins when i try to link an external SWF file into my movie... i'll explain more deeply <br>i have two seperate movies (movie1.fla and movie2.fla) from these movies i have the two seperate SWF files (movie1.swf and movie2.swf). With in "movie1.fla/movie1.swf" i have three SCENES and in "movie2.fla/movie2.swf" i have the one SCENE.On both "movies" and all SCENES i have a navigation system of FORWARD/BACKWARD arrows. These arrows movie you from SCENE1 to SCENE2 to SCENE3 the FORWARD arrow on "movie1.fla/movie1.swf" SCENE3 loads up the new movie "movie2.swf" on _LEVEL0 this bit works fine...The problem starts when i try to come back on my self from "movie2.swf" to the LAST SCENE "SCENE3" on "movie1.swf" ...... I have tried allsorts from targeting labed frames to movie clips pls could you help ive been on this problem for 1 whole week and its starting to hurt me pyhsically in my head and tum tums..... thanx again if you need a bit more info on this problem like the process i am useing ie.LOAD/UNLOAD and TELL TARGET then let me know.
 
Tuffkru:<br><br>Check this out, you are almost doing the right thing but you are assuming that when you load movie 2 at _level0 the movie1 stays there. The fact is that when you load the new movie at _level0 the first one is overwritten and the new one takes its attributes.<br><br>This is what you have to do:<br><br>In your scene3 of movie1 do your Load Movie to load the movie2 but load it to _level1 instead of _level0.<br><br>Not a problem, now your movie1 takes you to the movie2. Now to go from movie2 to an scene in movie1 do the following:<br><br>Select the frame in movie1 where you want to come back from movie2 and label it. (for example label it &quot;fff&quot;) Now go to the movie2 and select where you want to go back to the movie1. I don't know if it is a frame or a button but assign the action to the element:<br><br>Add a Tell Target action and in the target write &quot;_level0&quot;<br><br>Inside the Tell Target code add a GO TO AND PLAY action and in the label option write the name of the labeled frame in movie1. In this example it would be fff. NOTE: You won't see it in the drop menu.<br><br>The Tell Target part is saying to the movie2 to go one level up to _level0 and then go to the labeled frame and play.<br><br>One more thing, if you don't add a STOP action to movie1 before you Load the movie2, the two movies will be playing at the same time and you will see both unless of course the movie1 is stopped.<br><br>I hope this helped but if you have any questions write me at <A HREF="mailto:ferhelping@yahoo.com">ferhelping@yahoo.com</A><br><br>Luck, Fernando<br><br> <p>Fernando Regueiro<br><a href=mailto:ferhelping@yahoo.com>ferhelping@yahoo.com</a><br><a href= > </a><br>
 
Thank u very much Mr Fernando it worked just as you explained ......... now the pain as left my body &quot;what a relief&quot; THANK YOU!!! ill be e-mailing you later so we can keep in touch i would like that very much and u never know i might be able to return the favour one day.....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top