02-15-2011 10:31 PM
Hi all got another question here
any1 using pop up manager b4?
just curios how u make them close when u click the blur zone?
as we know when popup manager activate, the screen around it will become blur and unclickable
Solved! Go to Solution.
02-16-2011 08:38 AM
You cant. There is no place to add an event listener to that area. You might be able to add an event to your dialog when it loses focus and then dismiss the dialog. However, that might be problematic since moving from one control to another will likely activate that event. The simplest is to have a close button on the dialog.
02-16-2011 08:44 AM
I do this by creating a Sprite that covers the whole page, making sure it's lower in the Z order than my popup. It can be completely transparent, or translucent, but the key is to actually draw something in it... I just do a graphics.drawRect() of the full size after doing graphics.beginFill(0, 0). Note that latter... alpha 0. Even with that, the Sprite will intercept mouse clicks.
02-16-2011 08:58 PM
thanks 4 the reply
i think im gonna stick with label close event
although close button seems tempting, but all i know that its must use TitleWindows which gonna be huge problem if i combine with Httpservice
thanks again, this forum really help me alot