[flexcoders] Re: HttpService not called the first time

2007-11-29 Thread gers32
Thanks for the example, Tracy.

RE: [flexcoders] Re: HttpService not called the first time

2007-11-28 Thread Tracy Spratt
; ... } }//onResult From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Wednesday, November 28, 2007 1:52 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: HttpService not called the first time Data

RE: [flexcoders] Re: HttpService not called the first time

2007-11-28 Thread Tracy Spratt
, November 28, 2007 2:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: HttpService not called the first time Hi Tracy, That's a good idea. Now, I'm wondering what the trade off is between one HttpService per Component (bigger SWF file size, but parallel requests thus faster data

RE: [flexcoders] Re: HttpService not called the first time

2007-11-27 Thread Tracy Spratt
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gers32 Sent: Monday, November 26, 2007 6:30 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: HttpService not called the first time Being a Flex newbie, I can only think of one way to solve this dilemma (assuming I ever encounter

[flexcoders] Re: HttpService not called the first time

2007-11-27 Thread gers32
Hi Tracy, That's a good idea. Now, I'm wondering what the trade off is between one HttpService per Component (bigger SWF file size, but parallel requests thus faster data access on multi-processor boxes?) and one single HttpService for the whole application (smaller SWF file, but sequential thus

[flexcoders] Re: HttpService not called the first time

2007-11-26 Thread gers32
Being a Flex newbie, I can only think of one way to solve this dilemma (assuming I ever encounter performance problems at startup): I thought it was a good idea to implement each HttpService in the Component that displays the retrieved data, which is saved to an application-wide Model, accessible

RE: [flexcoders] Re: HttpService not called the first time

2007-11-25 Thread Tracy Spratt
] On Behalf Of per.olesen Sent: Thursday, November 22, 2007 4:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: HttpService not called the first time Hi, Maybe you should try setting creationPolicy=all on your TabBar. By default, it first creates the child components when someone

[flexcoders] Re: HttpService not called the first time

2007-11-22 Thread per.olesen
Hi, Maybe you should try setting creationPolicy=all on your TabBar. By default, it first creates the child components when someone tabs into it. If you set it to all, all child controls will be created up-front (which can be expensive, if you have many that are complex). See:

[flexcoders] Re: HttpService not called the first time

2007-11-22 Thread gers32
Thank you so much Per, I set creationPolicy=all on the ViewStack and it immediately solved my problem. Cheers, Chris. --- In flexcoders@yahoogroups.com, per.olesen [EMAIL PROTECTED] wrote: Hi, Maybe you should try setting creationPolicy=all on your TabBar. By default, it first creates the