I\'ve got a function wich can accept a varible number of parameter with a rest operator.
I want create an object passing the argument collected with the rest opera
well there's also this
public function myFunc(args:Object) { //then access various argumens return new MyClass(args.name, args.id, args.active) }
and call it through myFunc({id:33,name:'jo')
myFunc({id:33,name:'jo')
you could then pass the object, or is this too far from what you're looking for?