[flexcoders] Re: Horrible... 3 seconds initialization time for the first frame? Frustrated....

2009-07-21 Thread Dan
Wow, thanks for your advances, then i would like to ask, by replacing these 
class, how can i at the same time make use of the framework.swz to compile 
those small modules swf? As there may be case which Main App may not include 
all the class in framework.swc and thus in link-report does not include those 
class. Then the use of an modified SDK unsigned framework.swc means removed the 
ability to cached signed framework class. Or actually, during compilation of 
these small swfs, I should use load-extern for the modified SDK framework?

Dan

--- In flexcoders@yahoogroups.com, Anatole Tartakovsky 
 wrote:
>
> Dan,   The classes explicitly referenced in SystemManager are always linked
> in the first frame. That said, given the fact that you have open source SDK,
> you can play quite a few tricks on Flex/linker.
> First, if you are loading in the application domain you can place your own
> SystemManager of ~0 size with no references in your modules code hence
> removing all the baggage you are complaining about.
> Second, on
> RSLItem and more importantly on RSLItemsLoader classes - you can
> implement modifications in the source code to minimize number of
> server requests for RSLs already loaded, do multistreaming in some
> cases and customize loading process in runtime to your liking.
> You are on open source platform - anything goes.
> 
> I believe some of these tricks are documented in application performance
> chapter in our upcoming flex book from oreilly - should be out soon.
> Regards
> Anatole Tartakovsky
> Farata Systems
> 
> 
> 
> On Wed, Jul 8, 2009 at 12:46 AM, Alex Harui  wrote:
> 
> >
> >
> >  What goes on in server communications is not my area.  Try posting again
> > with RPC or AMF in the subject.  It might then get read by those experts.
> >
> >
> >
> > I thought utility.swc got folded into framework.swc as well.  Flex.swc is
> > for folks not using the UI framework.
> >
> >
> >
> > Any classes used in Frame1 cannot be offloaded to the RSL.  We did some
> > refactoring in Flex4 so more classes can get offloaded to the RSL.
> >
> >
> >
> > Anything you don't need at startup should be in a module that gets loaded
> > later.
> >
> >
> >
> > Alex Harui
> >
> > Flex SDK Developer
> >
> > Adobe Systems Inc. <http://www.adobe.com/>
> >
> > Blog: http://blogs.adobe.com/aharui
> >
> >
> >
> > *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
> > Behalf Of *Dan
> > *Sent:* Tuesday, July 07, 2009 1:51 AM
> > *To:* flexcoders@yahoogroups.com
> > *Subject:* [flexcoders] Re: Horrible... 3 seconds initialization time for
> > the first frame? Frustrated
> >
> >
> >
> >
> >
> >
> >  Hi,
> >
> > First of all, thanks for your response!
> > Thanks for reminding about the progressive download, I think the 3 seconds
> > is still to that response time which I mislead by the Charles figure and
> > think that it already downloaded.
> >
> > But there is still one thing that delay the first AMF call. I noticed there
> > is an unknown amfsecure (yes, i am using https) call before any amfsecure
> > call issue, and it make a one second delay. Is that for estabishing the
> > channel? Anyway to improve this?
> >
> > Cached framework for framework.swz, rpc.swz and datavisualization has been
> > used. BTW, why signed library for utility.swc and flex.swc are not
> > available, because they are too small???
> >
> > Last but not least, is it true that , some of the class like RSLItem from
> > Adobe, even we use link-report, cannot be removed from a swf? Cause with an
> > parent application with hundreds of modules to load, that small amount of
> > depulication in modules means a great issue in terms of total bandwitdh
> > cost..
> >
> > Regards
> > Dan
> >
> > --- In flexcoders@yahoogroups.com , Alex
> > Harui  wrote:
> > >
> > > Using the cached framework should help.
> > >
> > > If you test from FlexBuilder you may not get correct streaming. Try
> > testing using http: instead of file:
> > >
> > > Also, there is a bug if you use # in the URL. It blocks streaming of the
> > SWF and delays startup time. Do you see a progress bar at all?
> > >
> > > Alex Harui
> > > Flex SDK Developer
> > > Adobe Systems Inc.<http://www.adobe.com/>
> > > Blog: http://blogs.adobe.com/aharui
> > >
> > > From: flexcoders@yahoogroups.com  [mailto:
> > flexcoders@yahoogroups.

RE: [flexcoders] Re: Horrible... 3 seconds initialization time for the first frame? Frustrated....

2009-07-08 Thread Alex Harui
You can fake a link-report or use compiler options to exclude any class you 
want.

In Flex3 ResourceMgr is baked into frame1 so it will be linked in.  In Flex4 it 
wont.  If you're not shipping until after October or so, you might want to move 
to Flex 4.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Dan
Sent: Wednesday, July 08, 2009 3:29 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Horrible... 3 seconds initialization time for the 
first frame? Frustrated





One more question, the ResourceManager are new element in Flex3, what if we 
don't want that (we have our own language bundle) can we removed that? As from 
the rpt file, there are so many new classes introduced in Flex 3, is there any 
compilation arguement have to be set, from livedocs, it seems even we set the 
language to null, by default it set as us_en.

Dan

--- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, "Dan" 
 wrote:
>
> Hi Alex,
>
> Thanks, then my question is, can the classes in Frame1 of a Module be 
> offloaded to RSL or by Link-Report?
>
> My applications are using nearlly hundred of Module, maybe due to what you 
> mentioned about Frame1 class cannot be offloaded, Flex 3 has much more 
> classes in Frame1 then in Flex 2. In Flex 2, some of the Modules of my 
> application has only a few bytes, but in Flex 3, they become 4 TIME LARGER!!!
>
> So, even a Module Frame1 code cannot be offLoaded? (These classes should be 
> in the application already...) That is quite a bad news, as the total Modules 
> size of the application now has nearlly DOUBLE for nothing...
>
> Any good suggestion?
>
> Regards
> Dan
>
> --- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, Alex 
> Harui  wrote:
> >
> > What goes on in server communications is not my area. Try posting again 
> > with RPC or AMF in the subject. It might then get read by those experts.
> >
> > I thought utility.swc got folded into framework.swc as well. Flex.swc is 
> > for folks not using the UI framework.
> >
> > Any classes used in Frame1 cannot be offloaded to the RSL. We did some 
> > refactoring in Flex4 so more classes can get offloaded to the RSL.
> >
> > Anything you don't need at startup should be in a module that gets loaded 
> > later.
> >
> > Alex Harui
> > Flex SDK Developer
> > Adobe Systems Inc.<http://www.adobe.com/>
> > Blog: http://blogs.adobe.com/aharui
> >
> > From: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com> 
> > [mailto:flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>] On 
> > Behalf Of Dan
> > Sent: Tuesday, July 07, 2009 1:51 AM
> > To: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>
> > Subject: [flexcoders] Re: Horrible... 3 seconds initialization time for the 
> > first frame? Frustrated
> >
> >
> >
> >
> >
> > Hi,
> >
> > First of all, thanks for your response!
> > Thanks for reminding about the progressive download, I think the 3 seconds 
> > is still to that response time which I mislead by the Charles figure and 
> > think that it already downloaded.
> >
> > But there is still one thing that delay the first AMF call. I noticed there 
> > is an unknown amfsecure (yes, i am using https) call before any amfsecure 
> > call issue, and it make a one second delay. Is that for estabishing the 
> > channel? Anyway to improve this?
> >
> > Cached framework for framework.swz, rpc.swz and datavisualization has been 
> > used. BTW, why signed library for utility.swc and flex.swc are not 
> > available, because they are too small???
> >
> > Last but not least, is it true that , some of the class like RSLItem from 
> > Adobe, even we use link-report, cannot be removed from a swf? Cause with an 
> > parent application with hundreds of modules to load, that small amount of 
> > depulication in modules means a great issue in terms of total bandwitdh 
> > cost..
> >
> > Regards
> > Dan
> >
> > --- In 
> > flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com><mailto:flexcoders%40yahoogroups.com>,
> >  Alex Harui  wrote:
> > >
> > > Using the cached framework should help.
> > >
> > > If you test from FlexBuilder you may not get correct streaming. Try 
> > > testing using http: instead of file:
> > >
> > > Also, there is a bug if you use # in the URL. It 

Re: [flexcoders] Re: Horrible... 3 seconds initialization time for the first frame? Frustrated....

2009-07-08 Thread Anatole Tartakovsky
Dan,   The classes explicitly referenced in SystemManager are always linked
in the first frame. That said, given the fact that you have open source SDK,
you can play quite a few tricks on Flex/linker.
First, if you are loading in the application domain you can place your own
SystemManager of ~0 size with no references in your modules code hence
removing all the baggage you are complaining about.
Second, on
RSLItem and more importantly on RSLItemsLoader classes - you can
implement modifications in the source code to minimize number of
server requests for RSLs already loaded, do multistreaming in some
cases and customize loading process in runtime to your liking.
You are on open source platform - anything goes.

I believe some of these tricks are documented in application performance
chapter in our upcoming flex book from oreilly - should be out soon.
Regards
Anatole Tartakovsky
Farata Systems



On Wed, Jul 8, 2009 at 12:46 AM, Alex Harui  wrote:

>
>
>  What goes on in server communications is not my area.  Try posting again
> with RPC or AMF in the subject.  It might then get read by those experts.
>
>
>
> I thought utility.swc got folded into framework.swc as well.  Flex.swc is
> for folks not using the UI framework.
>
>
>
> Any classes used in Frame1 cannot be offloaded to the RSL.  We did some
> refactoring in Flex4 so more classes can get offloaded to the RSL.
>
>
>
> Anything you don’t need at startup should be in a module that gets loaded
> later.
>
>
>
> Alex Harui
>
> Flex SDK Developer
>
> Adobe Systems Inc. <http://www.adobe.com/>
>
> Blog: http://blogs.adobe.com/aharui
>
>
>
> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
> Behalf Of *Dan
> *Sent:* Tuesday, July 07, 2009 1:51 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Re: Horrible... 3 seconds initialization time for
> the first frame? Frustrated
>
>
>
>
>
>
>  Hi,
>
> First of all, thanks for your response!
> Thanks for reminding about the progressive download, I think the 3 seconds
> is still to that response time which I mislead by the Charles figure and
> think that it already downloaded.
>
> But there is still one thing that delay the first AMF call. I noticed there
> is an unknown amfsecure (yes, i am using https) call before any amfsecure
> call issue, and it make a one second delay. Is that for estabishing the
> channel? Anyway to improve this?
>
> Cached framework for framework.swz, rpc.swz and datavisualization has been
> used. BTW, why signed library for utility.swc and flex.swc are not
> available, because they are too small???
>
> Last but not least, is it true that , some of the class like RSLItem from
> Adobe, even we use link-report, cannot be removed from a swf? Cause with an
> parent application with hundreds of modules to load, that small amount of
> depulication in modules means a great issue in terms of total bandwitdh
> cost..
>
> Regards
> Dan
>
> --- In flexcoders@yahoogroups.com , Alex
> Harui  wrote:
> >
> > Using the cached framework should help.
> >
> > If you test from FlexBuilder you may not get correct streaming. Try
> testing using http: instead of file:
> >
> > Also, there is a bug if you use # in the URL. It blocks streaming of the
> SWF and delays startup time. Do you see a progress bar at all?
> >
> > Alex Harui
> > Flex SDK Developer
> > Adobe Systems Inc.<http://www.adobe.com/>
> > Blog: http://blogs.adobe.com/aharui
> >
> > From: flexcoders@yahoogroups.com  [mailto:
> flexcoders@yahoogroups.com ] On Behalf Of
> Dan
> > Sent: Monday, July 06, 2009 8:56 PM
> > To: flexcoders@yahoogroups.com 
> > Subject: [flexcoders] Horrible... 3 seconds initialization time for the
> first frame? Frustrated
> >
> >
> >
> >
> >
> > Hi,
> >
> > Does anyone have any idea on why it takes nearlly 3 to 4 seconds after a
> swf completely downloaded, is it SystemManager initialized and go to the
> second frame of the movie?
> >
> > It is such a great penality for an web application.
> > Should I put tasks, such as automatic login to the preloader, in order to
> shorten this penality period??? Otherwise, no matter whatever tuning
> techique flexcoders applied, the Adobe penality is still too great.
> >
> > I understand there should be initialization time, and that may depends on
> the client machine configuration. However, for a simplest swf with an
>  tag only mxml, a log is being output on the onEnterFrame
> event, it already takes 3 to 4 seconds for the first log after the swf
> complete download, (time logged from Charles), it is so frustrated...
> >
> > Does it means that we have no way for a faster response time if we choose
> Flex? (Didn't mention about the download time for swf already...)
> >
> > Anyone can help?
> > Dan
> >
>
>   
>


[flexcoders] Re: Horrible... 3 seconds initialization time for the first frame? Frustrated....

2009-07-08 Thread Dan
One more question, the ResourceManager are new element in Flex3, what if we 
don't want that (we have our own language bundle) can we removed that? As from 
the rpt file, there are so many new classes introduced in Flex 3, is there any 
compilation arguement have to be set, from livedocs, it seems even we set the 
language to null, by default it set as us_en.

Dan

--- In flexcoders@yahoogroups.com, "Dan"  wrote:
>
> Hi Alex,
> 
> Thanks, then my question is, can the classes in Frame1 of a Module be 
> offloaded to RSL or by Link-Report? 
> 
> My applications are using nearlly hundred of Module, maybe due to what you 
> mentioned about Frame1 class cannot be offloaded, Flex 3 has much more 
> classes in Frame1 then in Flex 2. In Flex 2, some of the Modules of my 
> application has only a few bytes, but in Flex 3, they become 4 TIME LARGER!!! 
> 
> So, even a Module Frame1 code cannot be offLoaded? (These classes should be 
> in the application already...) That is quite a bad news, as the total Modules 
> size of the application now has nearlly DOUBLE for nothing...
> 
> Any good suggestion?
> 
> Regards
> Dan
> 
> --- In flexcoders@yahoogroups.com, Alex Harui  wrote:
> >
> > What goes on in server communications is not my area.  Try posting again 
> > with RPC or AMF in the subject.  It might then get read by those experts.
> > 
> > I thought utility.swc got folded into framework.swc as well.  Flex.swc is 
> > for folks not using the UI framework.
> > 
> > Any classes used in Frame1 cannot be offloaded to the RSL.  We did some 
> > refactoring in Flex4 so more classes can get offloaded to the RSL.
> > 
> > Anything you don't need at startup should be in a module that gets loaded 
> > later.
> > 
> > Alex Harui
> > Flex SDK Developer
> > Adobe Systems Inc.<http://www.adobe.com/>
> > Blog: http://blogs.adobe.com/aharui
> > 
> > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> > Behalf Of Dan
> > Sent: Tuesday, July 07, 2009 1:51 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: Horrible... 3 seconds initialization time for the 
> > first frame? Frustrated
> > 
> > 
> > 
> > 
> > 
> > Hi,
> > 
> > First of all, thanks for your response!
> > Thanks for reminding about the progressive download, I think the 3 seconds 
> > is still to that response time which I mislead by the Charles figure and 
> > think that it already downloaded.
> > 
> > But there is still one thing that delay the first AMF call. I noticed there 
> > is an unknown amfsecure (yes, i am using https) call before any amfsecure 
> > call issue, and it make a one second delay. Is that for estabishing the 
> > channel? Anyway to improve this?
> > 
> > Cached framework for framework.swz, rpc.swz and datavisualization has been 
> > used. BTW, why signed library for utility.swc and flex.swc are not 
> > available, because they are too small???
> > 
> > Last but not least, is it true that , some of the class like RSLItem from 
> > Adobe, even we use link-report, cannot be removed from a swf? Cause with an 
> > parent application with hundreds of modules to load, that small amount of 
> > depulication in modules means a great issue in terms of total bandwitdh 
> > cost..
> > 
> > Regards
> > Dan
> > 
> > --- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, 
> > Alex Harui  wrote:
> > >
> > > Using the cached framework should help.
> > >
> > > If you test from FlexBuilder you may not get correct streaming. Try 
> > > testing using http: instead of file:
> > >
> > > Also, there is a bug if you use # in the URL. It blocks streaming of the 
> > > SWF and delays startup time. Do you see a progress bar at all?
> > >
> > > Alex Harui
> > > Flex SDK Developer
> > > Adobe Systems Inc.<http://www.adobe.com/>
> > > Blog: http://blogs.adobe.com/aharui
> > >
> > > From: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com> 
> > > [mailto:flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>] 
> > > On Behalf Of Dan
> > > Sent: Monday, July 06, 2009 8:56 PM
> > > To: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>
> > > Subject: [flexcoders] Horrible... 3 seconds initialization time for the 
> > > first frame? Frustrated
> > >
> > >
> > >
> > >
> > >
> > > Hi,
> > 

[flexcoders] Re: Horrible... 3 seconds initialization time for the first frame? Frustrated....

2009-07-08 Thread Dan
Hi Alex,

Thanks, then my question is, can the classes in Frame1 of a Module be offloaded 
to RSL or by Link-Report? 

My applications are using nearlly hundred of Module, maybe due to what you 
mentioned about Frame1 class cannot be offloaded, Flex 3 has much more classes 
in Frame1 then in Flex 2. In Flex 2, some of the Modules of my application has 
only a few bytes, but in Flex 3, they become 4 TIME LARGER!!! 

So, even a Module Frame1 code cannot be offLoaded? (These classes should be in 
the application already...) That is quite a bad news, as the total Modules size 
of the application now has nearlly DOUBLE for nothing...

Any good suggestion?

Regards
Dan

--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> What goes on in server communications is not my area.  Try posting again with 
> RPC or AMF in the subject.  It might then get read by those experts.
> 
> I thought utility.swc got folded into framework.swc as well.  Flex.swc is for 
> folks not using the UI framework.
> 
> Any classes used in Frame1 cannot be offloaded to the RSL.  We did some 
> refactoring in Flex4 so more classes can get offloaded to the RSL.
> 
> Anything you don't need at startup should be in a module that gets loaded 
> later.
> 
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.<http://www.adobe.com/>
> Blog: http://blogs.adobe.com/aharui
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of Dan
> Sent: Tuesday, July 07, 2009 1:51 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Horrible... 3 seconds initialization time for the 
> first frame? Frustrated
> 
> 
> 
> 
> 
> Hi,
> 
> First of all, thanks for your response!
> Thanks for reminding about the progressive download, I think the 3 seconds is 
> still to that response time which I mislead by the Charles figure and think 
> that it already downloaded.
> 
> But there is still one thing that delay the first AMF call. I noticed there 
> is an unknown amfsecure (yes, i am using https) call before any amfsecure 
> call issue, and it make a one second delay. Is that for estabishing the 
> channel? Anyway to improve this?
> 
> Cached framework for framework.swz, rpc.swz and datavisualization has been 
> used. BTW, why signed library for utility.swc and flex.swc are not available, 
> because they are too small???
> 
> Last but not least, is it true that , some of the class like RSLItem from 
> Adobe, even we use link-report, cannot be removed from a swf? Cause with an 
> parent application with hundreds of modules to load, that small amount of 
> depulication in modules means a great issue in terms of total bandwitdh cost..
> 
> Regards
> Dan
> 
> --- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, Alex 
> Harui  wrote:
> >
> > Using the cached framework should help.
> >
> > If you test from FlexBuilder you may not get correct streaming. Try testing 
> > using http: instead of file:
> >
> > Also, there is a bug if you use # in the URL. It blocks streaming of the 
> > SWF and delays startup time. Do you see a progress bar at all?
> >
> > Alex Harui
> > Flex SDK Developer
> > Adobe Systems Inc.<http://www.adobe.com/>
> > Blog: http://blogs.adobe.com/aharui
> >
> > From: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com> 
> > [mailto:flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>] On 
> > Behalf Of Dan
> > Sent: Monday, July 06, 2009 8:56 PM
> > To: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>
> > Subject: [flexcoders] Horrible... 3 seconds initialization time for the 
> > first frame? Frustrated
> >
> >
> >
> >
> >
> > Hi,
> >
> > Does anyone have any idea on why it takes nearlly 3 to 4 seconds after a 
> > swf completely downloaded, is it SystemManager initialized and go to the 
> > second frame of the movie?
> >
> > It is such a great penality for an web application.
> > Should I put tasks, such as automatic login to the preloader, in order to 
> > shorten this penality period??? Otherwise, no matter whatever tuning 
> > techique flexcoders applied, the Adobe penality is still too great.
> >
> > I understand there should be initialization time, and that may depends on 
> > the client machine configuration. However, for a simplest swf with an 
> >  tag only mxml, a log is being output on the onEnterFrame 
> > event, it already takes 3 to 4 seconds for the first log after the swf 
> > complete download, (time logged from Charles), it is so frustrated...
> >
> > Does it means that we have no way for a faster response time if we choose 
> > Flex? (Didn't mention about the download time for swf already...)
> >
> > Anyone can help?
> > Dan
> >
>




RE: [flexcoders] Re: Horrible... 3 seconds initialization time for the first frame? Frustrated....

2009-07-07 Thread Alex Harui
What goes on in server communications is not my area.  Try posting again with 
RPC or AMF in the subject.  It might then get read by those experts.

I thought utility.swc got folded into framework.swc as well.  Flex.swc is for 
folks not using the UI framework.

Any classes used in Frame1 cannot be offloaded to the RSL.  We did some 
refactoring in Flex4 so more classes can get offloaded to the RSL.

Anything you don't need at startup should be in a module that gets loaded later.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Dan
Sent: Tuesday, July 07, 2009 1:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Horrible... 3 seconds initialization time for the 
first frame? Frustrated





Hi,

First of all, thanks for your response!
Thanks for reminding about the progressive download, I think the 3 seconds is 
still to that response time which I mislead by the Charles figure and think 
that it already downloaded.

But there is still one thing that delay the first AMF call. I noticed there is 
an unknown amfsecure (yes, i am using https) call before any amfsecure call 
issue, and it make a one second delay. Is that for estabishing the channel? 
Anyway to improve this?

Cached framework for framework.swz, rpc.swz and datavisualization has been 
used. BTW, why signed library for utility.swc and flex.swc are not available, 
because they are too small???

Last but not least, is it true that , some of the class like RSLItem from 
Adobe, even we use link-report, cannot be removed from a swf? Cause with an 
parent application with hundreds of modules to load, that small amount of 
depulication in modules means a great issue in terms of total bandwitdh cost..

Regards
Dan

--- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, Alex 
Harui  wrote:
>
> Using the cached framework should help.
>
> If you test from FlexBuilder you may not get correct streaming. Try testing 
> using http: instead of file:
>
> Also, there is a bug if you use # in the URL. It blocks streaming of the SWF 
> and delays startup time. Do you see a progress bar at all?
>
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.<http://www.adobe.com/>
> Blog: http://blogs.adobe.com/aharui
>
> From: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com> 
> [mailto:flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>] On 
> Behalf Of Dan
> Sent: Monday, July 06, 2009 8:56 PM
> To: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>
> Subject: [flexcoders] Horrible... 3 seconds initialization time for the first 
> frame? Frustrated
>
>
>
>
>
> Hi,
>
> Does anyone have any idea on why it takes nearlly 3 to 4 seconds after a swf 
> completely downloaded, is it SystemManager initialized and go to the second 
> frame of the movie?
>
> It is such a great penality for an web application.
> Should I put tasks, such as automatic login to the preloader, in order to 
> shorten this penality period??? Otherwise, no matter whatever tuning techique 
> flexcoders applied, the Adobe penality is still too great.
>
> I understand there should be initialization time, and that may depends on the 
> client machine configuration. However, for a simplest swf with an 
>  tag only mxml, a log is being output on the onEnterFrame event, 
> it already takes 3 to 4 seconds for the first log after the swf complete 
> download, (time logged from Charles), it is so frustrated...
>
> Does it means that we have no way for a faster response time if we choose 
> Flex? (Didn't mention about the download time for swf already...)
>
> Anyone can help?
> Dan
>



[flexcoders] Re: Horrible... 3 seconds initialization time for the first frame? Frustrated....

2009-07-07 Thread Dan
Hi,

First of all, thanks for your response!
Thanks for reminding about the progressive download, I think the 3 seconds is 
still to that response time which I mislead by the Charles figure and think 
that it already downloaded.

But there is still one thing that delay the first AMF call. I noticed there is 
an unknown amfsecure (yes, i am using https) call before any amfsecure call 
issue, and it make a one second delay. Is that for estabishing the channel? 
Anyway to improve this?

Cached framework for framework.swz, rpc.swz and datavisualization has been 
used. BTW, why signed library for utility.swc and flex.swc are not available, 
because they are too small???

Last but not least, is it true that , some of the class like RSLItem from 
Adobe, even we use link-report, cannot be removed from a swf? Cause with an 
parent application with hundreds of modules to load, that small amount of 
depulication in modules means a great issue in terms of total bandwitdh cost..

Regards
Dan




--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> Using the cached framework should help.
> 
> If you test from FlexBuilder you may not get correct streaming.  Try testing 
> using http: instead of file:
> 
> Also, there is a bug if you use # in the URL.  It blocks streaming of the SWF 
> and delays startup time.  Do you see a progress bar at all?
> 
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.
> Blog: http://blogs.adobe.com/aharui
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of Dan
> Sent: Monday, July 06, 2009 8:56 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Horrible... 3 seconds initialization time for the first 
> frame? Frustrated
> 
> 
> 
> 
> 
> Hi,
> 
> Does anyone have any idea on why it takes nearlly 3 to 4 seconds after a swf 
> completely downloaded, is it SystemManager initialized and go to the second 
> frame of the movie?
> 
> It is such a great penality for an web application.
> Should I put tasks, such as automatic login to the preloader, in order to 
> shorten this penality period??? Otherwise, no matter whatever tuning techique 
> flexcoders applied, the Adobe penality is still too great.
> 
> I understand there should be initialization time, and that may depends on the 
> client machine configuration. However, for a simplest swf with an 
>  tag only mxml, a log is being output on the onEnterFrame event, 
> it already takes 3 to 4 seconds for the first log after the swf complete 
> download, (time logged from Charles), it is so frustrated...
> 
> Does it means that we have no way for a faster response time if we choose 
> Flex? (Didn't mention about the download time for swf already...)
> 
> Anyone can help?
> Dan
>