I have a relatively small Flex application which offers the
user a number of "objects" to work with. Each object contains
(privately) a ton of data (mp3s, images, etc) and exposes
(publically) a standard interface to the app.
I would like these objects to be loaded
on demand... i.e. when the user clicks something to say "I
want to work with object X" then x.swf (or whatever) gets loaded at
that point (ideally with a nice progress bar). And then x.swf hangs
around in the browser cache (or wherever) so it doesnt get
needleesly downloaded when the user selects object X a second time,
To start with I had all the objects and the application code
bound up together in one whopping .swf, which *works*, but is less
Just now I've been learning about RSLs and have managed to
seperate out the objects into their own .swfs and .swcs. That's a
step forwards for sure (although the load time seems much higher).
But what I *really* want is some runtime control over what
gets loaded, and when.