SWF, JPG, PNG, GIF are already an efficient delivery format.  Often, encoding 
of efficient things leads to inefficiencies.

AMF is for plain data.  It can be more efficient than representing the object 
in XML.

Putting optional code in Modules and only loading them when needed is your best 
bet.

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

From: [email protected] [mailto:[email protected]] On Behalf 
Of shyam_29
Sent: Monday, September 21, 2009 11:06 AM
To: [email protected]
Subject: [flexcoders] Re: Flex Module loading via AMF



HI Alex,

Thanks for the reply. i was under the assumption that since amf is a 
compact/efficient binary format, using it might give me a bit more optimized 
loading for my module and thus save me some app loading time.

My application, as it stands now, doesnt use AMF. But me thinking of 
integrating Blazeds and use amf channels if, if and only if, its going to give 
me any added advantage in loading time while loading assets (images and xmls in 
my case). I will be spiking this with sample apps but before that,is it really 
worth the effort.?

/Shyam

--- In [email protected]<mailto:flexcoders%40yahoogroups.com>, Alex 
Harui <aha...@...> wrote:
>
> Why do you need to use AMF to load the module? Why not just load it normally?
>
> A module is a SWF though so you can bring it in as a bytearray and use the 
> third parameter to IModuleInfo.load
>
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.<http://www.adobe.com/>
> Blog: http://blogs.adobe.com/aharui
>
> From: [email protected]<mailto:flexcoders%40yahoogroups.com> 
> [mailto:[email protected]<mailto:flexcoders%40yahoogroups.com>] On 
> Behalf Of shyam_29
> Sent: Monday, September 21, 2009 1:59 AM
> To: [email protected]<mailto:flexcoders%40yahoogroups.com>
> Subject: [flexcoders] Flex Module loading via AMF
>
>
>
> Fellow coders.
>
> how do i load a module, via AMF?. I'm able to load assests 
> (images,xmls,swfs..etc) via the usage of HttpService with an amf channel, but 
> fail to find a way to load modules.
>
> The queston of why i'm doing this: AMF is supposed to be faster when dealing 
> with binary data and so if i can load my swfs from my server via AMF(using 
> BlazeDs), i can make my application load faster. Please correct me if i'm 
> wrong.
>
> Currenlty i use ModuleLoader to do the loading and everything works well, 
> except that my big application is taking a a bit more time to load than 
> desired.
>
> /Shyam
>

Reply via email to