I see - thanks for pointing this out. I need to share some core classes between 
some apps so I wondered why there's so much stuff in a basic RSL but your 
explanation makes perfectly sense.

Dirk.


-----Ursprüngliche Nachricht-----
Von: [email protected] im Auftrag von Roger Gonzalez
Gesendet: Do 16.06.2005 19:44
An: [email protected]
Betreff: RE: [flexcoders] All framework classes get compiled into RSL?
 
Brian is correct.  See my RSL article for additional details.

http://www.macromedia.com/devnet/flex/articles/rsl.html

Unfortunately, there are some rather bushy dependencies inside the 1.5
framework code (uiobjects keep track of their application which uses an
alert window which...) that make the "minimum frameworks buy-in" larger
than ideal.

Also note that there is little difference between putting stuff in the
app and putting it in the RSL unless you are sharing common code with
two apps.  Its all about amortized download performance. 

-Roger

Roger Gonzalez
mailto:[EMAIL PROTECTED]
 

> -----Original Message-----
> From: [email protected] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Brian Deitte
> Sent: Thursday, June 16, 2005 10:22 AM
> To: [email protected]
> Subject: RE: [flexcoders] All framework classes get compiled into RSL?
> 
> Hi Dirk, I'm not positive on this, but I don't think you actually have
> all of the framework in the SWC file.  I'd guess that you 
> wouldn't see,
> for instance, MediaDisplay in it.  You see more components than just
> Button because we will automatically include all 
> components/classes that
> Button needs- this includes a bulk of the core of the 
> framework.  -Brian
> 
> -----Original Message-----
> From: [email protected] 
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Dirk Eismann
> Sent: Thursday, June 16, 2005 10:20 AM
> To: [email protected]
> Subject: [flexcoders] All framework classes get compiled into RSL?
> 
> I try to package a subset of the Flex framework into a RSL 
> but I always
> get the whole framework compiled into the resulting SWC file.
> 
> Even with this bare-bone SWS file
> 
> <library>
>    <namespace uri="http://www.macromedia.com/2003/mxml"; all="false">
>         <component name="Button" />
>    </namespace>
> </library>
> 
> the resulting SWC is 352 KB in size and contains every class.
> 
> Ideas?
> 
> Dirk.
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 


 
Yahoo! Groups Links



 






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<<winmail.dat>>

Reply via email to