header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Ramakrishna
Points:0
Posts:0

7/23/2010 2:36:03 AM

Title: adding two numbers


Hi,

i have two textinputs, in the textinput having numbers, how to add it?

regards,
Ramakrishna



1
RedBull
Points: 930
Posts:0
7/23/2010 2:47:10 AM



say you have two textInput fields named as inputText1 and inputText2, following code will convert the value to number and add them.


var sumTotal:Number= Number(inputText1.text)+ Number(inputText2.text);


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 6+0 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions