[flexcoders] Re: getting the total of values of an array collection that is updated manually

Thursday, December 15, 2011

 

The textfield has change events - you can use that to get the new value - then recompute the sum. Pseudocode:

<script>

private function onChange( e:Event ):void {
doSum();
}

private function doSum():void {
...
}

</script>

<s:/ texInput change="onChange(event)">

__._,_.___
Recent Activity:
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

0 comments:

Post a Comment