<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - flash - 9.0 - ActionScriptLangRefV3 - fl/controls/Label.html</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-24T21:25:35</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/controls/Label.html#81214" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/controls/Label.html#81214">
		<title>flash/9.0/ActionScriptLangRefV3/fl/controls/Label.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/controls/Label.html#81214</link>
		<description>Setting a label's enabled state to false does NOT use the disabledTextFormat.&lt;br /&gt;&lt;br /&gt;The code preventing this is here:&lt;br /&gt;&lt;br /&gt;protected function drawTextFormat():void {&lt;br /&gt;	var tf:TextFormat = getStyleValue(&quot;textFormat&quot;) as TextFormat;&lt;br /&gt;	if (tf == null) {&lt;br /&gt;		var uiStyles:Object = UIComponent.getStyleDefinition();&lt;br /&gt;		tf = enabled ? uiStyles.defaultTextFormat as TextFormat : uiStyles.defaultDisabledTextFormat as TextFormat;&lt;br /&gt;	}&lt;br /&gt;	&lt;br /&gt;	textField.defaultTextFormat = tf; // This removes HTML Styles...&lt;br /&gt;	textField.setTextFormat(tf);&lt;br /&gt;	&lt;br /&gt;	// Set the HTML again to make sure that the html styles are preserved.&lt;br /&gt;	if (_html &amp;&amp; _savedHTML != null) { htmlText = _savedHTML; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;tf is never null, so it never checks for enabled at all. just uses the default format.</description>
		<dc:creator>BIT-101</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-02-27T08:33:48</dc:date>
	</item>
	</rdf:RDF>

