Hi,
I have a layer loaded at y=50 px at beginning and I try to move it according to his position.
The button has this action :
Code
<action name="ShowHide">
if(layer[Mylayer].y == 50px,
tween(layer[Mylayer].y, 300px,2); ,tween(layer[Mylayer].y, -300px,2););
</action>
The first part didn't work, the second part work. I think the line "layer[Mylayer].y == 50px," is wrong.
Any idea ?
Thanks
Jeronicoz