You are not logged in.

Search results

Search results 1-1 of 1.

Wednesday, April 15th 2015, 2:20pm

Author: shura

Animate a layer with Tween option

tween(variable, value, time*, tweentype*, donecall*, updatecall*) Source code 1 2 3 4 5 6 7 <layer name="glaceannou" url="images/glaceannou.png" align="topleft" x="10" y="10" scale="1.0" onclick="flyin(zoom-mascotte);" onloaded="beatspots();" /> <action name="beatspots"> tween(layer[glaceannou].scale,0.5,2);<!-- 0.5 - target scale, 2 - time --> </action>