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

2008-05-14 Thread Josh McDonald
. 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 all I

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

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

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

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

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

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

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

2008-05-13 Thread Josh McDonald
:* 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 error .. :) :) sure ...there is nothing that I could not do without extending

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 order

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

2008-05-13 Thread Alex Harui
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 tried once extending it..and ran into a problem..and then solved

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

2008-05-13 Thread Josh McDonald
. -- *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 extending dictionary error .. On the plus side, I'm glad you

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 all I