Basics


Table of Contents

<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.