I have a few images that I want them to appear fade in while my mouse is over each of them. My question is, do I have to define an proper area to make it work? For now on, it’s ONLY work once when I first load my.swf
ps: It won’t recognize the area if I first define image1_mc._visible = false; image2_mc._visible = false;
Please help!
Here’s my current:
// I don’t want them to appear at beginning
image1_mc._alpha = 1;
image2_mc._alpha = 1;
// Fade in while my mouse is on
image1_mc.onRollOver = function() {
this._alpha = 20;
image1_mc.onEnterFrame = function() {
this._alpha += 5;
}
}
// Fade out
image1_mc.onRollOut = function() {
this._visible = false;
}