So can someone explain this?
So far I have seen no document about it. I do know how to use it, but I would like to know what it means and does.
Stuff like these makes the flash/flex/as learning reylly hard when there is no documentation.
If you define a function, you can add ...args as an argument, which means the function can receive an array of multiple arguments. This is useful if you don't know in advance how many arguments your function will receive.
public function sum(...args):Number
var s:Number = 0;
for each (var n:Number in args)
s += n;