;

PDA

Click to See Complete Forum and Search --> : Button on top of a button


losse
01-28-2009, 10:19 AM
Hi there
I have 2 buttons:

Button A and Button B.

Button A has an on mouse over state...

Button B also has some on mouse over state AND sits on top of button A. The problem happens when I go on top of Button B... The "on mouse over" state of Button A stops... I think since I'm on top of Button B (which is on top of Button A) flash takes off the "on mouse over" state of button A

I'd like to set it up so that even though I'm on top of Button B, Button A still remains in "on mouse over mode"...

Can anyone help?

bounceboy
01-29-2009, 06:17 AM
you could try making movieclips that act as buttons but instead of
on(press){
//bla bla bla
}
it could be...
if(this.hitTest(_root._xmouse,_root._ymouse,true)) {
//bla bla bla
}
or try:
this.onPress = function(){
//bla bla bla
}