View Single Post
02-26-2008, 01:58 AM
#4
mason.sklut is offline mason.sklut
mason.sklut's Avatar
Status: Junior Member
Join date: Mar 2007
Location: North Carolina
Expertise: Photography
Software:
 
Posts: 73
iTrader: 0 / 0%
 

mason.sklut is on a distinguished road

  Old

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