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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Load a specific scene when I load a new swf.

Status
Not open for further replies.

trodney23

Programmer
Mar 6, 2002
4
US
So, I have swf-1 that has 6 buttons. Then I have swf-2 that has 6 scenes. Each button on swf-1 needs to load a different scene in swf-2. At this point all I can do is load scene1 of swf-2 from all of the buttons. Can someone please tell me how to make a button load a specific scene in the second swf? At this point I'm worried I have to go back and make each scene it's own swf. If I do, is there an easy way to convert them? Any help is greatly appreciated.
 
You most probably will need javascript functions to have the 2 movies "communicate", and use something like Flash methods.
What's your set-up? 2 movies on the same page? Frameset? Or the first movie simly replaced by whatever scene of the second movie according to what button was pressed?

Regards,
new.gif
 
If you would like, you can go to to take a look at what I'm dealing with. The person that designed this made the 2 side pages (the ones that open from the home page <creative side and IT side>) all in one scene, and grouped them by frames (so a frame is targeted from each button on the home page). I couldn't find his source files (fla files), and did it my own way (I'm translating the web site to spanish and adding some more movement). So, each of the buttons on the home page link to another movie, and that movie has 6 scenes (corresponding to each of the six buttons). So that having been said, if it is not too confusing, I believe your second assumption is the correct one. The first movie is simply replaced by whatever scene of the second movie according to what button was pressed. If you can save me from having to redesign everything, I would be forever grateful.
 
This is pretty elementary, but it's related to this so I posted here.

I can load a swf file in, but how do I tell it where to go? As it is now, it placed it in the middle of my site. Also, I have the actionscript in a layer that is being masked, but the movie seems to ignore this when it is loaded. Any help, as always., is appreciated.
 
Trodney23...
Quite busy this afternoon... But will have a closer look on this tonight! See if I can make sense of it all!

TFfan, fail to see how your question is related to this thread... Outside of maybe opening a popup!
Will also look into it tonight, if nobody else answers you!
Meanwhile, maybe you can start a new thread with a little more info especially on what you mean exactly by... I have the actionscript in a layer that is being masked, but the movie seems to ignore this...

Regards,
new.gif
 
So, did you get a chance to think about this? I think I will just re-design the pages. I've got time. The way I see it, they will take less time to load if they are loaded individually, even though the symbols used on each page are the same. Thanks for looking into it for me, though. I appreciate it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top