Hi,
i want to make an animation :
one button move bottom to top of the scene ( with help of a proto : “slide”).
the second button, must move bottom to top too, but with a decay of 1 seconde… and the third with a decay of 1.5 seconde.
i think i must use the *“setInterval” *command…i try to use it, but it don’t work…here, my AS code ( placed on my button ) :
[font=Verdana][size=2]*onClipEvent (load) {
transla = setInterval(slide, 1000, 26);
if (_root.button1._y=26) {
clearInterval(transla);
}
}
*how to make it work ?[/size][/font][font=Verdana][size=2][/size][/font]