>If I wanted to keep track of the previous screen,
>
>my movie script reads:
>
>global gPreviousScreen
>on StartMovie
>set gPrevious = 0
>end StartMovie
>
>
>
>my sprite script ( which is a left arrow button) reads:
>
>on mousedown
>global gPreviousScreen
>CurrScreen = sprite(6) -gPreviousScreen
>sprite(6) =CurrScreen
>updatestage
>end
>
>
>Is this the way to keep track?

No, I don't think that will work. gPreviousScreen contains an integer, and 
sprite(6) will return a sprite reference. sprite(6) - gPreviousScreen isn't 
a valid operation.

I'm not sure what you're trying to do, though. You say you want to keep 
track of your previous screen, but I'm afraid I can't tell what you're 
after. Can you give a bit more detailed description?

>Cordially,


Kerry Thompson


[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