Hi all
The problem:
When you push a button, a mc (clip1) starts moving via AS
That works fine if you type clip1 directly “into the tween”
But when you do it like this, it fails. But when you trace it, you get “clip1”:
[INDENT]
import mx.transitions.Tween;
import mx.transitions.easing.*;
button.onRelease = function(){
variable = "clip"+1;
trace(variable);
var myTween:Tween = new Tween(variable, "_x", Strong.easeOut, 100, 500,1, true);
}
[/INDENT]here’s the fla:
http://jellebullaert.be/school/vraag.rar
thanks in advance
Jelle