blob: 04c72964e1ca7caa71ed26d8d3f73dafd8b3ba19 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link rel="stylesheet" href="../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../override.css" type="text/css"><meta name="keywords" content="StyleManager,mx.styles.StyleManager,CLASS,ID,NOT_A_COLOR,NO_UNIT,PSEUDO,UNIT_CM,UNIT_DP,UNIT_INCH,UNIT_PT,ancestor,className,className,className,conditions,defaultFactory,factory,filterMap,id,id,id,inheritingStyles,inheritingStyles,inheritingStyles,kind,major,minor,moduleFactory,nonInheritingStyles,nonInheritingStyles,nonInheritingStyles,overrides,parent,pixelValue,revision,selector,selectorIndex,selectors,selectors,source,specificity,specificity,specificity,styleDeclaration,styleDeclaration,styleDeclaration,styleManager,styleName,styleName,styleName,styleParent,styleParent,styleParent,subject,subject,unit,value,value,clearStyle,clearStyle,clearStyle,clearStyle,clearStyleDeclaration,clearStyleDeclaration,compareTo,compareTo,getClassStyleDeclarations,getClassStyleDeclarations,getClassStyleDeclarations,getColorName,getColorName,getColorNames,getColorNames,getMergedStyleDeclaration,getStyle,getStyle,getStyle,getStyle,getStyleDeclaration,getStyleDeclaration,getStyleManager,hasCSSState,hasCSSState,hasCSSState,initialized,isColorName,isColorName,isInheritingStyle,isInheritingStyle,isInheritingTextFormatStyle,isInheritingTextFormatStyle,isParentDisplayListInvalidatingStyle,isParentDisplayListInvalidatingStyle,isParentSizeInvalidatingStyle,isParentSizeInvalidatingStyle,isSizeInvalidatingStyle,isSizeInvalidatingStyle,isValidStyleValue,isValidStyleValue,loadStyleDeclarations,loadStyleDeclarations,matchesCSSState,matchesCSSState,matchesCSSState,matchesCSSType,matchesCSSType,matchesCSSType,matchesStyleClient,matchesStyleClient,matchesStyleClient,notifyStyleChangeInChildren,notifyStyleChangeInChildren,notifyStyleChangeInChildren,regenerateStyleCache,regenerateStyleCache,regenerateStyleCache,registerColorName,registerColorName,registerEffects,registerEffects,registerEffects,registerInheritingStyle,registerInheritingStyle,registerParentDisplayListInvalidatingStyle,registerParentDisplayListInvalidatingStyle,registerParentSizeInvalidatingStyle,registerParentSizeInvalidatingStyle,registerSizeInvalidatingStyle,registerSizeInvalidatingStyle,setDeferredStyles,setStyle,setStyle,setStyle,setStyle,setStyleDeclaration,setStyleDeclaration,setStyleDeclarations,styleChanged,styleChanged,styleChanged,stylesInitialized,stylesInitialized,stylesInitialized,toString,toString,toString,toString,unload,unloadStyleDeclarations,unloadStyleDeclarations"><title>mx.styles.StyleManager</title></head><body><script language="javascript" type="text/javascript" src="../../asdoc.js"></script><script language="javascript" type="text/javascript" src="../../help.js"></script><script language="javascript" type="text/javascript" src="../../cookies.js"></script><script language="javascript" type="text/javascript"><!--
asdocTitle = 'StyleManager - ApacheFlex API Reference';
var baseRef = '../../';
window.onload = configPage;
--></script>
<script type="text/javascript">
scrollToNameAnchor();
</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">Apache Flex 4.16.1 API Reference </td><td class="titleTableTopNav" align="right"><a href="../../package-summary.html" onclick="loadClassListFrame('../../all-classes.html')">All Packages</a>&nbsp;|&nbsp;<a href="../../class-summary.html" onclick="loadClassListFrame('../../all-classes.html')">All Classes</a>&nbsp;|&nbsp;<a href="../../all-index-A.html" onclick="loadClassListFrame('../../index-list.html')">Index</a>&nbsp;|&nbsp;<a id="framesLink1" href="../../index.html?mx/styles/StyleManager.html&amp;mx/styles/class-list.html">Frames</a><a id="noFramesLink1" style="display:none" href="" onclick="parent.location=document.location"> No Frames </a></td><td class="titleTableLogo" align="right" rowspan="3"><img src="../../images/logo.jpg" class="logoImage" alt="AdobeLogo" title="AdobeLogo"></td></tr><tr class="titleTableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">StyleManager</td><td class="titleTableSubNav" id="subNav" align="right"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a>&nbsp;| <a href="#constantSummary">Constants</a></td></tr><tr class="titleTableRow3"><td colspan="3">&nbsp;</td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("StyleManager"); titleBar_setSubNav(true,true,false,false,false,false,false,false,true,false,false ,false,false,false,false,false);}
-->
</script><div xmlns:fn="http://www.w3.org/2005/xpath-functions" class="MainContent"><table class="classHeaderTable" cellpadding="0" cellspacing="0"><tr><td class="classHeaderTableLabel">Package</td><td><a href="package-detail.html" onclick="javascript:loadClassListFrame('class-list.html')">mx.styles</a></td></tr><tr><td class="classHeaderTableLabel">Class</td><td class="classSignature">public class StyleManager</td></tr><tr><td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">StyleManager <img src="../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> Object</td></tr></table><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p></p><p></p>
The StyleManager class manages the following:
<ul>
<li>Which CSS style properties the class inherits</li>
<li>Which style properties are colors, and therefore get special handling</li>
<li>A list of strings that are aliases for color values</li>
</ul>
<p></p><p><span class="classHeaderTableLabel">See also</span></p><div class="seeAlso"><a href="CSSStyleDeclaration.html" target="">mx.styles.CSSStyleDeclaration</a></div><br/><hr></div><a name="propertySummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Properties</div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProperty"><tr><th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#selectors" class="signatureLink">selectors</a> : Array<div class="summaryTableDescription"><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#selectors on a style manager instance">IStyleManager2.selectors on a style manager instance</A></div>[static] [read-only]
Returns an Array of all the CSS selectors that are registered with the StyleManager.</div></td><td class="summaryTableOwnerCol">StyleManager</td></tr></table></div><a name="methodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Methods </div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableMethod"><tr><th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#clearStyleDeclaration()" class="signatureLink">clearStyleDeclaration</a>(selector:String, update:Boolean):void</div><div class="summaryTableDescription"><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#clearStyleDeclaration on a style manager instance">IStyleManager2.clearStyleDeclaration on a style manager instance</A></div>[static]
Clears the CSSStyleDeclaration object that stores the rules
for the specified CSS selector.</div></td><td class="summaryTableOwnerCol">StyleManager</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#getColorName()" class="signatureLink">getColorName</a>(colorName:Object):uint</div><div class="summaryTableDescription"><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#getColorName on a style manager instance">IStyleManager2.getColorName on a style manager instance</A></div>[static]
Returns the numeric RGB color value that corresponds to the
specified color string.</div></td><td class="summaryTableOwnerCol">StyleManager</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#getColorNames()" class="signatureLink">getColorNames</a>(colors:Array):void</div><div class="summaryTableDescription"><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#getColorNames on a style manager instance">IStyleManager2.getColorNames on a style manager instance</A></div>[static]
Converts each element of the colors Array from a color name
to a numeric RGB color value.</div></td><td class="summaryTableOwnerCol">StyleManager</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#getStyleDeclaration()" class="signatureLink">getStyleDeclaration</a>(selector:String):<a href="../../mx/styles/CSSStyleDeclaration.html">CSSStyleDeclaration</a></div><div class="summaryTableDescription"><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#getStyleDeclaration on a style manager instance">IStyleManager2.getStyleDeclaration on a style manager instance</A></div>[static]
Gets the CSSStyleDeclaration object that stores the rules
for the specified CSS selector.</div></td><td class="summaryTableOwnerCol">StyleManager</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#getStyleManager()" class="signatureLink">getStyleManager</a>(moduleFactory:<a href="../../mx/core/IFlexModuleFactory.html">IFlexModuleFactory</a>):<a href="../../mx/styles/IStyleManager2.html">IStyleManager2</a></div><div class="summaryTableDescription">[static]
Returns the style manager for an object.</div></td><td class="summaryTableOwnerCol">StyleManager</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#isColorName()" class="signatureLink">isColorName</a>(colorName:String):Boolean</div><div class="summaryTableDescription"><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#isColorName on a style manager instance">IStyleManager2.isColorName on a style manager instance</A></div>[static]
Tests to see if the given String is an alias for a color value.</div></td><td class="summaryTableOwnerCol">StyleManager</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#isInheritingStyle()" class="signatureLink">isInheritingStyle</a>(styleName:String):Boolean</div><div class="summaryTableDescription"><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#isInheritingStyle on a style manager instance">IStyleManager2.isInheritingStyle on a style manager instance</A></div>[static]
Tests to see if a style is inheriting.</div></td><td class="summaryTableOwnerCol">StyleManager</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#isInheritingTextFormatStyle()" class="signatureLink">isInheritingTextFormatStyle</a>(styleName:String):Boolean</div><div class="summaryTableDescription"><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#isInheritingTextFormatStyle on a style manager instance">IStyleManager2.isInheritingTextFormatStyle on a style manager instance</A></div>[static]
Test to see if a TextFormat style is inheriting.</div></td><td class="summaryTableOwnerCol">StyleManager</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#isParentDisplayListInvalidatingStyle()" class="signatureLink">isParentDisplayListInvalidatingStyle</a>(styleName:String):Boolean</div><div class="summaryTableDescription"><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#isParentDisplayListInvalidatingStyle on a style manager instance">IStyleManager2.isParentDisplayListInvalidatingStyle on a style manager instance</A></div>[static]
Tests to see if this style affects the component's parent container in
such a way as to require that the parent container redraws itself when this style changes.</div></td><td class="summaryTableOwnerCol">StyleManager</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#isParentSizeInvalidatingStyle()" class="signatureLink">isParentSizeInvalidatingStyle</a>(styleName:String):Boolean</div><div class="summaryTableDescription"><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#isParentSizeInvalidatingStyle on a style manager instance">IStyleManager2.isParentSizeInvalidatingStyle on a style manager instance</A></div>[static]
Tests to see if the style changes the size of the component's parent container.</div></td><td class="summaryTableOwnerCol">StyleManager</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#isSizeInvalidatingStyle()" class="signatureLink">isSizeInvalidatingStyle</a>(styleName:String):Boolean</div><div class="summaryTableDescription"><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#isSizeInvalidatingStyle on a style manager instance">IStyleManager2.isSizeInvalidatingStyle on a style manager instance</A></div>[static]
Tests to see if a style changes the size of a component.</div></td><td class="summaryTableOwnerCol">StyleManager</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#isValidStyleValue()" class="signatureLink">isValidStyleValue</a>(value:*):Boolean</div><div class="summaryTableDescription"><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#isValidStyleValue on a style manager instance">IStyleManager2.isValidStyleValue on a style manager instance</A></div>[static]
Determines if a specified parameter is a valid style property.</div></td><td class="summaryTableOwnerCol">StyleManager</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#loadStyleDeclarations()" class="signatureLink">loadStyleDeclarations</a>(url:String, update:Boolean = true, trustContent:Boolean = false, applicationDomain:ApplicationDomain = null, securityDomain:SecurityDomain = null):IEventDispatcher</div><div class="summaryTableDescription"><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#loadStyleDeclarations on a style manager instance">IStyleManager2.loadStyleDeclarations on a style manager instance</A></div>[static]
Loads a style SWF.</div></td><td class="summaryTableOwnerCol">StyleManager</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#registerColorName()" class="signatureLink">registerColorName</a>(colorName:String, colorValue:uint):void</div><div class="summaryTableDescription"><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#registerColorName on a style manager instance">IStyleManager2.registerColorName on a style manager instance</A></div>[static]
Adds a color name to the list of aliases for colors.</div></td><td class="summaryTableOwnerCol">StyleManager</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#registerInheritingStyle()" class="signatureLink">registerInheritingStyle</a>(styleName:String):void</div><div class="summaryTableDescription"><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#registerInheritingStyle on a style manager instance">IStyleManager2.registerInheritingStyle on a style manager instance</A></div>[static]
Adds to the list of styles that can inherit values
from their parents.</div></td><td class="summaryTableOwnerCol">StyleManager</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#registerParentDisplayListInvalidatingStyle()" class="signatureLink">registerParentDisplayListInvalidatingStyle</a>(styleName:String):void</div><div class="summaryTableDescription"><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#registerParentDisplayListInvalidatingStyle on a style manager instance">IStyleManager2.registerParentDisplayListInvalidatingStyle on a style manager instance</A></div>[static]
Adds to the list of styles which may affect the appearance
or layout of the component's parent container.</div></td><td class="summaryTableOwnerCol">StyleManager</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#registerParentSizeInvalidatingStyle()" class="signatureLink">registerParentSizeInvalidatingStyle</a>(styleName:String):void</div><div class="summaryTableDescription"><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#registerParentSizeInvalidatingStyle on a style manager instance">IStyleManager2.registerParentSizeInvalidatingStyle on a style manager instance</A></div>[static]
Adds to the list of styles which may affect the measured size
of the component's parent container.</div></td><td class="summaryTableOwnerCol">StyleManager</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#registerSizeInvalidatingStyle()" class="signatureLink">registerSizeInvalidatingStyle</a>(styleName:String):void</div><div class="summaryTableDescription"><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#registerSizeInvalidatingStyle on a style manager instance">IStyleManager2.registerSizeInvalidatingStyle on a style manager instance</A></div>[static]
Adds to the list of styles which may affect the measured size
of the component.</div></td><td class="summaryTableOwnerCol">StyleManager</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#setStyleDeclaration()" class="signatureLink">setStyleDeclaration</a>(selector:String, styleDeclaration:<a href="../../mx/styles/CSSStyleDeclaration.html">CSSStyleDeclaration</a>, update:Boolean):void</div><div class="summaryTableDescription"><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#setStyleDeclaration on a style manager instance">IStyleManager2.setStyleDeclaration on a style manager instance</A></div>[static]
Sets the CSSStyleDeclaration object that stores the rules
for the specified CSS selector.</div></td><td class="summaryTableOwnerCol">StyleManager</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#unloadStyleDeclarations()" class="signatureLink">unloadStyleDeclarations</a>(url:String, update:Boolean = true):void</div><div class="summaryTableDescription"><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#unloadStyleDeclarations on a style manager instance">IStyleManager2.unloadStyleDeclarations on a style manager instance</A></div>[static]
Unloads a style SWF.</div></td><td class="summaryTableOwnerCol">StyleManager</td></tr></table></div><a name="constantSummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Constants</div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableConstant"><tr><th>&nbsp;</th><th colspan="2">Constant</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#NOT_A_COLOR" class="signatureLink">NOT_A_COLOR</a> : uint = 0xFFFFFFFF<div class="summaryTableDescription">[static]
The getColorName() method returns this value if the passed-in
String is not a legitimate color name.</div></td><td class="summaryTableOwnerCol">StyleManager</td></tr></table></div><script language="javascript" type="text/javascript"><!--
showHideInherited();
--></script><div class="MainContent"><div class="detailSectionHeader">Property Detail</div><a name="propertyDetail"></a><a name="selectors"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">selectors</td><td class="detailHeaderType">property</td></tr></table><div class="detailBody"><code>selectors:Array</code>&nbsp;&nbsp;[read-only] <div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#selectors on a style manager instance">IStyleManager2.selectors on a style manager instance</A></div><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p>
Returns an Array of all the CSS selectors that are registered with the StyleManager.
You can pass items in this Array to the <code>getStyleDeclaration()</code> method to get the corresponding CSSStyleDeclaration object.
Class selectors are prepended with a period.
</p><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public static function get selectors():Array</code><br/></div><a name="methodDetail"></a><div class="detailSectionHeader">Method Detail</div><a name="clearStyleDeclaration()"></a><a name="clearStyleDeclaration(String,Boolean)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">clearStyleDeclaration</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td></tr></table><div class="detailBody"><code> public static function clearStyleDeclaration(selector:String, update:Boolean):void</code><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#clearStyleDeclaration on a style manager instance">IStyleManager2.clearStyleDeclaration on a style manager instance</A></div><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p>
Clears the CSSStyleDeclaration object that stores the rules
for the specified CSS selector.
<p>If the specified selector is a class selector (for example, ".bigMargins" or ".myStyle"),
you must be sure to start the
<code>selector</code> property with a period (.).</p>
<p>If the specified selector is a type selector (for example, "Button"), do not start the
<code>selector</code> property with a period.</p>
<p>The <code>global</code> selector is similar to a type selector
and does not start with a period.</p>
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">selector</span>:String</code> &mdash; The name of the CSS selector to clear.
</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">update</span>:Boolean</code> &mdash; Set to <code>true</code> to force an immediate update of the styles.
Set to <code>false</code> to avoid an immediate update of the styles in the application.
For more information about this method, see the description in the <code>setStyleDeclaration()</code>
method.
</td></tr></table></p><p><span class="label">See also</span></p><div class="seeAlso"><a href="StyleManager.html#setStyleDeclaration()" target="">setStyleDeclaration()</a></div></div><a name="getColorName()"></a><a name="getColorName(Object)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">getColorName</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public static function getColorName(colorName:Object):uint</code><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#getColorName on a style manager instance">IStyleManager2.getColorName on a style manager instance</A></div><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p>
Returns the numeric RGB color value that corresponds to the
specified color string.
The color string can be either a case-insensitive color name
such as <code>"red"</code>, <code>"Blue"</code>, or
<code>"haloGreen"</code>, a hexadecimal value such as 0xFF0000, or a #-hexadecimal String
such as <code>"#FF0000"</code>.
<p>This method returns a uint, such as 4521830, that represents a color. You can convert
this uint to a hexadecimal value by passing the numeric base (in this case, 16), to
the uint class's <code>toString()</code> method, as the following example shows:</p>
<pre>
import mx.styles.StyleManager;
private function getNewColorName():void {
StyleManager.registerColorName("soylentGreen",0x44FF66);
trace(StyleManager.getColorName("soylentGreen").toString(16));
}
</pre>
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">colorName</span>:Object</code> &mdash; The color name.
</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>uint</code> &mdash; Returns a uint that represents the color value or <code>NOT_A_COLOR</code>
if the value of the <code>colorName</code> property is not an alias for a color.
</td></tr></table></div><a name="getColorNames()"></a><a name="getColorNames(Array)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">getColorNames</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public static function getColorNames(colors:Array):void</code><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#getColorNames on a style manager instance">IStyleManager2.getColorNames on a style manager instance</A></div><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p>
Converts each element of the colors Array from a color name
to a numeric RGB color value.
Each color String can be either a case-insensitive color name
such as <code>"red"</code>, <code>"Blue"</code>, or
<code>"haloGreen"</code>, a hexadecimal value such as 0xFF0000, or a #-hexadecimal String
such as <code>"#FF0000"</code>..
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">colors</span>:Array</code> &mdash; An Array of color names.
</td></tr></table></p></div><a name="getStyleDeclaration()"></a><a name="getStyleDeclaration(String)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">getStyleDeclaration</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public static function getStyleDeclaration(selector:String):<a href="../../mx/styles/CSSStyleDeclaration.html">CSSStyleDeclaration</a></code><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#getStyleDeclaration on a style manager instance">IStyleManager2.getStyleDeclaration on a style manager instance</A></div><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p>
Gets the CSSStyleDeclaration object that stores the rules
for the specified CSS selector.
<p>If the <code>selector</code> parameter starts with a period (.),
the returned CSSStyleDeclaration is a class selector and applies only to those instances
whose <code>styleName</code> property specifies that selector
(not including the period).
For example, the class selector <code>".bigMargins"</code>
applies to any UIComponent whose <code>styleName</code>
is <code>"bigMargins"</code>.</p>
<p>If the <code>selector</code> parameter does not start with a period,
the returned CSSStyleDeclaration is a type selector and applies to all instances
of that type.
For example, the type selector <code>"Button"</code>
applies to all instances of Button and its subclasses.</p>
<p>The <code>global</code> selector is similar to a type selector
and does not start with a period.</p>
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">selector</span>:String</code> &mdash; The name of the CSS selector.
</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../mx/styles/CSSStyleDeclaration.html">CSSStyleDeclaration</a></code> &mdash; The style declaration whose name matches the <code>selector</code> property.
</td></tr></table></div><a name="getStyleManager()"></a><a name="getStyleManager(mx.core.IFlexModuleFactory)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">getStyleManager</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public static function getStyleManager(moduleFactory:<a href="../../mx/core/IFlexModuleFactory.html">IFlexModuleFactory</a>):<a href="../../mx/styles/IStyleManager2.html">IStyleManager2</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
Returns the style manager for an object.
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">moduleFactory</span>:<a href="../../mx/core/IFlexModuleFactory.html">IFlexModuleFactory</a></code> &mdash; The module factory of an object you want the
style manager for. If null, the top-level style manager is returned.
</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../mx/styles/IStyleManager2.html">IStyleManager2</a></code> &mdash; the style manager for the given module factory.
</td></tr></table></div><a name="isColorName()"></a><a name="isColorName(String)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">isColorName</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public static function isColorName(colorName:String):Boolean</code><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#isColorName on a style manager instance">IStyleManager2.isColorName on a style manager instance</A></div><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p>
Tests to see if the given String is an alias for a color value. For example,
by default, the String "blue" is an alias for 0x0000FF.
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">colorName</span>:String</code> &mdash; The color name to test. This parameter is not case-sensitive.
</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Boolean</code> &mdash; Returns <code>true</code> if <code>colorName</code> is an alias
for a color.
</td></tr></table></div><a name="isInheritingStyle()"></a><a name="isInheritingStyle(String)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">isInheritingStyle</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public static function isInheritingStyle(styleName:String):Boolean</code><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#isInheritingStyle on a style manager instance">IStyleManager2.isInheritingStyle on a style manager instance</A></div><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p>
Tests to see if a style is inheriting.
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">styleName</span>:String</code> &mdash; The name of the style that you test to see if it is inheriting.
</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Boolean</code> &mdash; Returns <code>true</code> if the specified style is inheriting.
</td></tr></table></div><a name="isInheritingTextFormatStyle()"></a><a name="isInheritingTextFormatStyle(String)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">isInheritingTextFormatStyle</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public static function isInheritingTextFormatStyle(styleName:String):Boolean</code><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#isInheritingTextFormatStyle on a style manager instance">IStyleManager2.isInheritingTextFormatStyle on a style manager instance</A></div><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p>
Test to see if a TextFormat style is inheriting.
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">styleName</span>:String</code> &mdash; The name of the style that you test to see if it is inheriting.
</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Boolean</code> &mdash; Returns <code>true</code> if the specified TextFormat style
is inheriting.
</td></tr></table></div><a name="isParentDisplayListInvalidatingStyle()"></a><a name="isParentDisplayListInvalidatingStyle(String)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">isParentDisplayListInvalidatingStyle</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public static function isParentDisplayListInvalidatingStyle(styleName:String):Boolean</code><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#isParentDisplayListInvalidatingStyle on a style manager instance">IStyleManager2.isParentDisplayListInvalidatingStyle on a style manager instance</A></div><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p>
Tests to see if this style affects the component's parent container in
such a way as to require that the parent container redraws itself when this style changes.
<p>When one of these styles is set with <code>setStyle()</code>,
the <code>invalidateDisplayList()</code> method is auomatically called on the component's
parent container to make it redraw and/or relayout its children.</p>
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">styleName</span>:String</code> &mdash; The name of the style to test.
</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Boolean</code> &mdash; Returns <code>true</code> if the specified style is one
which may affect the appearance or layout of the component's
parent container.
</td></tr></table></div><a name="isParentSizeInvalidatingStyle()"></a><a name="isParentSizeInvalidatingStyle(String)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">isParentSizeInvalidatingStyle</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public static function isParentSizeInvalidatingStyle(styleName:String):Boolean</code><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#isParentSizeInvalidatingStyle on a style manager instance">IStyleManager2.isParentSizeInvalidatingStyle on a style manager instance</A></div><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p>
Tests to see if the style changes the size of the component's parent container.
<p>When one of these styles is set with <code>setStyle()</code>,
the <code>invalidateSize()</code> method is automatically called on the component's
parent container to make its measured size get recalculated
later.</p>
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">styleName</span>:String</code> &mdash; The name of the style to test.
</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Boolean</code> &mdash; Returns <code>true</code> if the specified style is one
which may affect the measured size of the component's
parent container.
</td></tr></table></div><a name="isSizeInvalidatingStyle()"></a><a name="isSizeInvalidatingStyle(String)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">isSizeInvalidatingStyle</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public static function isSizeInvalidatingStyle(styleName:String):Boolean</code><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#isSizeInvalidatingStyle on a style manager instance">IStyleManager2.isSizeInvalidatingStyle on a style manager instance</A></div><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p>
Tests to see if a style changes the size of a component.
<p>When one of these styles is set with the <code>setStyle()</code> method,
the <code>invalidateSize()</code> method is automatically called on the component
to make its measured size get recalculated later.</p>
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">styleName</span>:String</code> &mdash; The name of the style to test.
</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Boolean</code> &mdash; Returns <code>true</code> if the specified style is one
which may affect the measured size of the component.
</td></tr></table></div><a name="isValidStyleValue()"></a><a name="isValidStyleValue(any)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">isValidStyleValue</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public static function isValidStyleValue(value:*):Boolean</code><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#isValidStyleValue on a style manager instance">IStyleManager2.isValidStyleValue on a style manager instance</A></div><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p>
Determines if a specified parameter is a valid style property. For example:
<pre>
trace(StyleManager.isValidStyleValue(myButton.getStyle("color")).toString());
</pre>
<p>This can be useful because some styles can be set to values
such as 0, <code>NaN</code>,
the empty String (<code>""</code>), or <code>null</code>, which can
cause an <code>if (value)</code> test to fail.</p>
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">value</span>:*</code> &mdash; The style property to test.
</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Boolean</code> &mdash; If you pass the value returned by a <code>getStyle()</code> method call
to this method, it returns <code>true</code> if the style
was set and <code>false</code> if it was not set.
</td></tr></table></div><a name="loadStyleDeclarations()"></a><a name="loadStyleDeclarations(String,Boolean,Boolean,flash.system.ApplicationDomain,flash.system.SecurityDomain)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">loadStyleDeclarations</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public static function loadStyleDeclarations(url:String, update:Boolean = true, trustContent:Boolean = false, applicationDomain:ApplicationDomain = null, securityDomain:SecurityDomain = null):IEventDispatcher</code><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#loadStyleDeclarations on a style manager instance">IStyleManager2.loadStyleDeclarations on a style manager instance</A></div><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p>
Loads a style SWF.
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">url</span>:String</code> &mdash; Location of the style SWF.
</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">update</span>:Boolean</code> (default = <code>true</code>)<code></code> &mdash; Set to <code>true</code> to force
an immediate update of the styles.
Set to <code>false</code> to avoid an immediate update
of the styles in the application.
This parameter is optional and defaults to <code>true</code>
For more information about this parameter, see the description
in the <code>setStyleDeclaration()</code> method.
</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">trustContent</span>:Boolean</code> (default = <code>false</code>)<code></code> &mdash; Obsolete, no longer used.
This parameter is optional and defaults to <code>false</code>.
</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">applicationDomain</span>:ApplicationDomain</code> (default = <code>null</code>)<code></code> &mdash; The ApplicationDomain passed to the
<code>load()</code> method of the IModuleInfo that loads the style SWF.
This parameter is optional and defaults to <code>null</code>.
</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">securityDomain</span>:SecurityDomain</code> (default = <code>null</code>)<code></code> &mdash; The SecurityDomain passed to the
<code>load()</code> method of the IModuleInfo that loads the style SWF.
This parameter is optional and defaults to <code>null</code>.
</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>IEventDispatcher</code> &mdash; An IEventDispatcher implementation that supports
StyleEvent.PROGRESS, StyleEvent.COMPLETE, and
StyleEvent.ERROR.
</td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="StyleManager.html#setStyleDeclaration()" target="">setStyleDeclaration()</a></div></div><a name="registerColorName()"></a><a name="registerColorName(String,uint)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">registerColorName</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public static function registerColorName(colorName:String, colorValue:uint):void</code><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#registerColorName on a style manager instance">IStyleManager2.registerColorName on a style manager instance</A></div><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p>
Adds a color name to the list of aliases for colors.
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">colorName</span>:String</code> &mdash; The name of the color to add to the list; for example, "blue".
If you later access this color name, the value is not case-sensitive.
</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">colorValue</span>:uint</code> &mdash; Color value, for example, 0x0000FF.
</td></tr></table></p></div><a name="registerInheritingStyle()"></a><a name="registerInheritingStyle(String)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">registerInheritingStyle</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public static function registerInheritingStyle(styleName:String):void</code><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#registerInheritingStyle on a style manager instance">IStyleManager2.registerInheritingStyle on a style manager instance</A></div><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p>
Adds to the list of styles that can inherit values
from their parents.
<p><b>Note:</b> Ensure that you avoid using duplicate style names, as name
collisions can result in decreased performance if a style that is
already used becomes inheriting.</p>
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">styleName</span>:String</code> &mdash; The name of the style that is added to the list of styles that can inherit values.
</td></tr></table></p></div><a name="registerParentDisplayListInvalidatingStyle()"></a><a name="registerParentDisplayListInvalidatingStyle(String)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">registerParentDisplayListInvalidatingStyle</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public static function registerParentDisplayListInvalidatingStyle(styleName:String):void</code><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#registerParentDisplayListInvalidatingStyle on a style manager instance">IStyleManager2.registerParentDisplayListInvalidatingStyle on a style manager instance</A></div><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p>
Adds to the list of styles which may affect the appearance
or layout of the component's parent container.
When one of these styles is set with <code>setStyle()</code>,
the <code>invalidateDisplayList()</code> method is auomatically called on the component's
parent container to make it redraw and/or relayout its children.
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">styleName</span>:String</code> &mdash; The name of the style to register.
</td></tr></table></p></div><a name="registerParentSizeInvalidatingStyle()"></a><a name="registerParentSizeInvalidatingStyle(String)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">registerParentSizeInvalidatingStyle</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public static function registerParentSizeInvalidatingStyle(styleName:String):void</code><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#registerParentSizeInvalidatingStyle on a style manager instance">IStyleManager2.registerParentSizeInvalidatingStyle on a style manager instance</A></div><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p>
Adds to the list of styles which may affect the measured size
of the component's parent container.
<p>When one of these styles is set with <code>setStyle()</code>,
the <code>invalidateSize()</code> method is automatically called on the component's
parent container to make its measured size get recalculated
later.</p>
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">styleName</span>:String</code> &mdash; The name of the style to register.
</td></tr></table></p></div><a name="registerSizeInvalidatingStyle()"></a><a name="registerSizeInvalidatingStyle(String)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">registerSizeInvalidatingStyle</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public static function registerSizeInvalidatingStyle(styleName:String):void</code><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#registerSizeInvalidatingStyle on a style manager instance">IStyleManager2.registerSizeInvalidatingStyle on a style manager instance</A></div><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p>
Adds to the list of styles which may affect the measured size
of the component.
When one of these styles is set with <code>setStyle()</code>,
the <code>invalidateSize()</code> method is automatically called on the component
to make its measured size get recalculated later.
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">styleName</span>:String</code> &mdash; The name of the style that you add to the list.
</td></tr></table></p></div><a name="setStyleDeclaration()"></a><a name="setStyleDeclaration(String,mx.styles.CSSStyleDeclaration,Boolean)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">setStyleDeclaration</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public static function setStyleDeclaration(selector:String, styleDeclaration:<a href="../../mx/styles/CSSStyleDeclaration.html">CSSStyleDeclaration</a>, update:Boolean):void</code><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#setStyleDeclaration on a style manager instance">IStyleManager2.setStyleDeclaration on a style manager instance</A></div><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p>
Sets the CSSStyleDeclaration object that stores the rules
for the specified CSS selector.
<p>If the <code>selector</code> parameter starts with a period (.),
the specified selector is a "class selector" and applies only to those instances
whose <code>styleName</code> property specifies that selector
(not including the period).
For example, the class selector <code>".bigMargins"</code>
applies to any UIComponent whose <code>styleName</code>
is <code>"bigMargins"</code>.</p>
<p>If the <code>selector</code> parameter does not start with a period,
the specified selector is a "type selector" and applies to all instances
of that type.
For example, the type selector <code>"Button"</code>
applies to all instances of Button and its subclasses.</p>
<p>The <code>global</code> selector is similar to a type selector
and does not start with a period.</p>
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">selector</span>:String</code> &mdash; The name of the CSS selector.
</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">styleDeclaration</span>:<a href="../../mx/styles/CSSStyleDeclaration.html">CSSStyleDeclaration</a></code> &mdash; The new style declaration.
</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">update</span>:Boolean</code> &mdash; Set to <code>true</code> to force an immediate update of the styles; internally, Flex
calls the <code>styleChanged()</code> method of UIComponent.
Set to <code>false</code> to avoid an immediate update of the styles in the application.
<p>The styles will be updated the next time one of the following methods is called with
the <code>update</code> property set to <code>true</code>:
<ul>
<li><code>clearStyleDeclaration()</code></li>
<li><code>loadStyleDeclarations()</code></li>
<li><code>setStyleDeclaration()</code></li>
<li><code>unloadStyleDeclarations()</code></li>
</ul>
</p>
<p>Typically, if you call the one of these methods multiple times,
you set this property to <code>true</code> only on the last call,
so that Flex does not call the <code>styleChanged()</code> method multiple times.</p>
<p>If you call the <code>getStyle()</code> method, Flex returns the style value
that was last applied to the UIComponent through a call to the <code>styleChanged()</code> method.
The component's appearance might not reflect the value returned by the <code>getStyle()</code> method. This occurs
because one of these style declaration methods might not yet have been called with the
<code>update</code> property set to <code>true</code>.</p>
</td></tr></table></p></div><a name="unloadStyleDeclarations()"></a><a name="unloadStyleDeclarations(String,Boolean)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">unloadStyleDeclarations</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public static function unloadStyleDeclarations(url:String, update:Boolean = true):void</code><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated Since</b> 4.0: Please Use <A href="IStyleManager2.html#unloadStyleDeclarations on a style manager instance">IStyleManager2.unloadStyleDeclarations on a style manager instance</A></div><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p>
Unloads a style SWF.
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">url</span>:String</code> &mdash; Location of the style SWF.
</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">update</span>:Boolean</code> (default = <code>true</code>)<code></code> &mdash; Set to <code>true</code> to force an immediate update of the styles.
Set to <code>false</code> to avoid an immediate update of the styles in the application.
For more information about this method, see the description in the <code>setStyleDeclaration()</code>
method.
</td></tr></table></p><p><span class="label">See also</span></p><div class="seeAlso"><a href="StyleManager.html#setStyleDeclaration()" target="">setStyleDeclaration()</a></div></div><div class="detailSectionHeader">Constant Detail</div><a name="constantDetail"></a><a name="NOT_A_COLOR"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">NOT_A_COLOR</td><td class="detailHeaderType">Constant</td></tr></table><div class="detailBody"><code>public static const NOT_A_COLOR:uint = 0xFFFFFFFF</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p>
The <code>getColorName()</code> method returns this value if the passed-in
String is not a legitimate color name.
</p></div><br/><br/><hr><br/><p></p><center class="copyright"><footer>The Apache Software Foundation</footer><br/>Wed Nov 15 2017, 09:50 AM +01:00 </center></div></body></html><!--The Apache Software Foundation<br/>Wed Nov 15 2017, 09:50 AM +01:00 -->