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
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:
: [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
3 matches
Mail list logo