PDA

View Full Version : Mouse can see button behind picture


susliks
05-25-2010, 07:32 AM
Hi all! My English is really bad, but I`l try explain my problem.... I wish made pop up window in flash. I have problem: I have 2 layers: Layer 1 - button Layer 2 - pop up window. Button is behind picture, but if I test movie, I can press it, even if I can`t see it... How can I disable this button, if my picture opens top of it... I hope anybody understand what I mean...

Thanks, and I hope, anybody can help me...

Example: Download (http://moviegoer.times.lv/example.rar)

Noct
05-25-2010, 02:17 PM
To disable the button, set its visible or enabled property to false:

myBtn._visible = false;
myBtn.enabled = false;