PDA

View Full Version : Button Question (please help :)


beck
08-30-2001, 06:02 AM
Hi!

I hope this will be an easy one, but I am baffled! Any help anyone could give would be SO appreciated.

In a scene in my file, I have secondary navigation, which basically scrolls you through the scene. I have five different secondary buttons, they all work and send you where you are supposed to go, except for the last one! It should take you to frame 5, but it takes you to frame 1! Help, I've tried everything and checked my instance actions about 20 times, I'm stuck. Thank you for ANY input you could give to help me solve this rudimentary problem.

Thank you, thank you, thank you,
Beck

poab
08-30-2001, 12:02 PM
Hi,

I don't know if you've got the same problem as I had but when it happened to me it was because I was using gotoAndPlay instead of gotoAndStop. And computers are dumb. The gotoAndPlay was causing the framehead to go to to the correct frame but then ignore the stop action on the frame and start playing (in your case back to frame 1).

Try changing

on(press){
gotoAndPlay(5);
}

for

on(press){
gotoAndStop(5);
}

Hopefully that will work. Also to avoid confusion and possibly solve the problem if the above doesn't work use frame labels instead of numbers. If not email me the .fla and I'll look.

cheers