Re: [flexcoders] How to overload methods in Actionscript?

2005-09-17 Thread Manish Jethani
On 9/15/05, Abdul Qabiz <[EMAIL PROTECTED]> wrote: > ActionScript doesn't support method overloading. Instead you can use > following approach. > > > function sayHello() > { > var n:Number = arguments.length; > > if(n==0) > { > alert("Hello World"); >

RE: [flexcoders] How to overload methods in Actionscript?

2005-09-15 Thread Abdul Qabiz
ahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent: Thursday, September 15, 2005 7:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to overload methods in Actionscript? When I use same method name more than once (with additional arguments), Flex compiler says I can

Re: [flexcoders] How to overload methods in Actionscript?

2005-09-15 Thread Stanislav Zayarsky
Libby, ActionScript doesn't support method overloading. Best regards Stanislav On 9/15/05, Libby <[EMAIL PROTECTED]> wrote: > When I use same method name more than once (with additional > arguments), Flex compiler says I can't use the same name more than > once. Is this really true (Flex doesn't

[flexcoders] How to overload methods in Actionscript?

2005-09-15 Thread Libby
When I use same method name more than once (with additional arguments), Flex compiler says I can't use the same name more than once. Is this really true (Flex doesn't support method overloading?) or do I need to do something different? Thanks, Libby Yahoo! Groups Spon