Groups | Blog | Home
all groups > flash actionscript > february 2007 >

flash actionscript : Returning to particular frame


Dub-C-Deep
2/6/2007 7:43:29 PM
Hi. I am building a software prototype and on frame 14, I have a template. You
can get to the template via a button that appears on frames 1-13. However, I
need a script that would allow the user to return to the frame they linked to
the template from. As it stands now, I can only get it to go back to a specific
frame. So if I make frame 1 the specific frame to return to, it is confusing to
the user unless they originally came from frame 1.

Is it possible to put the template on a separate layer versus a separate
frame? Then I could make the "go to template" button change the
visible/nonvisible state of the template layer?

Thanks for any help!
kglad
2/6/2007 8:18:58 PM
no, layers don't exist (as such) outside the authoring environment.

just use a variable to store the value of the current frame as they enter
each frame (except 14). use that variable's value to return them to the
previous frame.
AddThis Social Bookmark Button