In Flex 1.5 there was a way to create a function and pass optional arguments to it, and get them in the function using arguments[0].
 
private function foo():Void
{
    var arg = arguments[0];
}
 
When I try it to do in Flex 2 I've got still an 'Inccorect number of arguments' error.
Have anyone an idea how I can do it in Flex 2?
 
Thanks, Artur
__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





YAHOO! GROUPS LINKS




__,_._,___

Reply via email to