Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 05-25-2001, 02:35 PM   #1
solidsnake
Registered User
 
Join Date: Mar 2001
Posts: 26
Default

Hi all, can someone please help with some simple scripting. got a dynamic text field and 2 buttons A and B. click button A once it adds 1 to the text field, click again it becomes 2, click on B it minuses 1 and so on. I know it sounds stupid but it's been giving me a headache any comments or suggestions would be greatly appreciated, tia.
solidsnake is offline   Reply With Quote
Old 05-25-2001, 05:59 PM   #2
Marx
New Member
 
Join Date: Feb 2001
Posts: 378
Default

Hi...
Provided your using Flash 5, you can use:

on (release) {
textfield++;
}

on (release) {
textfield--;
}

The textfield is named 'textfield'.

Hope this helps.
Marx is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any one heard of problems with the flash player 7.0.14? needMoreCowBell Other Flash General Questions 1 10-22-2004 09:58 PM
Problems for customers in the Czech Republic Marianne Other Flash General Questions 4 08-24-2004 05:57 PM
Problems with Loading Text Into a Textbox holdaway ActionScript 2.0 6 02-03-2004 04:21 AM
levels, linkage of audio, and load movie problems to a specfic frame problems ooolie ActionScript 1.0 (and below) 0 12-05-2002 07:54 PM
dynamic swf from text problems! loaded ActionScript 1.0 (and below) 0 12-22-2001 11:06 AM


All times are GMT. The time now is 10:29 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.