Hello List!
I am setting an attribute (of an image in a menu) as such:
x="${(image_menu.width - width)/2}"
When I do this it properly sets the menu, but the onclick animation:
<animatorgroup name="move" start="false">
<animatorgroup name="roast" process="sequential" duration="500">
<animator attribute="x" to="${canvas.width-image1.width}"/>
<animator attribute="y" to="${canvas.height-image1.height}"/>
</animatorgroup>
<animatorgroup name="roast2" process="simultaneous"
duration="500">
<animator attribute="width"
to="${image1.unstretchedwidth}"
duration="250"/>
<animator attribute="x"
to="${canvas.width-image1.unstretchedwidth}"
duration="250"/>
<animator attribute="y"
to="${canvas.height-image1.unstretchedheight}" duration="250"/>
</animatorgroup>
</animatorgroup>
is run and then reset immediately after it runs back to the first value. If
the x value is not initially set, everything works as expected.
Is there a way to prevent the return to the original value, essentially making
the last value the current/permanant value?
Thanks,
Matt
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user