Saurabh has already written most of things.

Standard (flex framework, osmf, etc. ) RSLs work across different domains.

f.ex: If user has used any other flex app with RSLs, libraries get cached.
When user uses your app, with same set of RSLs, cached libraries would be
used.

-abdul


On Thu, Aug 12, 2010 at 9:54 PM, Saurabh Narula <
[email protected]> wrote:

> Hello,
>
> I would suggest you to be thorough with this doc
> http://livedocs.adobe.com/flex/3/html/help.html?content=rsl_09.html.
>
> You need to understand what RSLs achieve for you. Flex framework is nothing
> but a bunch of classes implemented over Flash Player APIs, when you create a
> flex project you are building a project using all the classes required to
> build your "Flex" project, so by default the flex framework which is close
> to 150kb would be included/compiled if you create a flex project. If you
> create an actionscript only project then you would see that flex framework
> would not be included by default and your swf size would
> be considerably low.
>
> RSLs on the hand has a different purpose, if the client request for a swf
> file (built using a flex framework), the flash player client will load the
> full swf file along with the framework classes, this will happen again n
> again if you donot seprate out the framework signed RSL. if you compile
> using a framework RSL then your swf size would be cosiderably small, your
> framework(RSL) would only be loaded once in the flash player(cached),
> repeated requests to the swf file would not load the flex framework classes
> as they already available to the flash player in its cache.
>
> Hope this helps!
>
> Saurabh
> http://blog.saurabhnarula.com/
>
>
>
>
>
>
> On Tue, Aug 10, 2010 at 5:59 PM, Khalid Chaudhary <
> [email protected]> wrote:
>
>> Hello All,
>>
>> 1] when you create a new flex project and then do the Release Build. You
>> will see the size of the *main.swf* is *168KB*.
>>
>>        When you dont have any thing in the *main.mxml* except this three
>> lines:
>>
>> <?xml version="1.0" encoding="utf-8"?>
>>
>> <mx:Application
>> xmlns:mx="http://www.adobe.com/2006/mxml"; layout="absolute">
>>
>> </mx:Application>
>> Why the generated *main.swf* have size of 168KB?
>>
>> 2] But, when we  implement RSL for *rpc.swf*, *framework_3.2.0.3958.swz,
>> * *framework_3.2.0.3958.swf* and *flex.swf,*  the generated SWF file is*64KB
>> *.
>>
>> After RSL ,  the size of *main.swf* goes down to *64KB .*
>> Is this the minimum size for the swf.
>>
>> Thanks and Regards
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Flex India Community" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<flex_india%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>



-- 
-abdul
---------------------------------------
http://abdulqabiz.com/blog/
---------------------------------------

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to