Flash MX Having trouble with getProperty problem!

Hi There,

I am having problem with a getProperty thing.
I have built a menu system that I want a bar to move over the button when the user rolls over the button.

I have 3 buttons which have the following code on them:

on (rollOver, dragOver) {
/:Ymove = -119;
on (rollOut, dragOut) {
/:Ymove = /:origYpos;

and then I have an mc called bar which is within an mc called subMenu, which is within an mc called intro, which is on the stage.

I have the following code on the same mc as buttons and bar, on first keyframe:

origYpos = getProperty("_root.intro.subMenu.bar", _y);
Y = “0”;
Ymove = “0”;
newY = “0”;
fscommand(“allowscale”, “false”);

On second key frame:

Y = getProperty("_root.intro.subMenu.bar", _y);
newY = Y+(Ymove-Y)/4;
setProperty("_root.intro.subMenu.bar", _y, newY);
Y = newY;

and on the last key frame:


Have made it work on the main stage but cant make it work when it is buried within the document.

Any help would be much appreceated as I am pulling my hair out here!!