Skip to main content
Known Participant
December 10, 2010
Question

AS2 for Go To Last Destination

  • December 10, 2010
  • 1 reply
  • 586 views

Hello,

I'd like to have a button, say a back button, take me to the previous location/destination. Not to be confused with a previous frame AS. This type of functionality can be found in Adobe Reader, where you can click to either go to the next page (same document, like forward a frame), or you can click a different button to go to the last destination... as if your previous destination was a link from a different document.

I was told to achieve this... I'd have to create arrays for every instance of this treatment... Using arrays is beyond my comprehension. I was wondering if there was a simple AS2 code to use without having to go crazy with programming.

Thank you much!

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
December 10, 2010

there's nothing simpler if you expect your back button to work if clicked twice before any other navigation change occurs.

Known Participant
December 11, 2010

I'm not sure if I follow. If your post is referring to how this button would work if no destination was established, or if the back button was pressed repeatedly...? Then like Acrobat the last destination would not function if no previous destination was in it's history. in regards to the second statement, if you repeatedly hit the back button (in this instance) then you'd flop between the last two destinations.

kglad
Community Expert
Community Expert
December 11, 2010

then there's nothing simpler.