Semi-transparency in ActionScript 3.0 shapes?

I'm trying to make a modal pop up in my Flash application, not unlike the ASP.NET version seen here.

I've already got the dialog box made, but I'm trying to add a semi-transparent gray rectangle over everything behind the pop-up, again like the one used in ASP.NET. Is there a way to do this in ActionScript? It needs to be semi-transparent, not fully, so you can still partially see what's behind it. I'm assuming you could apply this property to a Shape class somehow, but I can't figure it out.

Thanks in advance for the help.


Use the "alpha" property of the Shape class

Need Your Help

Is there a way to take a screenshot using Java and save it to some sort of image?

java image screenshot

Simple as the title states: Can you use only Java commands to take a screenshot and save it? Or, do I need to use an OS specific program to take the screenshot and then grab it off the clipboard?

How to switch off caching for MVC requests but not for static files in IIS7?

c# .net caching iis

I'm developing an ASP.NET MVC application. Most of the controller actions are not supposed to be cached. Because of this I output no-cache headers in Application_BeginRequest: