Hover caption tutorial problem

[color=black]I just took the hover caption tutorial and I got it to work. But theres one problem the way my setup is. when you click a button to go to a frame or the external movie or whatever the case may be it goes fine.[/color]
[color=black] [/color]
[color=black]but when you exit out of that movie I have it set up to go back to frame 1. That is where the problem occurs. the mc that the caption displays on is visible until you roll over another button. I tried this code to fix it but it didnt work[/color]
[color=black] [/color]
[color=black] [/color]
[color=black]if (cap.desc.text.length<=0) {
hoverCaption.onEnterFrame = function() {
cap._x = _root._xmouse+xo;
cap._y = _root._ymouse+yo;
cap._visible = false;
};[/color]
[color=black] [/color]
[color=black] [/color]
[color=black]here is all of the code[/color]
[color=black] [/color]
[color=black] [/color]
[color=black] [/color]
[color=black]poop.onRollOver = function() {
captionFN(true, " Pics", this);
poop.onRollOut = function() {
captionFN(false);
};
};
games.onRollOver = function() {
captionFN(true, " Games", this);
this.onRollOut = function() {
captionFN(false);
};
};
movie.onRollOver = function() {
captionFN(true, " Movies", this);
this.onRollOut = function() {
captionFN(false);
};
};
links.onRollOver = function() {
captionFN(true, " Links", this);
this.onRollOut = function() {
captionFN(false);
};
};
help.onRollOver = function() {
captionFN(true, " Help", this);
this.onRollOut = function() {
captionFN(false);
};
};
light.onRollOver = function() {
captionFN(true, “Turn Off”, this);
this.onRollOut = function() {
captionFN(false);
};
};
captionFN = function (showCaption, captionText, bName) {
if (showCaption) {
_root.createEmptyMovieClip(“hoverCaption”, this.getNextHighestDepth());
cap.desc.text = captionText;
cap._width = 7*cap.desc.text.length;
cap._alpha = 85;
//
if ((bName._width+bName._x+cap._width)>Stage.width) {
xo = -2-cap._width;
yo = -17;
} else {
xo = 2;
yo = -17;
hoverCaption.onEnterFrame = function() {
cap._x = _root._xmouse+xo;
cap._y = _root._ymouse+yo;
cap._visible = true;
};
if (cap.desc.text.length<=0) {
hoverCaption.onEnterFrame = function() {
cap._x = _root._xmouse+xo;
cap._y = _root._ymouse+yo;
cap._visible = false;
};
}
}
} else {
delete hoverCaption.onEnterFrame;
cap._visible = false;
}
};[/color]
[color=black]If anyone could help I would appreciate it.[/color]