Part I. LZX Reference

Table of Contents

I.
$lz$class_TypeService
Type service.
II. Basics
<node>
The base class for all Laszlo classes.
<script>
A block of JavaScript.
<attribute>
Sets an attribute of the object that contains it.
<class>
Provides a prototype for all objects of that class
<import>
Imports code at runtime from other files.
<include>
Includes code from other files.
<library>
This tag marks the root element of a library file.
<method>
Attaches a function or event handler to an object or class.
<mixin>
<mixin> is like <class> but rather than creating something you can instantiate, <mixin> creates a template that can be mixed in (added to) more than one other class. A <mixin> is like an interface, but it is allowed to have state and implementation.
<otherwise>
Within a <switch> block, use <otherwise> to specify a compile-time constant.
<passthrough>
Provides a way to import SWF10 declarations.
<security>
Canvas element used to control RPC security
<splash> (swf8)
Controls the presentation while the application is loading.
<splash view> (swf8)
A view element within the splash element positions a resource on the canvas while the application is loading.
<switch>
Special syntax used to control compilation
<unless>
Within a <switch> block, use <unless> to specify a compile-time constant.
<when>
Within a <switch> block, use <when> to specify a compile-time constant.
III. Debugging
<debug>
Controlling the Laszlo debugger console window
lz.DebugService
The Laszlo debugger
IV. Formatted Output
<formatter>
Formatted output support
V. HTML Markup
<a>
HTML hypertext link.
<b>
Bold Text.
<br>
Line break.
<font>
Inline font markup.
<i>
Italic text.
<img>
A way to import images into html
<p>
Paragraph.
<pre>
Preformatted text.
<u>
Underlined text.
VI. Media
<audio>
Imports an audio file.
<face>
<frame>
A frame of a multi-frame resource.
<resource>
A tag that defines a media object that can be associated with a view.
VII. Runtime
lz
Pseudo-package for all LZX globals
LzDeclaredEvent
lz.DeclaredEventClass
VIII. Scripting
<setter>
A tag to declare or override attribute setter methods.