RE: [flexcoders] function foo(... args) { ;}

2008-07-16 Thread Rick Winscot
You can treat args as an array. Rick Winscot From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manu Dhanda Sent: Wednesday, July 16, 2008 1:56 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] function foo(... args) { ;} How to access the parameters

RE: [flexcoders] function foo(... args) { ;}

2008-07-16 Thread Manu Dhanda
You mean to say: function foo(... args) { var myArgs:Array = Array(args); } Am I right here?? Thanks, Manu. Rick Winscot-2 wrote: You can treat args as an array. Rick Winscot From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manu Dhanda Sent:

Re: [flexcoders] function foo(... args) { ;}

2008-07-16 Thread Sid Maskit
: [flexcoders] function foo(... args) { ;} You mean to say: function foo(... args) { var myArgs:Array = Array(args); } Am I right here?? Thanks, Manu. Rick Winscot-2 wrote: You can treat args as an array. Rick Winscot From: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED