[Laszlo-dev] Dynamic library in SOLO mode

Hyok S. Choi hyok.choi at samsung.com
Wed Jan 2 18:21:03 PST 2008


Hello,

We're trying to make a OL application which loads a few libraries in SOLO
mode.

e.g., at the main.lzx ;
<import href="mylib.lzx" stage="defer" name="mylib"/>

When we compiled them to SOLO mode, we've got
main.lzx.{..}.swf and build/../mylib.lzx.{..}.swf
and moved the *.swf files into some local directory.
When we tried to run the main.lzx.{..}.swf by a flash player from the local
copy,
it gives an error which says "unable to load" the mylib.lzx.{..}.swf file.

Do we have any way to import a library from local storage?

Another one,
We've found that the mylib.lzx.{..}.swf file could be replaced with a new
version
even if the main.lzx.{..}.swf was old version(which built before the
additional
modification on the mylib.lzx).

Is the "defer" staged import loads the library at runtime by somewhat symbol
matching or something? (as .so does)

Best Regards,
Hyok



More information about the Laszlo-dev mailing list