Hover captions in a movie clip?

Hi all i was following a tutorial on the forum about hover captions and it works completely fine when its on the main stage, however when i try to place it in a movie clip it keeps breaking…does anyone know how to fix this?

The code i used is below. I havent really moded much appart from the instance names… I tried adding a _root in front of the instance names but that didnt work iether. Any help would be great!

[SIZE=4]code:[/SIZE]

G_gal_1.onRollOver = function() {

captionFN(true, “Gallery 1”, this);
G_gal_1.onRollOut = function() {

captionFN(false);

};

};
G_gal_2.onRollOver = function() {

captionFN(true, “Gallery 2”, this);
G_gal_2.onRollOut = function() {

captionFN(false);

};

};
G_gal_3.onRollOver = function() {

captionFN(true, “Gallery 3”, this);
G_gal_3.onRollOut = function() {

captionFN(false);

};

};
G_gal_4.onRollOver = function() {

captionFN(true, “Gallery 4”, this);
G_gal_4.onRollOut = function() {

captionFN(false);

};

};
G_gal_5.onRollOver = function() {

captionFN(true, “Gallery 5”, this);
G_gal_5.onRollOut = function() {

captionFN(false);

};

};
G_gal_6.onRollOver = function() {

captionFN(true, “Gallery 6”, this);
G_gal_6.onRollOut = function() {

captionFN(false);

};

};
captionFN = function (showCaption, captionText, G_gal_Name) {

if (showCaption) {

_root.createEmptyMovieClip(“hoverCaption”, this.getNextHighestDepth());
cap.desc.text = captionText;
cap._width = 7*cap.desc.text.length;
cap._alpha = 75;
//
if ((G_gal_Name._width+G_gal_Name._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;

};

} else {

delete hoverCaption.onEnterFrame;
cap._visible = false;

}

};