[flexcoders] RSLs defaults.css

2009-07-01 Thread t0ml33
I'm including the Flex framework as a linked RSL, and also have another library 
that I'm including as a linked RSL.  The custom library contains a defaults.css 
file in which I have some styles for the Alert control, using a type selector.  
Oddly, the styles do not apply correctly unless I change one of the RSLs to 
merged into code - and it doesn't seem to matter which one.  In fact, if I 
have a third RSL that does not contain a defaults.css and I merge that one into 
code, the other styles apply fine.  

Does anyone have experience with this kind of scenario?  See this weirdness 
before?  Have any insights into the initialization of RSLs?

Thanks...



[flexcoders] RSLs

2007-09-19 Thread arieljake
I switched my main Flex Project to load two Flex Library Projects as
RSLs instead of as Merged Code to see if I can improve the efficiency
of my project. Now I see this in the Console:

[SWF] /website/bin/ExtendedLib.swf - 1,752,574 bytes after decompression
[SWF] /website/bin/MainLib.swf - 2,345,628 bytes after decompression
[Unload SWF] /website/bin/ExtendedLib.swf
[Unload SWF] /website/bin/MainLib.swf

And I'm noticing a long time to load modules loaded at runtime and I
think it is due to the time it takes to load SWF/unload SWF.

I thought that RSL's are loaded only once. I assume they are not being
retrieved multiple times from the server, but why are they being
loaded and unloaded multiple times?

Thanks,

Ariel



RE: [flexcoders] RSLs

2007-09-19 Thread Alex Harui
RSLs will not speed up single application.  They are for sharing code
between apps in a single domain.

 

Are your modules still optimized?  How big are they?  Someone else
switched to RSL and then the set of externs changed and their modules
got bigger.  You have to extern the RSL classes.

 

RSLs will get retrieved from the server if they get flushed from the
browser cache.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of arieljake
Sent: Wednesday, September 19, 2007 9:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] RSLs

 

I switched my main Flex Project to load two Flex Library Projects as
RSLs instead of as Merged Code to see if I can improve the efficiency
of my project. Now I see this in the Console:

[SWF] /website/bin/ExtendedLib.swf - 1,752,574 bytes after decompression
[SWF] /website/bin/MainLib.swf - 2,345,628 bytes after decompression
[Unload SWF] /website/bin/ExtendedLib.swf
[Unload SWF] /website/bin/MainLib.swf

And I'm noticing a long time to load modules loaded at runtime and I
think it is due to the time it takes to load SWF/unload SWF.

I thought that RSL's are loaded only once. I assume they are not being
retrieved multiple times from the server, but why are they being
loaded and unloaded multiple times?

Thanks,

Ariel