This is the only script I could attach to my button that didn't bring about 
errors.

However, the script still only counts to two (on the first mouseUp) & 
doesn't go past that.

Again, I'm trying to get it to count to 10 and return to 1 on the mouseUp 
that would be 11.

-nt


property pNum

on beginSprite me
  pNum = the value of field "spriteCountField"
  put "1" into member "spriteCountField"
end

on mouseUp me
  if pNum > 10 then
    put "1" into field "spriteCountField"
  else
    put pNum + 1 into member "spriteCountField"
  end if
end

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.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