[Laszlo-user] Modular and Styled OL Application

Henry Minsky hminsky at laszlosystems.com
Wed Jun 18 05:29:24 PDT 2008

Hi Leonard,

As to your first question, there is a runtime loaded library facility
which is accessed by using the
<import> tag. Any library which is referenced in the main app via a
<import> tag will be compiled
as a runtime loaded library. The library loading can be deferred if you specify

<import name="mylib" stage="defer" href="lib/mylib.lzx"/>

and then loading can be forced at some point in your application by
calling  the load() method on the library object.

In swf8, classes, script code, fonts, and views can be loaded from a
runtime library, however image or audio assets can't be compiled
in due to some limitations of the Flash 8 runtime. When we have swf9
support working fully,embedding image asset into loadable libraries
should work.

On Wed, Jun 18, 2008 at 7:53 AM, Leonardo Mateo <leonardomateo at gmail.com> wrote:
> Hello everybody. I'm new to the list. I tried with te forum but, after a few
> days, the admin seems not to authorize me to post messages.
> So, I'm doing a research about OL and studying the feasibility of implementing
> OL as a RIA client to a SOA system. Besides, I want to compare it with Adobe
> Flex technology which I have some experience with. I don't want to start a
> flame war here, just want to know OL better to determine which one suits
> better to my system.
> So far, OL has convinced me, but there are 2 aspects which, I think, still
> lack some maturity:
> 1 - Modularization in SOLO mode.
> 2 - Stylesheets.
> The thing is that I don't know if I'm missing the point here, not finding the
> right documentation or if it really is as I think it is.
> About point 1, I can't find a clean way of doing modules or libraries of
> classes as an swf file and reference it from my application later.
> About point 2, I really don't like how it is implemented, specially because, I
> don't think this respects the concept of a CSS since you have to specify
> every attribute twice (in the CSS declaration and in the tag declaration).
> Besides, I can't find an easy way of changing the component look and feel
> through CSS.
> Can anybody point me to the right direction of doing this? or even better, to
> the right direction where to find the best documentation for this?
> Thanx a lot in advance and sorry for the length of this post.
> --
> Leonardo Mateo.
> There's no place like ~

Henry Minsky
Software Architect
hminsky at laszlosystems.com

More information about the Laszlo-user mailing list