targeting a function
I'm hoping someone could help me on this. I have a child movie on a scene, the movie is called navBar_mc. In this movie I have buttons with the following code to position a highlight and scale the width. For some reason this will not work. But if I take the same code and put it on a parent level it will work. I know this is something simple but I cannot figure what is happening, I have tried targeting it everyway I can think of.
function btnHighlight(btnX:Number, btnWidth:Number){
btnHighLight_mc._x = btnX;
btnHighLight_mc._width = btnWidth;
trace(btnX + "--" + btnWidth);
}
growth_btn.onRollOver = function() {
btnHighlight(-301, 64);
}
Thanks In Advance
Mike Moore
__________________
Peace
Mike
http://www.eclecticpixel.com
|