Skip to main content
June 16, 2006
Answered

controlling _mc

  • June 16, 2006
  • 1 reply
  • 259 views
I have an image of a van which now moves to the side when the user hovers over. I have a piece of text saved as a movie clip called text_mc.
I want the text to be hidden until the image moves and then to appear. I have used the _alpha command but this doesn't seem to sort it. Am i missing something obvious-still a bit new to this actionscript malarky!
cheers


text_mc._alpha = 0;
myButton_btn.onRollOver = function() {
tweenBall(mx.transitions.easing.easeOut);
};
function tweenBall(easeType) {
var begin = 20;
var end = 800;
var time = 50;
var mc = ball_mc;
ballTween = new mx.transitions.Tween(mc, "_x", easeType, begin, end, time);
}
text_mc._alpha =100;
This topic has been closed for replies.
Correct answer ___x-_V_P_-x___
text_mc._alpha = 0;
myButton_btn.onRollOver = function() {
tweenBall(mx.transitions.easing.easeOut);
text_mc._alpha =100;
};
function tweenBall(easeType) {
var begin = 20;
var end = 800;
var time = 50;
var mc = ball_mc;
ballTween = new mx.transitions.Tween(mc, "_x", easeType, begin, end, time);
}

1 reply

___x-_V_P_-x___Correct answer
Participating Frequently
June 16, 2006
text_mc._alpha = 0;
myButton_btn.onRollOver = function() {
tweenBall(mx.transitions.easing.easeOut);
text_mc._alpha =100;
};
function tweenBall(easeType) {
var begin = 20;
var end = 800;
var time = 50;
var mc = ball_mc;
ballTween = new mx.transitions.Tween(mc, "_x", easeType, begin, end, time);
}
June 16, 2006
dude...you're good. Cheers