Hi Robin,

The background overlay part is done by PopupManager (PopupManagerImpl)
rather than Alert. There is an mx_internal property called
modalWindowClass in PopupManagerImpl which you can set to change the
default FlexSprite that is used. But its graphics object is cleared
and drawRect is called in showModalWindow. You'd have to hack past
that to draw your own shape.

Check out the modalTransparency, modalTransparencyBlur,
modalTransparencyColor and modalTransparencyDuration styles for Alert.

To make the overlay almost invisible, put this in your CSS:

   Alert
   {
       /* it can be set to 0 for no effect at all on the parent
        * window. But setting it to 0.1 retains the nice blur effect
        * without having the rectangular overlay visible */
       modalTransparency: 0.1;
   }

Q & A saved to: http://sandboxviolation.appspot.com/#questions/2605

Cheers,
-- 
Anirudh Sasikumar
http://anirudhs.chaosnet.org/

Reply via email to