hello,

Try to use arguments.length.

like .....

           private function test(str:String,count:int):void
           {
                   trace ( arguments.length );  // return number of parameter
this function take = 2
           }

may help.

Thanks
VIrat Patel

On Jan 30, 5:30 pm, ganesh <[email protected]> wrote:
> Hello All,
>           I want to call a function. I just want to know how many
> parameters that function takes? Is there any API available to get a
> count of number of arguments a function takes?
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to