vee
06-19-2008, 04:34 AM
I have textfields which children of buttons. I cannot seem to get the textfields to be alpha 0. I can get all of their parents to be alpha 0. Why is this?
This would be the targeting from the maintimeline:
menuCont.indCont.btnCont.myButtonsAreHere
heres what I am using now from the maintimeline:
var menuCont:MovieClip = new MovieClip();
this.addChild(menuCont)
function bsRollOver(event:MouseEvent):void {
//bs.ts = 150;
if (menuCont.getChildAt(1).alpha > 0) {
menuCont.getChildAt(1).alpha = 0;
} else {
menuCont.getChildAt(1).alpha = 1;
}
}
//next i call an instance of a menuClass I made
var m1:MenuDot = new MenuDot (mainTL.menuCont);;
This would be the targeting from the maintimeline:
menuCont.indCont.btnCont.myButtonsAreHere
heres what I am using now from the maintimeline:
var menuCont:MovieClip = new MovieClip();
this.addChild(menuCont)
function bsRollOver(event:MouseEvent):void {
//bs.ts = 150;
if (menuCont.getChildAt(1).alpha > 0) {
menuCont.getChildAt(1).alpha = 0;
} else {
menuCont.getChildAt(1).alpha = 1;
}
}
//next i call an instance of a menuClass I made
var m1:MenuDot = new MenuDot (mainTL.menuCont);;