Hi,
im a total beginner in tweening and in importing classes... i followed the instructions given on the website but it doesnt work and i dont know why.
Here is what i wrote, in ActionScript2
stop();
import com.greensock.TweenLite;
import com.greensock.*;
import com.greensock.easing.*;
bentrer1.onRelease = function() {
trace("release");
TweenLite.to(haut1, 5, {x:100, y:200, alpha:0});
TweenLite.to(bentrer1, 3, {x:1020, y:437.1, alpha:0});
TweenLite.to(bentrer2, 3, {x:1020, y:479.1, alpha:0});
TweenLite.to(bentrer3, 3, {x:1020, y:521.1, alpha:0});
}
haut1 is a movieclip, bentrer1, 2 and 3 are buttons, and noting happens at all.
I wrote that code in my main scene. Does anyone can help ?
Thanks!