Skip to main content
Participant
July 12, 2006
Question

Disabling background layers

  • July 12, 2006
  • 2 replies
  • 192 views
Hi all,

I hope someone can help me with this...

I have created my own popup alert which allows me to send it various variables nd will return data after user input.

However i have a problem i have a background which covers the whole stage when the alert comes up but i need to make it so that when a user presses outside the options in the alert he cannot effect the background layers, currently if you hit buttons that are in he background of the stage you can touch other buttons and this messes up whats going on.

Ive tried to just set the background of my alert to have a click value that does nothing but this then draws a hand for the cursor but it has the required effect that you cant touch underlaying items now....

Thank you for any input on this.
This topic has been closed for replies.

2 replies

FLYRangerAuthor
Participant
July 12, 2006
:) yea thats basically what im doing was just wondering if there was a way to say invalidate all layers behind mc x and then enable them later, np if there isnt it kinda works ok using:

bg_mc.onPress = function() {
// do nothing
}
bg_mc.useHandCursor = false;

thx anyhow nilu :)
Known Participant
July 12, 2006
If you create one button in background and just right buttonname.useHandCursor = false on it i think u r problem get solve