<?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; Button</title>
	<atom:link href="http://actionscriptexamples.com/tag/button/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>Determining whether a UILoader component auto loads content in Flash using ActionScript 3.0</title>
		<link>http://actionscriptexamples.com/2008/12/19/determining-whether-a-uiloader-component-auto-loads-content-in-flash-using-actionscript-30/</link>
		<comments>http://actionscriptexamples.com/2008/12/19/determining-whether-a-uiloader-component-auto-loads-content-in-flash-using-actionscript-30/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 05:32:18 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[UILoader]]></category>
		<category><![CDATA[autoLoad]]></category>
		<category><![CDATA[Button]]></category>
		<category><![CDATA[load()]]></category>
		<category><![CDATA[source]]></category>

		<guid isPermaLink="false">http://actionscriptexamples.com/?p=265</guid>
		<description><![CDATA[The following example shows how you can control whether content is auto-loaded in a Flash ActionScript 3.0 UILoader container by setting the Boolean autoLoad property. If the autoLoad property is set to true, the content is automatically loaded whenever the source property is set or the load() method is called. If the autoLoad property is [...]]]></description>
		<wfw:commentRss>http://actionscriptexamples.com/2008/12/19/determining-whether-a-uiloader-component-auto-loads-content-in-flash-using-actionscript-30/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating auto-repeating buttons in Flash with ActionScript 3.0</title>
		<link>http://actionscriptexamples.com/2008/11/26/creating-auto-repeating-buttons-in-flash-with-actionscript-30/</link>
		<comments>http://actionscriptexamples.com/2008/11/26/creating-auto-repeating-buttons-in-flash-with-actionscript-30/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 16:44:24 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[Button]]></category>
		<category><![CDATA[appendText()]]></category>
		<category><![CDATA[autoRepeat]]></category>
		<category><![CDATA[buttonDown]]></category>
		<category><![CDATA[maxVerticalScrollPosition]]></category>
		<category><![CDATA[verticalScrollPosition]]></category>

		<guid isPermaLink="false">http://actionscriptexamples.com/?p=60</guid>
		<description><![CDATA[When building applications or games in Flash, often you might want a button to continually dispatch an event for as long as a user has the Button instance pressed. For example, if you were building a custom numeric stepper you would want the numbers to increase or decrease for as long as the user pressed [...]]]></description>
		<wfw:commentRss>http://actionscriptexamples.com/2008/11/26/creating-auto-repeating-buttons-in-flash-with-actionscript-30/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Using an external image for a Button icon in Flash with ActionScript 3.0</title>
		<link>http://actionscriptexamples.com/2008/11/26/using-an-external-image-for-a-button-icon-in-flash-with-actionscript-30/</link>
		<comments>http://actionscriptexamples.com/2008/11/26/using-an-external-image-for-a-button-icon-in-flash-with-actionscript-30/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 16:39:58 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[Button]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[Loader]]></category>
		<category><![CDATA[scaleContent]]></category>
		<category><![CDATA[UILoader]]></category>
		<category><![CDATA[validateNow()]]></category>

		<guid isPermaLink="false">http://actionscriptexamples.com/?p=59</guid>
		<description><![CDATA[The following example demonstrates how to load a remote image for a button icon using both a Loader instance and a UILoader component instance. Full code after the jump. // ActionScript 3.0 // Import the required component classes. import fl.controls.Button; import fl.containers.UILoader; &#160; // Create a new Loader instance, and load an external PNG image. [...]]]></description>
		<wfw:commentRss>http://actionscriptexamples.com/2008/11/26/using-an-external-image-for-a-button-icon-in-flash-with-actionscript-30/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting the gap between an icon and a label in a Button control in Flash and ActionScript 3.0</title>
		<link>http://actionscriptexamples.com/2008/11/26/setting-the-gap-between-an-icon-and-a-label-in-a-button-control-in-flash-and-actionscript-30/</link>
		<comments>http://actionscriptexamples.com/2008/11/26/setting-the-gap-between-an-icon-and-a-label-in-a-button-control-in-flash-and-actionscript-30/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 16:32:15 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[Button]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[textPadding]]></category>

		<guid isPermaLink="false">http://actionscriptexamples.com/?p=57</guid>
		<description><![CDATA[The following example shows how you can control the amount of padding between the Button instance&#8217;s icon and label by setting the textPadding style. Full code after the jump. Note: This example requires a symbol in the document&#8217;s library with a linkage class of AdobeLogo, as well as a Button and a Slider component. // [...]]]></description>
		<wfw:commentRss>http://actionscriptexamples.com/2008/11/26/setting-the-gap-between-an-icon-and-a-label-in-a-button-control-in-flash-and-actionscript-30/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting a Button control&#8217;s icon and label position in Flash with ActionScript 3.0</title>
		<link>http://actionscriptexamples.com/2008/11/26/setting-a-button-controls-icon-and-label-position-in-flash-with-actionscript-30/</link>
		<comments>http://actionscriptexamples.com/2008/11/26/setting-a-button-controls-icon-and-label-position-in-flash-with-actionscript-30/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 16:27:16 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[Button]]></category>
		<category><![CDATA[ButtonLabelPlacement]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[labelPlacement]]></category>

		<guid isPermaLink="false">http://actionscriptexamples.com/?p=56</guid>
		<description><![CDATA[In a previous entry, &#8220;Setting icons on the Button component with Flash and ActionScript 3.0&#8243;, we saw how to add an icon to a Button component instance by setting the icon style. You can use the labelPosition property to position the button&#8217;s label relative to the icon. The following example demonstrates the four possible values [...]]]></description>
		<wfw:commentRss>http://actionscriptexamples.com/2008/11/26/setting-a-button-controls-icon-and-label-position-in-flash-with-actionscript-30/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting icons on the Button component with Flash and ActionScript 3.0</title>
		<link>http://actionscriptexamples.com/2008/11/26/setting-icons-on-the-button-component-with-flash-and-actionscript-30/</link>
		<comments>http://actionscriptexamples.com/2008/11/26/setting-icons-on-the-button-component-with-flash-and-actionscript-30/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 16:24:42 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[Button]]></category>
		<category><![CDATA[icon]]></category>

		<guid isPermaLink="false">http://actionscriptexamples.com/?p=55</guid>
		<description><![CDATA[When using a Button component, you optionally can specify an icon that appears next to the button&#8217;s label. This allows you to easily add a check mark icon for a Submit button and a red X for a Cancel button, or you could put a product&#8217;s logo next to its name. When working with icons, [...]]]></description>
		<wfw:commentRss>http://actionscriptexamples.com/2008/11/26/setting-icons-on-the-button-component-with-flash-and-actionscript-30/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating emphasized Button components in Flash with ActionScript 3.0</title>
		<link>http://actionscriptexamples.com/2008/11/25/creating-emphasized-button-components-in-flash-with-actionscript-30/</link>
		<comments>http://actionscriptexamples.com/2008/11/25/creating-emphasized-button-components-in-flash-with-actionscript-30/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 03:26:18 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[Button]]></category>
		<category><![CDATA[emphasized]]></category>
		<category><![CDATA[emphasizedPadding]]></category>

		<guid isPermaLink="false">http://actionscriptexamples.com/?p=54</guid>
		<description><![CDATA[When building applications, often you might want to add emphasis to a certain button. For example, if you had a simple feedback form with both a Submit and a Cancel button, you may want to add a border around the Submit button to make it a bit more visible to the user. Adding emphasis around [...]]]></description>
		<wfw:commentRss>http://actionscriptexamples.com/2008/11/25/creating-emphasized-button-components-in-flash-with-actionscript-30/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using embedded fonts with the Button control in Flash CS3</title>
		<link>http://actionscriptexamples.com/2008/03/11/using-embedded-fonts-with-the-button-control-in-flash-cs3/</link>
		<comments>http://actionscriptexamples.com/2008/03/11/using-embedded-fonts-with-the-button-control-in-flash-cs3/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 14:50:06 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[Button]]></category>
		<category><![CDATA[embedFonts]]></category>
		<category><![CDATA[Font]]></category>
		<category><![CDATA[setStyle()]]></category>
		<category><![CDATA[textFormat]]></category>

		<guid isPermaLink="false">http://actionscriptexamples.com/2008/03/11/using-embedded-fonts-with-the-button-control-in-flash-cs3/</guid>
		<description><![CDATA[The following example shows how you can use embedded fonts (normal weight and bold weight) with a Flash CS3 Button control in ActionScript 3.0. Full code after the jump. /** * Requires: * - three Button controls on the display list with * instance names of &#34;button1&#34;, &#34;button2&#34;, and * &#34;button3&#34;. * - an embedded [...]]]></description>
		<wfw:commentRss>http://actionscriptexamples.com/2008/03/11/using-embedded-fonts-with-the-button-control-in-flash-cs3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
