Name

splash view (as2) — A view element within the splash element positions a resource on the canvas while the application is loading.

Synopsis

LZX: splash view
Type: Class
Access: public
Runtimes: as2
Topic: LZX.Basics

Description

A view tag within a splash element defines a view that is used to present a resource while the application is loading.

Only a few attributes of the standard view element can be used on this view, because it is displayed before most of the system is present.

See the splash documentation for examples.

Superclass Chain

splash view

Known Subclasses

Details

Static Properties (6)

center
If true, this view is centered within the canvas. This overrides the @a{x} and @a{y} attributes.
name
This defines both a resource with this name, and a view.
ratio
If this attribute is present, the resource is synchronized to loading progress. Its value should be either a number between 0.0 and 1.0, or a percentage between 0% and 100% (inclusive). If the resource is a multiframe resource, the value is the proportion of the frames to play during the preload phase of application load; the remainder is played during the initialization phase.
resource
This must be a pathname. If the target contains text, the text should be converted to outlines.
x
x position of this view relative to the canvas
y
y position of this view relative to the canvas

LZX Synopsis

<class name="splash view">
</class>