Created
November 25, 2011 21:57
-
-
Save s9tpepper/1394507 to your computer and use it in GitHub Desktop.
modal styles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var css:CSSStyleDeclaration = FlexGlobals.topLevelApplication.styleManager.getStyleDeclaration('global'); | |
css.setStyle('modalTransparency', transparency); | |
css.setStyle('modalTransparencyColor', color); | |
css.setStyle('modalTransparencyBlur', blur); | |
css.setStyle('modalTransparencyDuration', duration); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are the man! You can do this in a .css file too of course:
global
{
modalTransparency: .25;
modalTransparencyBlur: .25;
modalTransparencyColor: #000000;
}