Animators change the value of an object's attribute over a specified duration in milliseconds. For example, the following program defines an animator for a window that moves it to a position of x=100 over 1 second (1000 milliseconds).
<canvas
height
="65
">
<window
height
="50
" width
="50
">
<animator
attribute
="x
" to
="100
" duration
="1000
"/>
</window
>
</canvas
>
See the Guide for a complete discussion of animators and animation in Laszlo applications.
attribute, duration, from, indirect, isactive, motion, paused, process, relative, repeat, start, started, target, to
classroot, cloneManager, data, datapath, defaultplacement, id, ignoreplacement, immediateparent, inited, initstage, name, nodeLevel, options, parent, placement, styleclass, subnodes, transition
Methods
animate, applyConstraintMethod, applyData, childOf, completeInstantiation, construct, createChildren, dataBindAttribute, destroy, determinePlacement, getOption, getUID, init, lookupSourceLocator, releaseConstraint, releaseConstraintMethod, searchImmediateSubnodes, searchSubnodes, setOption, setSelected, updateData
Events
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.