View Full Version : help>>>>>>code
adnan
08-10-2006, 06:09 PM
help>>>>>>code :huh
http://www.flashfp.net/uploader/modules/up-pic/pic/uploads/8d2ee604d8.gif
:rolleyes
Intrigued
08-10-2006, 06:24 PM
Put this in the Button object's On Click area.
You may need to change out the Input names if you changed them (ie. "Input1")
Now, I hope I free-hand typed that right. I did not have AMS open.
Input.GetText("Input1", result1)
Input.GetText("Input2", result2)
answer = result1 + result2
Input.SetText("Input3", answer.."")
Note: you should "bulletproof" that code. Making sure that there are numbers entered and say not letters, etc. etc.
mrdude
08-10-2006, 06:30 PM
result1 = Input.GetText("Input1");
result2 = Input.GetText("Input2");
Input.SetText("Input3", result1+result2);
-------------use the above code on your button-------
fist box is caled Input1
second box is called Input2
third box is called Input3
when you press the button the text from box 1 and box 2 are added and displayed in box 3
------------
oooops sorry Intrigued - we must have posted at the same time - lol - well apart from you being a few seconds faster..
adnan
08-10-2006, 06:48 PM
Thank you Intrigued
http://www.flashfp.net/uploader/modules/up-pic/pic/uploads/3f0af9371d.gif
http://www.flashfp.net/uploader/modules/up-pic/pic/uploads/db5c2da5c3.gif
Thank you mrdude
http://www.flashfp.net/uploader/modules/up-pic/pic/uploads/3f0af9371d.gif
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.