Alright, so I tried using the code you posted and it worked fine on one of the frames. When an image is selected (a correct answer) the checkmark is supposed to appear. For some reason, the checkmark didn't appear on the image it was supposed to. Everything is setup correctly and here's the code used:
Code:
import mx.transitions.Tween;
import mx.transitions.easing.*;
wrong1_btn.onRelease = function () {
new Tween(wrong3_mc,"_alpha",Regular.easeOut,100,0,12,false);
}
wrong2_btn.onRelease = function () {
new Tween(wrong4_mc,"_alpha",Regular.easeOut,100,0,12,false);
}
wrong3_btn.onRelease = function () {
new Tween(wrong5_mc,"_alpha",Regular.easeOut,100,0,12,false);
}
right_btn.onRelease = function () {
var myTween:Tween = new Tween ( right3_mc, "_alpha", Regular.easeOut, 100, 0, 12, false );
myTween.onMotionFinished = function () {
nextFrame ();
}
}
Any suggestions?
Thanks,
Mason