At 23:25 1/3/01, Yo Gomi wrote:
>--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

What is the error code?

I don't have Dir on this machine to test with, but I suspect it may work if 
you remove 'the' from your 'go' command. Or perhaps just:

go to lastPage

>--this is a frame script at where the marker "basic" is.
>on enterFrame me
>   countHistory #basic
>end

This results in a list of symbols, doesn't it? That may actually be the 
core of the problem. Does it work in the message window if you type 'go to 
#basic' ? Try this instead:

on enterFrame me
   countHistory(the frameLabel)
end

This way you can use the same script on any frame rather than writing a 
separate script for each frame.



--
Mark A. Boyd
Keep-On-Learnin' :)


[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!]

Reply via email to