tslice
09-16-2008, 01:08 PM
controls_mc.addEventListener( MouseEvent.MOUSE_OVER, controls_over );
controls_mc.addEventListener( MouseEvent.MOUSE_OUT, controls_out );
function controls_over( e:MouseEvent ):void {
var showTween:Tween = new Tween(controls_mc, 'alpha', None.easeOut, .5, 1, .15, true);
}
function controls_out( e:MouseEvent ):void {
var hideTween:Tween = new Tween(controls_mc, 'alpha', None.easeIn, 1, .5, .15, true);
}
Within controls_mc there is a child movie clip called timer_mc that displays the amount of time before the slides will switch. Anytime I mouse over the timer_mc within the controls_mc it calls the MOUSE_OVER and MOUSE_OUT handlers. Obviously this is undesirable.
timer_mc has no handlers of any-kind at the moment (it just loops through its frames) and controls_mc is directly on the stage.
controls_mc.addEventListener( MouseEvent.MOUSE_OUT, controls_out );
function controls_over( e:MouseEvent ):void {
var showTween:Tween = new Tween(controls_mc, 'alpha', None.easeOut, .5, 1, .15, true);
}
function controls_out( e:MouseEvent ):void {
var hideTween:Tween = new Tween(controls_mc, 'alpha', None.easeIn, 1, .5, .15, true);
}
Within controls_mc there is a child movie clip called timer_mc that displays the amount of time before the slides will switch. Anytime I mouse over the timer_mc within the controls_mc it calls the MOUSE_OVER and MOUSE_OUT handlers. Obviously this is undesirable.
timer_mc has no handlers of any-kind at the moment (it just loops through its frames) and controls_mc is directly on the stage.