I'm curious what others have found as a solution to this sort of situation I
find myself in.

I'm considering converting a rather large management console into Flex 2.0
(obviously not publicly available until the production release) and David
Mendels informed me that my particular concern might be able to be addressed
here.

The interface would be rather large and what I would really like to do is
compile discrete sections of the application using separate MXML files and
then have the compiled swc's or swf's lazy loaded when that part of the
application is accessed.

It looks as though RSL's still load all the libraries without any sense of
priority.  I would prefer that the libraries, swc's or whatever are only
loaded when specified either through a MXML tag (to allow the libraries to
be buffered and loaded before the user is expected to need it) or when
accessed.   The preferable method would obviously be to allow one to create
SWC's, reference them in the MX:Application tag, and then be able to do
something like <MX:loadLibrary library="someswcref" onLoad="someFunction()"
/>   and allow the object to be loaded with a callback once its loaded.
That would not only allow a developer to load objects when a user may
potentially want to use it, but it would allow for a callback so it could
potentially have a loading state end once the SWC is loaded.

I know a person could simply load the SWF using the load call but that seems
to put up walls of what parts can interact with other parts.  I'm not
entirely sure as to how the scope is affected with a load call, but I
suspect you don't have the access you would have in an application that's
directly loaded.  Having it built in to allow lazy loading would seem to
allow large applications.   There has to be something like this as anything
network wise needs to have methods to be concerned with network utilization.

-Courtney Couch
www.courtneycouch.com




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
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/
 


Reply via email to