If your field is member(1), Clicking on the button pops a value ($100) into the field & a second click pops a zero in.
That's what I thought your description said you wanted. "allows me to click on a button and place a dollar amount into a field and click on it again and place 0 in that same field" Did you? #1 put the script on a button sprite? #2 change member(1) to be the field member? #3 choose the amount you wanted (instead of $100) hth -Buzz At 9:10 AM -0400 8/10/02, you wrote: >Hi Buzz, > >I'm sorry, but I am getting no results of any kind with this. > >George > >----- Original Message ----- >From: "Buzz Kettles" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Friday, August 09, 2002 22:49 >Subject: Re: <lingo-l> A major disaster > > > put this script on a button, > > setup the destination member field's member number > > setup the amount you want to display > > >> >> ------------------------------------------------ >> property theField, amount >> >> on beginSprite me >> theField = member(1) -- set the destination field member >> theField.text = "0" >> amount = "$100" -- set the amount you want loaded >> end >> >> on mouseUp me >> if theField.text = "0" then theField.text = amount >> else theField.text = "0" >> end >> >> hth >> >> -Buzz >> >> At 8:05 PM -0400 8/9/02, you wrote: >> >Greetings, >> > >> >A week or so ago I got some major help from this list and last week I had >a >> >major disaster. I lost virtually every director movie I had after a hard >> >drive crash. I am now starting all over again and I am trying to find the > > >script that allows me to click on a button and place a dollar amount into >a > > >field and click on it again and place 0 in that same field. I hope I >> >explained this correctly. >> > >> >Thanks in advance, >> > >> >George Carlile >> >[EMAIL PROTECTED] >> > >> >PS. Backup is now my key word of the day. >> > >> >[To remove yourself from this list, or to change to digest mode, go >> >to http://www.penworks.com/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!] >> >> [To remove yourself from this list, or to change to digest mode, go to >http://www.penworks.com/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!] >> > >[To remove yourself from this list, or to change to digest mode, go >to http://www.penworks.com/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!] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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!]
