Return to Snippet

Revision: 43389
at March 23, 2011 06:49 by scottwatkins


Initial Code
private function sum(... nums):Number {
    var total:Number = 0;
 
    for(var i:int = 0; i < nums.length;i++){
        total += nums[i];
    }
 
    return total;
}

Initial URL
http://flexman.info/2008/12/18/example-shows-how-to-use-variable-parameters-in-flex/

Initial Description

                                

Initial Title
Use Variable Parameters In Flex

Initial Tags

                                

Initial Language
ActionScript 3