Re: lingo-l counting with a sprite script

2001-02-08 Thread Colin Clark
From: "N. Taylor" [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: lingo-l counting with a sprite script Date: Thu, 08 Feb 2001 03:32:51 - I have a field and a button. When I click the button I want Lingo to count from one to ten (the field adds &quo

Re: lingo-l counting with a sprite script

2001-02-08 Thread Irv Kalb
At 5:49 PM + 2/8/01, N. Taylor wrote: 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

Re: lingo-l counting with a sprite script

2001-02-08 Thread N. Taylor
Colin. Thanks so much. That works. The only problem with the script is that when I stop the movie and resume playing the number that was in the field when I stopped lingo starts counting from that previous number instead of from "1". I put these two scripts in there to remedy the problem

lingo-l counting with a sprite script

2001-02-07 Thread N. Taylor
I have a field and a button. When I click the button I want Lingo to count from one to ten (the field adds "1" every time the button is clicked.) I have to attach the script to one of the two sprites (or both). Please help. -nt

Re: lingo-l counting with a sprite script

2001-02-07 Thread N. Taylor
I tried exactly that and I got this error: Script error: variable used before assigned a value. put ""? into field "spritecountField" I want the count to start at "1" as well. I guess I would put "1" into field "field name" (if it were working), and after 10 has been reached the count

Re: lingo-l counting with a sprite script

2001-02-07 Thread Kerry Thompson
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