In my RSL article, I talk a little bit about the performance benefits of writing a shell app to load your other apps. This should get rid of the screen refresh problem.
Cheers, -Roger Roger Gonzalez mailto:[EMAIL PROTECTED] > -----Original Message----- > From: James Ward [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 03, 2005 10:11 AM > To: [email protected] > Subject: RE: [flexcoders] dynamic rsl loading > > > Thanks Roger. I hear this will be addressed in Flash 8. :) > > Until then, we are just using different mxml apps and it's > working fine > except the screen refresh when moving between them. (Which is > ok because > it only happens when a user logs in) > > -James > > > On Thu, 2005-03-03 at 12:57 -0500, Roger Gonzalez wrote: > > Apologies for not responding sooner, I've been up to my > eyeballs in work. > > > > Unfortunately, RSLs don't quite meet your needs - there is no way to > > choreograph when they get loaded in Flex. They're much > more for bandwidth > > optimization than phased startup. > > > > http://www.macromedia.com/devnet/flex/articles/rsl.html > > > > You can get a fair distance by making a bunch of > "mini-apps" that you > > dynamically load. Each mini-app can then load a common RSL > as necessary in > > order to keep the size down. > > > > The down side is that there are a fair number of > restrictions on how these > > "mini-apps" can interact with the parent app and peer apps. > > > > Its worth a look, though. > > > > -Roger > > > > Roger Gonzalez > > mailto:[EMAIL PROTECTED] > > > > > > > -----Original Message----- > > > From: James Ward [mailto:[EMAIL PROTECTED] > > > Sent: Saturday, February 26, 2005 1:01 PM > > > To: [email protected] > > > Subject: [flexcoders] dynamic rsl loading > > > > > > > > > Has anyone dealt with loading different rsl's depending > on the url or > > > some other parameter? > > > > > > What I would like to do is split my application up into > small pieces. > > > If a user has accessed my application but not logged in I > don't want > > > them to have to download the rsl for everything, just the one > > > for login, > > > registration, etc. Once the user logs in, some things (like > > > navigation) > > > stay the same, but now the user can see more stuff. So I > > > would like to > > > load an additional rsl. All using the same base mxml file. > > > > > > Any ideas? > > > > > > Thanks. > > > > > > -James > > > > > > > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > Yahoo! Groups Links > > > > > > >

