|
-
Linking to pages complicated issue
Ok so I'm sure people have done this before and I've googled solutions but nothing really works on this that I've seen... I am trying to build a website and my introduction goes from frame 1-50, and right as it hits frame 50 I have it set up to repeat frame 25-50 continuously. At frame 25 is where the links are visible to be clicked on and I have the additional pages (that match with the links) after frame 50, so how do I make my "about" link from frames 25-50 jump to frame 55 and stop there, and is it possible to even do when my frames 25-50 are repeating continuously?
The "About" frame (55) is just one frame so I would assume the gotoandstop function would work here. I've tried the code below and clicked on the button and went to actions and typed it in the actions window but nothing happens...
on (release) {
gotoAndStop(55);
}
Can anyone help on this?
-
Hi,
I suggest that you use key frames instead of frame numbers.
On you main timeline (_root) lay out your key frames, and place the frames at intervals of 10 or more frames apart - its easier to work with.
For example:
- INTRO
- MAIN LINKS
- ABOUT US
- SOME STUFF
- SOME MORE STUFF
Place a stop()action at each keyframe
In each of these key frames, have individual MovieClips (MCs), which play out the relevant stuff for that key frame.
Your main links will be on a layer by itself on your _root time line - so all links will be visible in all other keyframes
Each of the buttons will have the following code
Code:
on (release){
_root.gotoAndStop ("some key frame")
}
// the key frame name must appear within " " (quotes)
Thats the simplest way for what you want to do
Hope that helps
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|