Hi List,

Thanks for answering my earlier questions. I have a
slight problem. I have a field which has scores stored
in it. So if the score says 5 i have a field sprite
which scrolls to 5 with the below script. Every thing
works fine but lets say the answer is 6. It scrolls
from the top to the 6 (because it is set to a constant
225). How do i modify the code so that it starts from
the number that is already there on the screen.
Any help would be appreciated

ravi


on mouseUp me
  put field ("place") into xHundred
  put integer(xHundred) / 100 into xHundredAns
  put xHundredAns -- hundreds field
 repeat with z=225 down to (225 - (xHundredAns) * (the
lineHeight of field"scrollingField1"))
    sprite(1).locV = z
    updatestage
  end repeat
end


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

[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