I enjoyed reading Roger Gonzalez's excellent article on RSLs and have been experimenting with the "loadit.mxml" example he created.
http://www.macromedia.com/devnet/flex/articles/rsl.html One problem I found is when you launch two different Flex applications at the same time within a single browser session. If both Flex apps use RSLs, only one will successfully load. The other SWF fails to launch and displays the "RSL Load Failed!/Please reload." error on the progress bar. I simplified the constructObject function in loadit.mxml to a bare minimum in hopes of finding the problem. I also added a second MovieClipLoader (not really necessary) in case a single MCL was the issue. function constructObject() { mcl = new MovieClipLoader(); createEmptyMovieClip("clip", 20); mcl2 = new MovieClipLoader(); createEmptyMovieClip("clip2", 30); mcl.loadClip( "app2.mxml.swf", clip ); mcl2.loadClip( "app3.mxml.swf", clip2 ); } The two Flex apps do not have to be referencing the same RSL. I tried launching app2.mxml and app3.mxml (from the article's examples) and received the same error. These two examples use different RSLs. Sometimes app2 succeeds and app3 fails. Other times, it's the reverse. Seeding the browser cache with the RSLs first (by running all the apps by themselves first) does not help. I tested two Flex apps that do not use RSLs, and they both loaded correctly (two different progress bars appeared which looks strange but was expected). I also tested loading two apps with only one app that used an RSL (app1.mxml and app2.mxml). This also worked successfully. I understand that launching a MovieClip instance without using "Application" is "undocumented and unsupported", however I was hoping "someone in the know" might shed some light on this issue. It seems like this should work since launching two non- RSL apps works correctly. Thanks! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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/

