[flexcoders] Re: Formatting a TextInput

2009-03-20 Thread donald_d_hook
Faster yet ... sample below define the formatters: == Use in your code: = txtCurrentBalance.text = currencyFormatter.format(account.currentCashBalance); txtGainPct.text = percentFormatter.format((gain / account.initialCashBalance) * 100); --- In flexc

[flexcoders] Flex 3.1 vs 3.2 and Class Loading

2008-12-28 Thread donald_d_hook
I had developed an application consisting on multiple modules. In order to overcome some class loading issues, I used Shared Code Module to load classes upon startup of the application. I tried using the 3.2 SDK and what once worked for 3.1 does not work for 3.2. Does anyone know what has c

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-10-16 Thread donald_d_hook
All - thanks for your help. It is a bug with Adobe - here is the url. http://bugs.adobe.com/jira/browse/SDK-17120 Hyder mentioned at the very beginning of the thread - thanks --- In flexcoders@yahoogroups.com, "donald_d_hook" <[EMAIL PROTECTED]> wrote: > > _r

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-30 Thread donald_d_hook
_rico - you may be right. Thanks! --- In flexcoders@yahoogroups.com, "rleuthold" <[EMAIL PROTECTED]> wrote: > > Maybe the issue is related to this bug - http://bugs.adobe.com/jira/browse/SDK-15974 > > _rico > > --- In flexcoders@yahoogroups.com, &quo

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-27 Thread donald_d_hook
t; > > > > > So, when you click the 2nd tab, does the 2nd tab remain selected, or > > does it switch back to the first tab? If it stays on the 2nd tab, > are > > you still seeing the content from the first tab, or is it just > blank; > > until

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-27 Thread donald_d_hook
2nd tab, does the 2nd tab remain selected, or > does it switch back to the first tab? If it stays on the 2nd tab, are > you still seeing the content from the first tab, or is it just blank; > until you click the 2nd tab again? > > -TH > > --- In flexcoders@yahoogroups.com

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-27 Thread donald_d_hook
u click the 2nd tab, does the 2nd tab remain selected, or > does it switch back to the first tab? If it stays on the 2nd tab, are > you still seeing the content from the first tab, or is it just blank; > until you click the 2nd tab again? > > -TH > > --- In flexcoders@yahoogr

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-26 Thread donald_d_hook
u click the 2nd tab, does the 2nd tab remain selected, or > does it switch back to the first tab? If it stays on the 2nd tab, are > you still seeing the content from the first tab, or is it just blank; > until you click the 2nd tab again? > > -TH > > --- In flexcoders@yahoogr

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-26 Thread donald_d_hook
tor anywhere. Just guessing though; > without seeing the code. > > -TH > > --- In flexcoders@yahoogroups.com, "donald_d_hook" > wrote: > > > > TH - > > > > THanks - I will give it a shot and see. > > > > > > --- In flexcoders@

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-26 Thread donald_d_hook
instantiation and creationPolicy? > > > > > > > > > > > > Tracy > > > > > > > > > > > > > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] > On &

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-26 Thread donald_d_hook
tionPolicy='all', but it din't > worked. > > > > -Manu. > > > > > > Tracy Spratt wrote: > > > > > > Are you programatically doing anything with the content of tab 2? > > > > > > > > > > > >

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-25 Thread donald_d_hook
h the content of tab 2? > > > > Do you understand about deferred instantiation and creationPolicy? > > > > Tracy > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of donald_d

[flexcoders] TabNavigator - have to click twice on tab to display page

2008-09-25 Thread donald_d_hook
I have a tab navigator with 3 tabs. Each tab has a canvas with several components on it. when the page is displayed, you see the 1st tab. When I navigate to the 2nd tab, I have to click the 2nd tab twice in order to view the contents of the tab. It looks like the first click on the 2nd tab

[flexcoders] TabNavigator - have to click twice on tab to display page

2008-09-25 Thread donald_d_hook
I have a tab navigator with 3 tabs. Each tab has a canvas with several components on it. when the page is displayed, you see the 1st tab. When I navigate to the 2nd tab, I have to click the 2nd tab twice in order to view the contents of the tab. It looks like the first click on the 2nd tab

[flexcoders] Re: Type Cast Error

2008-08-01 Thread donald_d_hook
-report, either the mainapps or the sharedcode module > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of donald_d_hook > Sent: Thursday, July 31, 2008 6:48 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Type Cast E

[flexcoders] Re: Type Cast Error

2008-07-31 Thread donald_d_hook
will use that definition and won't use or > need their own in the module. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of donald_d_hook > Sent: Thursday, July 31, 2008 6:58 AM > To: fl

[flexcoders] Re: Type Cast Error

2008-07-31 Thread donald_d_hook
will use that definition and won't use or > need their own in the module. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of donald_d_hook > Sent: Thursday, July 31, 2008 6:58 AM > To: flexcode

[flexcoders] Re: Type Cast Error

2008-07-31 Thread donald_d_hook
> presentation. It tries to show you that once you get StockVO in the > main apps' AppDom, all modules will use that definition and won't use or > need their own in the module. > > > > > > From: flexcoders@yahoogroups.com [ma

[flexcoders] Re: Type Cast Error

2008-07-31 Thread donald_d_hook
> presentation. It tries to show you that once you get StockVO in the > main apps' AppDom, all modules will use that definition and won't use or > need their own in the module. > > > > > > From: flexcoders@yahoogroups.com [mailt

[flexcoders] Re: Type Cast Error

2008-07-31 Thread donald_d_hook
OK - I changed one module by removing the imports - now the module doesnt load and I dont see any compile errors. --- In flexcoders@yahoogroups.com, "donald_d_hook" <[EMAIL PROTECTED]> wrote: > > So no need to have an import in the module? > > --- In flexcoders@

[flexcoders] Re: Type Cast Error

2008-07-31 Thread donald_d_hook
OK - I changed one module by removing the imports - now the module doesnt load and I dont see any compile errors. --- In flexcoders@yahoogroups.com, "donald_d_hook" <[EMAIL PROTECTED]> wrote: > > So no need to have an import in the module? > > --- In flexcoders@

[flexcoders] Re: Type Cast Error

2008-07-31 Thread donald_d_hook
gt; main apps' AppDom, all modules will use that definition and won't use or > need their own in the module. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of donald_d_hook > Sent: Thursda

[flexcoders] Re: Type Cast Error

2008-07-31 Thread donald_d_hook
he other modules. You > don't have to "get it from the main module", it will simply be there > ready for use. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of donald_d_hook > Sen

[flexcoders] Re: Type Cast Error

2008-07-31 Thread donald_d_hook
l so it won't matter. The > SharedCode Module pattern is for heavy things. > > > > ____ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of donald_d_hook > Sent: Wednesday, July 30, 2008 5:52 PM > To: fle

[flexcoders] Re: Type Cast Error

2008-07-31 Thread donald_d_hook
ppings of "different" classes > for deserialization. Don't try to fight it, either put the VO's in the > main app or create a shared code module. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On >

[flexcoders] Re: Type Cast Error

2008-07-31 Thread donald_d_hook
to use StockVO in both modules is to get it > linked into the main app. Most VOs are small so it won't matter. The > SharedCode Module pattern is for heavy things. > > > > ____ > > From: flexcoders@yahoogroups.com [mailto:[EMA

[flexcoders] Re: Type Cast Error

2008-07-31 Thread donald_d_hook
l so it won't matter. The > SharedCode Module pattern is for heavy things. > > > > ____ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of donald_d_hook > Sent: Wednesday, July 30, 2008 5:52 PM > To: fle

[flexcoders] Re: Type Cast Error

2008-07-30 Thread donald_d_hook
gt; modules presentation on my blog. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of donald_d_hook > Sent: Wednesday, July 30, 2008 10:22 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Type Cast Error > > &

[flexcoders] Re: Type Cast Error

2008-07-30 Thread donald_d_hook
___ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of donald_d_hook > Sent: Wednesday, July 30, 2008 10:22 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Type Cast Error > > > > I receive a type cast

[flexcoders] Type Cast Error

2008-07-30 Thread donald_d_hook
I receive a type cast error when I try to cast an object I received from the server (an arraycollection of value objects). I get the following: TypeError: Error #1034: Type Coercion failed: cannot convert com.spinnaker.model::[EMAIL PROTECTED] to com.spinnaker.model.StockVO The actionscript obje