Chris, I'd also recommend that you do a search in the docs for "creationPolicy" and read about deferred instantiation. Try and forget everything you know about splitting a flash movie up into separate movies and loading them on demand, and relinquish that responsibility to Flex. With clever use of creationPolicy, you can allow Flex to defer the loading of your application with an appropriate policy.
Don't get me wrong, you may find there's a need ultimately to start using Loader controls to create and destroy your own views; but I'd always recommend that you try and avoid this strategy until evident performance demands it. Welcome to Flex ... there's no going back, Steven -- Steven Webster Technical Director iteration::two This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of alex_harui Sent: 08 July 2005 19:57 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: application flow, logic question . . . Welcome to the world of Flex. In Flex the loadMovie functionality is basically encapsulated within the mx:Loader component. You should be able to have a base MXML file with an mx:Loader in it and pass in other MXML files for the Loader to load --- In flexcoders@yahoogroups.com, "chris.alvarado" <[EMAIL PROTECTED]> wrote: > Good morning everyone, > > So it looks like I will be rebuilding a year long project that I > originially developed in Flash, with Flex. > > The current structure is that i have a "controlling" movie that acts > as the skeleton. if a user is not logged in they are presented with a > login box and that is all. once the user logs in successfully they are > presented with various navigation icons based on whatever permissions > they have. when they select a particular navigation item, the > subsequent interface is loaded into the conrolling movie using the > loadMovie() method. (each interface is a separate .swf). > > so my question is, how would i replicate this structue in Flex? would > i make each interface it's own MXML file? and if so how would i call > those files into the main MXML file? > > any suggestions would be greatly appreciated, as would any urls to > some examples of similar scenarios. > > thanks all! > > -- > -chris.alvarado > [application developer] -- 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 -- 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/