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.

Answers


Use the "alpha" property of the Shape class http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObject.html#alpha


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 asp.net-mvc 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:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.