I have the following code for a tooltip. In the base file it works fine and the two movieclips (but1 and but2) that the tooltip appears over are all in the first frame of the movie (everything is in the first frame of the movie).
tip.onEnterFrame = function() {
mover = (_xmouse-this._x)/4;
this._x += mover;
mover = (_ymouse-this._y)/4;
this._y += mover;
mover = (this.alpha-this._alpha)/2;
this._alpha += mover;
}
but1.onRollOver = function() {
_root.tip.alpha = 50;
tip.tipText.text = “click here to explore”
}
but1.onRollOut = function() {
_root.tip.alpha = 0;
}
but2.onRollOver = function() {
_root.tip.alpha = 50;
tip.tipText.text = “click here to explore”
}
but2.onRollOut = function() {
_root.tip.alpha = 0;
}
In my project I have a series of animated movie clips nested inside of a main movieclip.
Once they finish their animation sequence I would like the the tooltip to appear over these movieclips. I can only get this to work when everything is on the first frame.
I am a novice at actionscript so if someone could help that would be great. I hope I explained this OK.
Thanks!