Hi,
I here trying to figure out now how to stop tweens once the effect is reached… I see motions but they seem to go on indefinatelly and I wonder how to add a stop…
I have this code and would like to stop the event:
onClipEvent (load) {
gravity = 2;
time = getTimer();
time /= 100;
floor = 150 ;
bounce = 0.96 ;
speedy = 2 ;
}
onClipEvent (enterFrame) {
speedy = speedy + gravity ;
this._x += speedx/5 ;
this._y += speedy/5 ;
if (this._y>floor) {
this._y = floor ;
speedy *= -bounce ;
}
}
I’ve checked Canadian tuto for tweening but again I see that it has no stop…
I specially like an effect that i show in www.longchamp.com in the Gallery inside the Longchamp spirit, and Im trying to apply it. If you have ideas of a tuto for it let me know.
Thx