Just use binding. # private function stepperSumFun( val1:int, val2:int, etc.. ): String { # return (val1+val2+etc..); # }
# <mx:Label text="{stepperSumFun(pt01.value, pt02.value, etc..)}" /> You could also do it without the function. Regards, ...aaron On 1/9/08, JRBower <[EMAIL PROTECTED]> wrote: > > > I have 5 numeric steppers that I'd like to add their values together and > display the total in a label. > > for example: > > pt01 + pt02 + pt03 + pt04 + pt05 = pt06 (label) > > I'm not sure how to create the function. > > Thanks for your help, > > James > > -- > View this message in context: > http://www.nabble.com/Adding-numeric-stepper-values-tp14727317p14727317.html > Sent from the FlexCoders mailing list archive at Nabble.com. > > > -- Aaron Miller Chief Technology Officer Splash Labs, LLC. [EMAIL PROTECTED] | 360-255-1145 http://www.splashlabs.com