Examples
Here are a few simple example Laszlo Application Files. Their purpose
is to briefly illustrate various LZX concepts.
For more in depth discussion, please see the Tutorials, or for examples
of application, consider the Sample Applications.
Click on the name of the application to launch it, source to view the application's source, and LzViewer to launch an online application editing and debugging environment. Note that LzViewer launches a popup browser window, and you should disable any popup-blocking software if you use it.
-
Animation: animation.lzx
(source,
LZViewer)
Basic animation of a moving object,
Relative vs. Absolute (note on behavior)
Animating various properties
Animating layout
-
Audio: audio.lzx
(source,
LZViewer)
Sound is imported as effects
-
Components: components
Examples for each of the components
-
Image loading: dataimage.lzx
(source,
LZViewer)
and dataimage2.lzx
(source,
LZViewer)
How to load many kinds of images at compile time and at runtime and how to use
resource elements as art assets
- Music: music.lzx
(source,
LZViewer)
Media streaming example
- Tag definition: tag-definition.lzx
(source,
LZViewer)
Tag definition example.
- XML data: xmldata/xmldata.lzx
(source,
LZViewer)
Shows how to receive XML data, post data to the server and look at HTTP response headers
- Local data: local.lzx
(source,
LZViewer)
Using local data to replicate views
- Data paging: paging.lzx
(source,
LZViewer)
Using paging to efficiently display a large dataset
- Modes: modeexample.lzx
(source,
LZViewer)
ModeManager example
- Contact List:
contactlist/contactlist.lzx
(source,
LZViewer)
Demonstrates data binding and replication
Request Types
For more details on request types, see the Developer's Guide.
© Copyright 2002-2004 Laszlo Systems, Inc. All rights reserved. Unauthorized use, duplication or distribution is strictly prohibited.