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!

Buttons on Sliding Timeline Not going to the right place

Status
Not open for further replies.

janna30

MIS
Dec 13, 2003
3
US
have created a timeline using a "slider" in Flash. The buttons (years) on the timeline should link to frames outside the movie clip with information.

However, all the buttons default to just the last frame of information rather than the frame they should be going to...although each has a different instance name. Has anyone run across this problem before?

The following is my code:

main frame:

Function turnOff() {
_root.mcYellow.gotoAndStop("hidden");
_root.mcPurple.gotoAndStop("hidden");
_root.mcPink.gotoAndStop("hidden");
_root.mcOrange.gotoAndStop("hidden");
_root.mcRed.gotoAndStop("hidden");
}
stop();


One of the buttons (there are 16)

on (release) {
_parent.turnOff();
_parent.gotoAndStop("1808");
}



The swf is at
Thanks for any suggestions that anyone can give me!
 
If "1808" is supposed to be a frame label, you should be doing that. No number only frame labels or at least not starting off with a number. Try changing your frame label to "frame1808" or "year1808" and target that new label.
Then change all of them in the same manner.

Regards,

cubalibre2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top