[Laszlo-dev] Fwd: some tantalizing comments about
loadingassetsfrom external swfs
henry.minsky at gmail.com
Mon Jan 10 13:38:30 PST 2005
Thanks very much! Let us know what you find out.
On Mon, 10 Jan 2005 09:43:01 -0500, Cortlandt Winters
<cort at notebookmargins.com> wrote:
> I'll try what he say's he did as well, but I don't believe that it will
> > -----Original Message-----
> > From: laszlo-dev-bounces at openlaszlo.org
> > [mailto:laszlo-dev-bounces at openlaszlo.org]On Behalf Of Cortlandt Winters
> > Sent: Monday, January 10, 2005 9:16 AM
> > To: hqm at alum.mit.edu; OpenLaszlo platform development and bug reporting
> > Subject: RE: [Laszlo-dev] Fwd: some tantalizing comments about
> > loadingassetsfrom external swfs
> > Hi Henry,
> > I think that, as you suspect, the post is a little misleading
> > here for your
> > purposes. He's not attaching the dynamically loaded library symbol to the
> > scope of the original loading timeline. He's just calling a
> > function on the
> > scope of the loaded movieclip which can attach it's own library
> > symbols and
> > be displayed as a result. This will work though.
> > So if you have Main.swf loading Assets1.swf Main can attach it's symbol's
> > dynamically and Assets1 can attach it's symbols dynamically, but
> > Main can't
> > attach Assest1's symbols to it's scope, the best it can do is call a
> > function in Assets, have it attach a symbol to it's local scope and then
> > manipulate the Assets1.swf.
> > This obviously could create problems if you have 2 symbols from the
> > Assets1.swf that you are trying to manipulate simultaneously and
> > independently. You could duplicate the library swf, but that would be a
> > waste of memory for anything large, so I'm afraid lz would
> > probably want to
> > load them each as independent swfs unless the assets are really small.
> > If you would like a simple example to look at I can create one either at
> > lunch or this evening if nobody does so before then.
> > -Cort
More information about the Laszlo-dev