First question: are you always just jumping to the vocab movie and back from
whence you came, or do you need the back button to keep a full history
throughout the product? For worst case scenerio, I'll assuming the latter.

My suggestion to save you keystrokes is to simplify your history stack to a
single list. For example (this code that follows is not meant to drop into
your project and work, it's just to illustrate):

on hyperlinkclicked me, data
  gHistory.add([the movie,marker(0),the clickOn,sprite(32).membernum])
  go to (data) of movie "BDvocab"
end

Each time you jump back, you take the last entry in the history off the
stack (read it, delete it).

myMovie = gHistory[gHistory.count][1]
myFrame = gHistory[gHistory.count][2]
..
.. (repeat for all state variables)
..
gHistory.deleteat(gHistory.count)


Of course if you're only jumping back once, you don't even need a list of
lists, gHistory would just be a single 4-element list.


Adam
[EMAIL PROTECTED]

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]

Reply via email to