RE: [flexcoders] error while extending dictionary error ..

2008-05-13 Thread Alex Harui
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

Re: [flexcoders] error while extending dictionary error ..

2008-05-13 Thread Mayur Bais
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. >

Re: [flexcoders] error while extending dictionary error ..

2008-05-13 Thread Josh McDonald
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

Re: [flexcoders] error while extending dictionary error ..

2008-05-13 Thread Mayur Bais
:) :) 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

Re: [flexcoders] error while extending dictionary error ..

2008-05-13 Thread Josh McDonald
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:

RE: [flexcoders] error while extending dictionary error ..

2008-05-13 Thread Alex Harui
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

Re: [flexcoders] error while extending dictionary error ..

2008-05-13 Thread Josh McDonald
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

Re: [flexcoders] error while extending dictionary error ..

2008-05-13 Thread Mayur Bais
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

RE: [flexcoders] error while extending dictionary error ..

2008-05-13 Thread Alex Harui
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 ..

Re: [flexcoders] error while extending dictionary error ..

2008-05-13 Thread Josh McDonald
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

RE: [flexcoders] error while extending dictionary error ..

2008-05-13 Thread Alex Harui
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

Re: [flexcoders] error while extending dictionary error ..

2008-05-14 Thread Josh McDonald
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@