>Script error: variable used before assigned a value.
>
>put ""? into field "spritecountField"

Assuming you have a cast member spritecountField, try:

put "" into member "spriteCountField"

>I want the count to start at "1" as well.

on beginSprite me
   pNum = 1
   put pNum into member "spriteCountField"
end

on mouseUp me
   if pNum > 10 then
     pNum = 1
   end if
   put pNum into member "spriteCountField"
end

Off the top of my head, and untested, but I think that's it.


[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