Hi
I’m not sure if if this has occurred to anyone before… I’m using the built in tween-class of flash (cs4). In my script I try to display a notification-box using a slide-in effect:
var slideIn = new Tween(this.warningBox, “width”, Regular.easeOut, 0, 150, 0.5, true);
This works. The box is invisible at start and then builds up like a flag unrolling from left to right. However, what I really want to do is sliding it in from right to left. So I tried to do this:
var slideIn = new Tween(this.warningBox, “width”, Regular.easeOut, 0, [COLOR=Lime]-150[/COLOR], 0.5, true);
Obviously, I modified the warningbox so the pivot point is to the top right, but it still won’t work. It seems the endvalue must not be a negative number. Can anyone confirm this, or have I missed something?