Hello list,
I'm trying to create a back button which takes back to the last visited
marker. Does anyone know how to return the name of the marker as a value in
a list? Hmm it's difficult to explain so here's my script so far...
--this script is attached on a back button
on mouseUp
backButton
end
--and this is the handler
on backButton
Global histList
Global lastPage
lastPage=getLast(histList)
put lastPage into field "test"
go to the marker (lastPage) <- this is an error code.
end
--this is a frame script at where the marker "basic" is.
on enterFrame me
countHistory #basic
end
--and this is the handler
on countHistory x
global histList
global countHist
addAt histList, 1, x
countHist=histList.count
end
Why is his not working? Can markers have variables? I need to sort this out
by the end of this week... DESPERATE! Please help me! Thank you in advance.
Yo.
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]