What I am wanting to do is move multiple MCs when a MC (acting as a button) is released, the following is the code that i have tried but it doesn’t want to work:
import mx.transitions.Tween;
import mx.transitions.easing.*;
this.mainpage_btn_mc.onRelease = function(){
mainpage_btn_mc.gotoAndPlay("_release");
new Tween(work_btn_mc, "_y", None.easeNone, 43.5, 100, 12, false);
new Tween(artdesign_btn_mc, "_y", None.easeNone, 53.5, 100, 12, false);
}
What is the correct way of listing multiple tweens?
Thanks for the help
-ollie