| Hi Denis, The use of state here is unnecessary, and is causing you problems. Animators are designed to work together, so if you change your example as follows I think you'll find that things work more like you expect. You also mention that this happens in the examples in the reference as well. Can you let me know which ones so we can make sure they are correct? <canvas bgcolor="black"> <dataset name="photos"> <photos> <photo color="white"/> <photo color="red"/> <photo color="black"/> <photo color="blue"/> <photo color="yellow"/> <photo color="green"/> <photo color="gray"/> </photos> </dataset> <class name="icon" extends="view" width="75" height="75"> <attribute name="value" type="string" value="red"/> <animatorgroup name="max" process="simultaneous" duration="500" start="false"> <animator name="w" attribute="width" to="150"/> <animator name="h" attribute="height" to="150"/> </animatorgroup> <animatorgroup name="min" process="simultaneous" duration="500" start="false"> <animator name="w" attribute="width" to="75"/> <animator name="h" attribute="height" to="75"/> </animatorgroup> <method event="onmouseover"> max.doStart(); </method> <method event="onmouseout"> min.doStart(); </method> <view width="${parent.width}" height="${parent.height}" bgcolor="white"/> <view x="1" y="1" width="${parent.width - 2}" height="${parent.height - 2}" bgcolor="red"/> </class> <view name="icons"> <simplelayout axis="x" spacing="8"/> <view name="list" datapath="photos:/photos/photo"> <icon/> </view> </view> </canvas> On Dec 15, 2005, at 10:55 PM, Denis Bohm wrote:
|
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Laszlo-user mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-user
