Goto FrameLabel?

Please help with solution or alterations to as.

file where i have several pictures as buttons, when pressed goto Frame Label "Im1"etc…
but if you press twice the same button; it jumps to the next FrameLabel even when it has a frame AS (stop)

how can i solve this with as or other solution

thanks for helping
greetings from Portugal…Ahaab.=)

ps- the zip file gets to 117kb not suficiently small to upload

If ayone could help i can post the fla by email
realy need sollution please:!:
thanks again…Ahaab

Use gotoAndStop(frameLabel)

mail it to:
claudiodj at yahoo.com

Thanks lostinbeta

I had just fund the awnser to the problem too.
but if you can explain why
the gotoAndPlay as on the button and Stop in the keyframe that contais the label and image does loop to the frame label in the naxt keyframe

thanks a million from Portugal
:slight_smile:

gotoAndStop() tells Flash to go to the frame and stop there, but gotoAndPlay() tells Flash to go to the frame and keep playing. When you use gotoAndPlay() and it has a stop action on the frame you go to it will work the first time because the stop action will be read, but if you call it again, since it is already on that frame Flash decides to just continue playing.

lostinbeta

now that i have changed all the as in frames and buttons it does not work. what you recomend… frame label or frame number?
only tried the frame label…advice.
thanks
Ahaab…Portugal
:slight_smile:

frame labels offer a lot more flexibility if you plan on moving stuff around in the timeline. It’s kind of up to you, I like using labels because they are descriptive (ie-clicking the submit button goes to frame label “submit”) and can be moved without having to redo AS