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.
Name (CSS property) | Type (tag) | Type (js) | Default | Category |
---|---|---|---|---|
center
|
boolean | Boolean | "false" | read/write |
If true, this view is centered within the canvas. This overrides the x and y attributes. | ||||
name
|
String | initialize-only | ||
This defines both a resource with this name, and a view. | ||||
ratio
|
number | Number | readonly | |
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
|
String | initialize-only | ||
This must be a pathname. If the target contains text, the text should be converted to outlines. | ||||
x
|
number | Number | "0" | read/write |
x position of this view relative to the canvas | ||||
y
|
number | Number | "0" | read/write |
y position of this view relative to the canvas |
Copyright © 2002-2010 Laszlo Systems, Inc. All Rights Reserved. Unauthorized use, duplication or distribution is strictly prohibited. This is the proprietary information of Laszlo Systems, Inc. Use is subject to license terms.