Don't extend dictionary, just return a Dictionary.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mayur Bais
Sent: Tuesday, May 13, 2008 2:11 AM
To: [EMAIL PROTECTED]; flexcoders@yahoogroups.com
Subject: [flexcoders] error while extendi
Any specific reason why we should not extend dictionary..?
I got it working by writing one getter method in the class which returned
dictionary...
just curious
On Tue, May 13, 2008 at 11:11 PM, Alex Harui <[EMAIL PROTECTED]> wrote:
>Don't extend dictionary, just return a Dictionary.
>
If it's not giving away any business secrets, why on earth would you want to
subclass Dictionary? Flex already has some sort of built in support for
singletons, I believe.
-J
On Wed, May 14, 2008 at 2:43 PM, Mayur Bais <[EMAIL PROTECTED]> wrote:
> Any specific reason why we should not extend d
:) :) sure ...there is nothing that I could not do without extending
dictionary...
with singleTon , I wanted to have the only once reference across the
application ..
I tried once extending it..and ran into a problem..and then solved it by not
sub classing it (directly returning)..
But the curiosi
I'm not speaking from authority, but I'm 99% sure that Dictionary either
partly is, or relies on some native code that lives in the flash plug-in
rather than in the Flex SDK library in order to provide the weakKeys
functionality, and that's why you can't subclass it.
-J
On Wed, May 14, 2008 at 3:
y 13, 2008 10:04 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] error while extending dictionary error ..
:) :) sure ...there is nothing that I could not do without extending
dictionary...
with singleTon , I wanted to have the only once reference across the
application ..
I
seem necessary as you ended up anyway.
>
>
> --
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Mayur Bais
> *Sent:* Tuesday, May 13, 2008 10:04 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [flexcoders] error while extending dictionary err
ah..ok... got it :) thanks
On Wed, May 14, 2008 at 11:03 AM, Josh McDonald <[EMAIL PROTECTED]> wrote:
> I'm not speaking from authority, but I'm 99% sure that Dictionary either
> partly is, or relies on some native code that lives in the flash plug-in
> rather than in the Flex SDK library in or
To: flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com>
Subject: Re: [flexcoders] error while extending dictionary error ..
:) :) sure ...there is nothing that I could not do without extending
dictionary...
with singleTon , I wanted to have the only once reference across the
application ..
mark it final.
>
>
> --
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Josh McDonald
> *Sent:* Tuesday, May 13, 2008 10:41 PM
>
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [flexcoders] error while exten
Sure. Thanks.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh McDonald
Sent: Tuesday, May 13, 2008 10:53 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] error while extending dictionary error ..
Yeah, that's
at 3:58 PM, Alex Harui <[EMAIL PROTECTED]> wrote:
>Sure. Thanks.
>
>
> --
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Josh McDonald
> *Sent:* Tuesday, May 13, 2008 10:53 PM
>
> *To:* flexcoders@
12 matches
Mail list logo