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

Load movie, navigation?

Status
Not open for further replies.

macflasher

Technical User
Mar 23, 2001
3
US
I have a movie with three scenes and each scene loads a different .swf into level 0 in the first frame with the Load Movie action.

How can I have a nav bar on top of each .swf in each scene that goes to the previous or next scene?

I have tried loading the nav bar as an .swf with the same action on level 0, but on the layer above the movie and that
did'nt work, I tried putting the nav bar inside each .swf but the the buttons won't jump to the next scene, because each swf only has one scene the main movie has three. I also tried loading the .swf's in level 1 and the nav in level 0, but then the swf doesn't show up.

Essentially I need to make one movie of multiple loaded swf's with another swf of the navigation on each???

Thanks for any help.
 
you should be able to load the nav into a higher level, say 5 and give the buttons in the nav bar the following actions:

on (release) {
tellTarget ("_level0/") {
gotoAndPlay ("scene-name", 1);
}
}

I am assuming you only want to target the main-movie with the nav bar, you're post got a bit confusing.

dave
davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
This is what the script in my main movie looks like, I am loading two swf's, navigation on level 1. To keep it simple, the navigation is two buttons "previous" and "next".

Load Movie ("X.swf", 0)
Load Movie ("nav.swf", 1)

When I try to set button actions in my nav.fla I am unable to select Go to and play "previous or next scene"

On (Press)
Begin Tell Target ("_level0/")
Go to and Play ()
End Tell Target
End On
 
Katie and I solved a problem related to this a while back, I'll go find the thread and get back to you. The conclusion of that thread was that you don't have to target (goto) a scene name, you can simply target a frame-label as Flah doesn't seem to associate frame labels with scenes, ie: when you target a frame-label on the main timeline, you target the frame-label regardless of which scene it is in.

Give it a go, I'll go and find the thread.

dave davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
You can always try setting a frame number... i.e. frame 1 or 2 for scene 1, and frame 33 for scene 2 if obviously scene 1 lasts 32 frames!

;-)
 
thread250-59305 davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top