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 http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObject.html#alpha