<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ActionScript Examples &#187; Label</title>
	<atom:link href="http://actionscriptexamples.com/tag/label/feed/" rel="self" type="application/rss+xml" />
	<link>http://actionscriptexamples.com</link>
	<description>A bunch of ActionScript 2.0 and ActionScript 3.0 examples*</description>
	<lastBuildDate>Mon, 28 Jun 2010 18:23:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Loading an external text file into a label instance in Flash using ActionScript 3.0</title>
		<link>http://actionscriptexamples.com/2008/12/07/loading-an-external-text-file-into-a-label-instance-in-flash-using-actionscript-30/</link>
		<comments>http://actionscriptexamples.com/2008/12/07/loading-an-external-text-file-into-a-label-instance-in-flash-using-actionscript-30/#comments</comments>
		<pubDate>Sun, 07 Dec 2008 16:35:22 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[Label]]></category>
		<category><![CDATA[URLLoader]]></category>
		<category><![CDATA[URLRequest]]></category>

		<guid isPermaLink="false">http://actionscriptexamples.com/?p=165</guid>
		<description><![CDATA[When building dynamic sites or applications, you may want to load text from an external file instead of hard-coding the text directly into the Flash document. One advantage of dynamically loading content is that you can update the welcome message on your homepage without opening an FLA file, republishing the SWF file or uploading a [...]]]></description>
		<wfw:commentRss>http://actionscriptexamples.com/2008/12/07/loading-an-external-text-file-into-a-label-instance-in-flash-using-actionscript-30/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Using embedded fonts with the Label control in Flash using ActionScript 3.0</title>
		<link>http://actionscriptexamples.com/2008/12/07/using-embedded-fonts-with-the-label-control-in-flash-using-actionscript-30/</link>
		<comments>http://actionscriptexamples.com/2008/12/07/using-embedded-fonts-with-the-label-control-in-flash-using-actionscript-30/#comments</comments>
		<pubDate>Sun, 07 Dec 2008 16:31:18 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[Label]]></category>
		<category><![CDATA[antiAliasType]]></category>
		<category><![CDATA[embedFonts]]></category>
		<category><![CDATA[textFormat]]></category>

		<guid isPermaLink="false">http://actionscriptexamples.com/?p=162</guid>
		<description><![CDATA[Working with embedded fonts in a Label component instance is very similar to working with a TextField instance. The main difference is that instead of using the embedFonts or defaultTextFormat properties of the TextField class, set the embedFonts or textFormat styles. In order to set the Label instance&#8217;s anti-alias type, set the antiAliasType property on [...]]]></description>
		<wfw:commentRss>http://actionscriptexamples.com/2008/12/07/using-embedded-fonts-with-the-label-control-in-flash-using-actionscript-30/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Creating a selectable Label instance in Flash using ActionScript 3.0</title>
		<link>http://actionscriptexamples.com/2008/12/06/creating-a-selectable-label-instance-in-flash-using-actionscript-30/</link>
		<comments>http://actionscriptexamples.com/2008/12/06/creating-a-selectable-label-instance-in-flash-using-actionscript-30/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 15:26:27 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[Label]]></category>
		<category><![CDATA[alwaysShowSelection]]></category>
		<category><![CDATA[selectable]]></category>
		<category><![CDATA[setSelection()]]></category>
		<category><![CDATA[TextField]]></category>

		<guid isPermaLink="false">http://actionscriptexamples.com/?p=155</guid>
		<description><![CDATA[By default, the text in a Label component instance isn&#8217;t selectable by the user. If you want to allow a user to select the text in a label, set the label&#8217;s selectable property to true. The following example creates a selectable Label instance by setting the selectable property to true. Full code after the jump. [...]]]></description>
		<wfw:commentRss>http://actionscriptexamples.com/2008/12/06/creating-a-selectable-label-instance-in-flash-using-actionscript-30/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a multi-line Label instance in Flash using ActionScript 3.0</title>
		<link>http://actionscriptexamples.com/2008/12/06/creating-a-multi-line-label-instance-in-flash-using-actionscript-30/</link>
		<comments>http://actionscriptexamples.com/2008/12/06/creating-a-multi-line-label-instance-in-flash-using-actionscript-30/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 15:17:38 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[Label]]></category>
		<category><![CDATA[autoSize]]></category>
		<category><![CDATA[wordWrap]]></category>

		<guid isPermaLink="false">http://actionscriptexamples.com/?p=148</guid>
		<description><![CDATA[If you need to display longer amounts of text but don&#8217;t want to use a TextArea or TextField, set the label instance&#8217;s wordWrap property to true to enable multi-line text labels. The following example creates a new multi-line label instance by setting the wordWrap property to true. This example sets the height of the Label [...]]]></description>
		<wfw:commentRss>http://actionscriptexamples.com/2008/12/06/creating-a-multi-line-label-instance-in-flash-using-actionscript-30/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Automatically resizing a Label instance in Flash using ActionScript 3.0</title>
		<link>http://actionscriptexamples.com/2008/12/06/automatically-resizing-a-label-instance-in-flash-using-actionscript-30/</link>
		<comments>http://actionscriptexamples.com/2008/12/06/automatically-resizing-a-label-instance-in-flash-using-actionscript-30/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 15:09:30 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[Label]]></category>
		<category><![CDATA[autoSize]]></category>
		<category><![CDATA[resize]]></category>
		<category><![CDATA[TextFieldAutoSize]]></category>

		<guid isPermaLink="false">http://actionscriptexamples.com/?p=143</guid>
		<description><![CDATA[If you do not know the width or length of the text, set the label instance&#8217;s autoSize property to one of the constants in the TextFieldAutoSize class. By setting the autoSize property, the label is resized automatically to match the contents. Note: Whenever a Label instance is resized, the resize event (represented by the fl.events.ComponentEvent.RESIZE [...]]]></description>
		<wfw:commentRss>http://actionscriptexamples.com/2008/12/06/automatically-resizing-a-label-instance-in-flash-using-actionscript-30/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Creating an HTML-enabled label instance in Flash using ActionScript 3.0</title>
		<link>http://actionscriptexamples.com/2008/12/06/creating-an-html-enabled-label-instance-in-flash-using-actionscript-30/</link>
		<comments>http://actionscriptexamples.com/2008/12/06/creating-an-html-enabled-label-instance-in-flash-using-actionscript-30/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 15:09:05 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[Label]]></category>
		<category><![CDATA[htmlText]]></category>

		<guid isPermaLink="false">http://actionscriptexamples.com/?p=157</guid>
		<description><![CDATA[In a previous example, &#8220;Changing the Label instance&#8217;s text in Flash using ActionScript 3.0&#8243;, we saw how to set a the text in Label control by setting the text property. When using the Label component, you aren&#8217;t limited to plain-text formatting. By setting the label instance&#8217;s htmlText property, you can apply rich, HTML formatting such [...]]]></description>
		<wfw:commentRss>http://actionscriptexamples.com/2008/12/06/creating-an-html-enabled-label-instance-in-flash-using-actionscript-30/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing the Label instance&#8217;s text in Flash using ActionScript 3.0</title>
		<link>http://actionscriptexamples.com/2008/12/06/changing-the-label-instances-text-in-flash-using-actionscript-30/</link>
		<comments>http://actionscriptexamples.com/2008/12/06/changing-the-label-instances-text-in-flash-using-actionscript-30/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 15:04:40 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[Label]]></category>

		<guid isPermaLink="false">http://actionscriptexamples.com/?p=141</guid>
		<description><![CDATA[To change the text of a Label instance, set either the text or htmlText properties. Similar to working with text fields, setting the text property sets the plain-text , and setting the htmlText property sets the HTML formatted text displayed by the Label. For more information on HTML formatted labels, see &#8220;Creating an HTML-enabled label [...]]]></description>
		<wfw:commentRss>http://actionscriptexamples.com/2008/12/06/changing-the-label-instances-text-in-flash-using-actionscript-30/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a new Label instance using ActionScript 3.0</title>
		<link>http://actionscriptexamples.com/2008/12/05/creating-a-new-label-instance-using-actionscript-30/</link>
		<comments>http://actionscriptexamples.com/2008/12/05/creating-a-new-label-instance-using-actionscript-30/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 05:11:48 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[Label]]></category>

		<guid isPermaLink="false">http://actionscriptexamples.com/?p=136</guid>
		<description><![CDATA[To create a new instance of the Label class using ActionScript, drag a copy of the component from the Components panel into your current Flash document&#8217;s library. Next, import the fl.controls.Label class using the import statement. This step is required because the component files are not implicitly imported, like the other flash.* packages. Once you [...]]]></description>
		<wfw:commentRss>http://actionscriptexamples.com/2008/12/05/creating-a-new-label-instance-using-actionscript-30/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Displaying a background color on a Label control in Flash</title>
		<link>http://actionscriptexamples.com/2008/12/04/displaying-a-background-color-on-a-label-control-in-flash/</link>
		<comments>http://actionscriptexamples.com/2008/12/04/displaying-a-background-color-on-a-label-control-in-flash/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 05:16:21 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[Label]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[backgroundColor]]></category>
		<category><![CDATA[TextField]]></category>

		<guid isPermaLink="false">http://actionscriptexamples.com/?p=139</guid>
		<description><![CDATA[The following example shows how you can display a background color on a Flash ActionScript 3.0 Label control by setting the background and backgroundColor properties on the Label control&#8217;s internal TextField. Full code after the jump. // ActionScript 3.0 import fl.controls.Label; &#160; var myLabel:Label = new Label&#40;&#41;; // add background color to internal text field. [...]]]></description>
		<wfw:commentRss>http://actionscriptexamples.com/2008/12/04/displaying-a-background-color-on-a-label-control-in-flash/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
