when i have this code the second popup will work fine “pop_up” but when that code is removed “winaprize” works fine… i have three popups on the one frame is there a way to have all three working properly???
here is the code:
winaprize._visible = false;
onMouseDown = function(){
if (!winaprize.hitTest(_xmouse, _ymouse)){
winaprize._visible = false;
}
};
prize.onPress = function (){
winaprize._visible = true
}
pop_up._visible = false;
onMouseDown = function(){
if (!pop_up.hitTest(_xmouse, _ymouse)){
pop_up._visible = false;
}
};
question.onPress = function (){
pop_up._visible = true
}
pop_up will work and winaprize won’t