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");
>
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
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
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
4 matches
Mail list logo