<?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>LearnToProgram.tv &#187; Actionscript</title>
	<atom:link href="http://www.learntoprogram.tv/category/actionscript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.learntoprogram.tv</link>
	<description>Learning to program is as easy as watching tv!</description>
	<lastBuildDate>Tue, 31 Jan 2012 15:59:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How To Actionscript: Events</title>
		<link>http://www.learntoprogram.tv/2011/11/18/how-to-actionscript-events/</link>
		<comments>http://www.learntoprogram.tv/2011/11/18/how-to-actionscript-events/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 13:19:07 +0000</pubDate>
		<dc:creator>Mark Lassoff</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Free Tutorials]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Flash Professional]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[MXML]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.learntoprogram.tv/?p=470</guid>
		<description><![CDATA[Events are serious business in Actionscript&#8211; When the user clicks, double clicks, focuses on an object, right clicks, etc., an event is generated. Dealing with those events is a large part of successful Actionscript programming. In this video, Mark will teach you the basics of events and also take a look at the event object [...]]]></description>
			<content:encoded><![CDATA[<p>Events are serious business in Actionscript&#8211; When the user clicks, double clicks, focuses on an object, right clicks, etc., an event is generated. Dealing with those events is a large part of successful Actionscript programming. In this video, Mark will teach you the basics of events and also take a look at the event object and how you can use it to write more efficient code.</p>
<p><iframe src="http://www.youtube.com/embed/DwrKFpMi6pc?rel=0" frameborder="0" width="480" height="360"></iframe></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
</pre></td><td class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">&lt;?</span>xml <span style="color: #004993;">version</span>=<span style="color: #990000;">&quot;1.0&quot;</span> encoding=<span style="color: #990000;">&quot;utf-8&quot;</span><span style="color: #000066; font-weight: bold;">?&gt;</span>
<span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>Application xmlns<span style="color: #000066; font-weight: bold;">:</span>fx=<span style="color: #990000;">&quot;http://ns.adobe.com/mxml/2009&quot;</span> 
			   xmlns<span style="color: #000066; font-weight: bold;">:</span>s=<span style="color: #990000;">&quot;library://ns.adobe.com/flex/spark&quot;</span> 
			   xmlns<span style="color: #000066; font-weight: bold;">:</span>mx=<span style="color: #990000;">&quot;library://ns.adobe.com/flex/mx&quot;</span> minWidth=<span style="color: #990000;">&quot;500&quot;</span> minHeight=<span style="color: #990000;">&quot;400&quot;</span>
			   creationComplete=<span style="color: #990000;">&quot;init()&quot;</span><span style="color: #000066; font-weight: bold;">&gt;</span>
	<span style="color: #000066; font-weight: bold;">&lt;</span>fx<span style="color: #000066; font-weight: bold;">:</span>Declarations<span style="color: #000066; font-weight: bold;">&gt;</span>
		<span style="color: #000066; font-weight: bold;">&lt;!--</span> Place non<span style="color: #000066; font-weight: bold;">-</span>visual <span style="color: #004993;">elements</span> <span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">.</span>g<span style="color: #000066; font-weight: bold;">.,</span> services<span style="color: #000066; font-weight: bold;">,</span> <span style="color: #004993;">value</span> objects<span style="color: #000000;">&#41;</span> here <span style="color: #000066; font-weight: bold;">--&gt;</span>
	<span style="color: #000066; font-weight: bold;">&lt;/</span>fx<span style="color: #000066; font-weight: bold;">:</span>Declarations<span style="color: #000066; font-weight: bold;">&gt;</span>
	<span style="color: #000066; font-weight: bold;">&lt;</span>fx<span style="color: #000066; font-weight: bold;">:</span>Script<span style="color: #000066; font-weight: bold;">&gt;</span>
		<span style="color: #000066; font-weight: bold;">&lt;!</span><span style="color: #000000;">&#91;</span>CDATA<span style="color: #000000;">&#91;</span>
			<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> <span style="color: #004993;">init</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
			<span style="color: #000000;">&#123;</span>
				btnOne<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">MouseEvent</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000066; font-weight: bold;">,</span> clickOne<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
				btnTwo<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">MouseEvent</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000066; font-weight: bold;">,</span> clickOne<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
			<span style="color: #000000;">&#125;</span>
&nbsp;
			<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> clickOne<span style="color: #000000;">&#40;</span>event<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">MouseEvent</span><span style="color: #000000;">&#41;</span>
			<span style="color: #000000;">&#123;</span>
				<span style="color: #009900; font-style: italic;">//txtResult.text = &quot;Button One has been clicked&quot;;</span>
				<span style="color: #6699cc; font-weight: bold;">var</span> id = event<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">target</span><span style="color: #000066; font-weight: bold;">.</span>id<span style="color: #000066; font-weight: bold;">;</span>
				<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>id == <span style="color: #990000;">&quot;btnOne&quot;</span><span style="color: #000000;">&#41;</span>
				<span style="color: #000000;">&#123;</span>
					txtResult<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span> = <span style="color: #990000;">&quot;Button One has been clicked&quot;</span><span style="color: #000066; font-weight: bold;">;</span>
				<span style="color: #000000;">&#125;</span> <span style="color: #0033ff; font-weight: bold;">else</span>
				<span style="color: #000000;">&#123;</span>
					txtResult<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span> = <span style="color: #990000;">&quot;Button Two has been clicked&quot;</span><span style="color: #000066; font-weight: bold;">;</span>
				<span style="color: #000000;">&#125;</span>
			<span style="color: #000000;">&#125;</span>
			<span style="color: #3f5fbf;">/*
			private function clickTwo(event:MouseEvent)
			{
				txtResult.text = &quot;Button Two has been clicked&quot;;	
			}
			*/</span>
		<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#93;</span><span style="color: #000066; font-weight: bold;">&gt;</span>
	<span style="color: #000066; font-weight: bold;">&lt;/</span>fx<span style="color: #000066; font-weight: bold;">:</span>Script<span style="color: #000066; font-weight: bold;">&gt;</span>
	<span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>Button <span style="color: #004993;">x</span>=<span style="color: #990000;">&quot;9&quot;</span> <span style="color: #004993;">y</span>=<span style="color: #990000;">&quot;10&quot;</span> label=<span style="color: #990000;">&quot;One&quot;</span> id=<span style="color: #990000;">&quot;btnOne&quot;</span><span style="color: #000066; font-weight: bold;">/&gt;</span>
	<span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>Button <span style="color: #004993;">x</span>=<span style="color: #990000;">&quot;10&quot;</span> <span style="color: #004993;">y</span>=<span style="color: #990000;">&quot;39&quot;</span> label=<span style="color: #990000;">&quot;Two&quot;</span> id=<span style="color: #990000;">&quot;btnTwo&quot;</span><span style="color: #000066; font-weight: bold;">/&gt;</span>
	<span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>TextArea <span style="color: #004993;">x</span>=<span style="color: #990000;">&quot;156&quot;</span> <span style="color: #004993;">y</span>=<span style="color: #990000;">&quot;10&quot;</span> <span style="color: #004993;">height</span>=<span style="color: #990000;">&quot;50&quot;</span> id=<span style="color: #990000;">&quot;txtResult&quot;</span><span style="color: #000066; font-weight: bold;">/&gt;</span>
<span style="color: #000066; font-weight: bold;">&lt;/</span>s<span style="color: #000066; font-weight: bold;">:</span>Application<span style="color: #000066; font-weight: bold;">&gt;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.learntoprogram.tv/2011/11/18/how-to-actionscript-events/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Actionscript: Arrays</title>
		<link>http://www.learntoprogram.tv/2011/11/17/how-to-actionscript-arrays/</link>
		<comments>http://www.learntoprogram.tv/2011/11/17/how-to-actionscript-arrays/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 14:53:20 +0000</pubDate>
		<dc:creator>Mark Lassoff</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Free Tutorials]]></category>
		<category><![CDATA[arrays]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Flash Professional]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.learntoprogram.tv/?p=467</guid>
		<description><![CDATA[Arrays are an important structure in any programming language. Arrays are designed to allow the programmer to hold multiple pieces of data in a single structure. In this tutorial Mark, demonstrates the basics of arrays using Actionscript and Flash Builder. Mark creates two different arrays and populates them with data. Then he demonstrates several array [...]]]></description>
			<content:encoded><![CDATA[<p>Arrays are an important structure in any programming language. Arrays are designed to allow the programmer to hold multiple pieces of data in a single structure. In this tutorial Mark, demonstrates the basics of arrays using Actionscript and Flash Builder. Mark creates two different arrays and populates them with data. Then he demonstrates several array methods that allow you to add to the array, delete from the array, and manipulate the array in several other ways.</p>
<p>If you are using Actionscript with Flash Professional, Flash Builder or Flex, you will find this tutorial useful.</p>
<p>This &#8220;How To Actionscript&#8221; series is designed for the developer who wants to learn different Actionscript techniques quickly and easily.</p>
<p><iframe src="http://www.youtube.com/embed/HDbGIrXFsUs?rel=0" frameborder="0" width="480" height="360"></iframe></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
</pre></td><td class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">&lt;?</span>xml <span style="color: #004993;">version</span>=<span style="color: #990000;">&quot;1.0&quot;</span> encoding=<span style="color: #990000;">&quot;utf-8&quot;</span><span style="color: #000066; font-weight: bold;">?&gt;</span>
<span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>Application xmlns<span style="color: #000066; font-weight: bold;">:</span>fx=<span style="color: #990000;">&quot;http://ns.adobe.com/mxml/2009&quot;</span> 
			   xmlns<span style="color: #000066; font-weight: bold;">:</span>s=<span style="color: #990000;">&quot;library://ns.adobe.com/flex/spark&quot;</span> 
			   xmlns<span style="color: #000066; font-weight: bold;">:</span>mx=<span style="color: #990000;">&quot;library://ns.adobe.com/flex/mx&quot;</span> minWidth=<span style="color: #990000;">&quot;400&quot;</span> minHeight=<span style="color: #990000;">&quot;500&quot;</span>
			   creationComplete=<span style="color: #990000;">&quot;init()&quot;</span><span style="color: #000066; font-weight: bold;">&gt;</span>
	<span style="color: #000066; font-weight: bold;">&lt;</span>fx<span style="color: #000066; font-weight: bold;">:</span>Declarations<span style="color: #000066; font-weight: bold;">&gt;</span>
		<span style="color: #000066; font-weight: bold;">&lt;!--</span> Place non<span style="color: #000066; font-weight: bold;">-</span>visual <span style="color: #004993;">elements</span> <span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">.</span>g<span style="color: #000066; font-weight: bold;">.,</span> services<span style="color: #000066; font-weight: bold;">,</span> <span style="color: #004993;">value</span> objects<span style="color: #000000;">&#41;</span> here <span style="color: #000066; font-weight: bold;">--&gt;</span>
	<span style="color: #000066; font-weight: bold;">&lt;/</span>fx<span style="color: #000066; font-weight: bold;">:</span>Declarations<span style="color: #000066; font-weight: bold;">&gt;</span>
	<span style="color: #000066; font-weight: bold;">&lt;</span>fx<span style="color: #000066; font-weight: bold;">:</span>Script<span style="color: #000066; font-weight: bold;">&gt;</span>
		<span style="color: #000066; font-weight: bold;">&lt;!</span><span style="color: #000000;">&#91;</span>CDATA<span style="color: #000000;">&#91;</span>
			<span style="color: #339966; font-weight: bold;">function</span> <span style="color: #004993;">init</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
			<span style="color: #000000;">&#123;</span>
				<span style="color: #009900; font-style: italic;">//Formal</span>
				<span style="color: #6699cc; font-weight: bold;">var</span> myFamily<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Array</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">Array</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;Brett&quot;</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;Kerry&quot;</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;Joan&quot;</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;Rick&quot;</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;Kevin&quot;</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;Conner&quot;</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;Colleen&quot;</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;Carol&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
				<span style="color: #6699cc; font-weight: bold;">var</span> languages<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Array</span> = <span style="color: #000000;">&#91;</span><span style="color: #990000;">&quot;C++&quot;</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;Objective C&quot;</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;Actionscript&quot;</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;Java&quot;</span> <span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;PHP&quot;</span> <span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;Assembly&quot;</span><span style="color: #000000;">&#93;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
				<span style="color: #009900; font-style: italic;">//txtResult.text =  myFamily.toString();</span>
				<span style="color: #009900; font-style: italic;">//txtResult.text = myFamily[3];</span>
&nbsp;
				languages<span style="color: #000000;">&#91;</span><span style="color: #000000;">&#40;</span>languages<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">length</span><span style="color: #000066; font-weight: bold;">+</span><span style="color: #000000; font-weight:bold;">1</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#93;</span> = <span style="color: #990000;">&quot;C#.net&quot;</span><span style="color: #000066; font-weight: bold;">;</span>
				languages<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">push</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;Visual Basic&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
				<span style="color: #6699cc; font-weight: bold;">var</span> returnedElement = languages<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">pop</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
				<span style="color: #0033ff; font-weight: bold;">for</span><span style="color: #000000;">&#40;</span><span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">x</span>=<span style="color: #000000; font-weight:bold;">0</span><span style="color: #000066; font-weight: bold;">;</span> <span style="color: #004993;">x</span> <span style="color: #000066; font-weight: bold;">&lt;</span> languages<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">length</span><span style="color: #000066; font-weight: bold;">;</span> <span style="color: #004993;">x</span><span style="color: #000066; font-weight: bold;">++</span><span style="color: #000000;">&#41;</span>
				<span style="color: #000000;">&#123;</span>
					txtResult<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span> <span style="color: #000066; font-weight: bold;">+</span>= languages<span style="color: #000000;">&#91;</span><span style="color: #004993;">x</span><span style="color: #000000;">&#93;</span> <span style="color: #000066; font-weight: bold;">+</span> <span style="color: #990000;">&quot;<span style="">\n</span>&quot;</span><span style="color: #000066; font-weight: bold;">;</span>
				<span style="color: #000000;">&#125;</span>
&nbsp;
				txtResult<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span> <span style="color: #000066; font-weight: bold;">+</span>= <span style="color: #990000;">&quot;Returned Element: &quot;</span> <span style="color: #000066; font-weight: bold;">+</span> returnedElement<span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
&nbsp;
			<span style="color: #000000;">&#125;</span>
		<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#93;</span><span style="color: #000066; font-weight: bold;">&gt;</span>
	<span style="color: #000066; font-weight: bold;">&lt;/</span>fx<span style="color: #000066; font-weight: bold;">:</span>Script<span style="color: #000066; font-weight: bold;">&gt;</span>
	<span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>TextArea <span style="color: #004993;">x</span>=<span style="color: #990000;">&quot;18&quot;</span> <span style="color: #004993;">y</span>=<span style="color: #990000;">&quot;10&quot;</span> id=<span style="color: #990000;">&quot;txtResult&quot;</span><span style="color: #000066; font-weight: bold;">/&gt;</span>
<span style="color: #000066; font-weight: bold;">&lt;/</span>s<span style="color: #000066; font-weight: bold;">:</span>Application<span style="color: #000066; font-weight: bold;">&gt;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.learntoprogram.tv/2011/11/17/how-to-actionscript-arrays/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash Builder and Actionscript Tutorial: Interactive Hello World</title>
		<link>http://www.learntoprogram.tv/2011/10/10/flash-builder-and-actionscript-tutorial-interactive-hello-world/</link>
		<comments>http://www.learntoprogram.tv/2011/10/10/flash-builder-and-actionscript-tutorial-interactive-hello-world/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 14:17:57 +0000</pubDate>
		<dc:creator>Mark Lassoff</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Free Tutorials]]></category>
		<category><![CDATA[actionscript tutorial]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[hello world]]></category>

		<guid isPermaLink="false">http://www.learntoprogram.tv/?p=288</guid>
		<description><![CDATA[Getting started with Flash Builder (Flex) is easy! Flash Builder (Flex) allows you to build complex web applications using MXML and Actionscript. Due to the impressive and extensive Actionscript API, Flash Builder (Flex) applications can do almost anything. From streaming audio and video applications to games to impressive data visualizations, Flash Builder provides programmers with [...]]]></description>
			<content:encoded><![CDATA[<p>Getting started with Flash Builder (Flex) is easy! Flash Builder (Flex) allows you to build complex web applications using MXML and Actionscript. Due to the impressive and extensive Actionscript API, Flash Builder (Flex) applications can do almost anything. From streaming audio and video applications to games to impressive data visualizations, Flash Builder provides programmers with enormous power.</p>
<p>In this Actionscript Tutorial, using Flash Builder, you will create a simple, interactive application. In doing so you will see many of the major features of the Flash Builder environment.</p>
<p><iframe src="http://www.youtube.com/embed/lyV3qO1sh44" frameborder="0" width="480" height="360"></iframe></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #66cc66;">&lt;</span>?<span style="color: #0066CC;">xml</span> <span style="color: #0066CC;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #66cc66;">&gt;</span>
<span style="color: #66cc66;">&lt;</span>s:Application xmlns:fx=<span style="color: #ff0000;">&quot;http://ns.adobe.com/mxml/2009&quot;</span> 
			   xmlns:s=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/spark&quot;</span> 
			   xmlns:mx=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/mx&quot;</span> minWidth=<span style="color: #ff0000;">&quot;400&quot;</span> minHeight=<span style="color: #ff0000;">&quot;300&quot;</span><span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;</span>fx:Script<span style="color: #66cc66;">&gt;</span>
		<span style="color: #66cc66;">&lt;!</span><span style="color: #66cc66;">&#91;</span>CDATA<span style="color: #66cc66;">&#91;</span>
			<span style="color: #000000; font-weight: bold;">function</span> displayResult<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
			<span style="color: #66cc66;">&#123;</span>
				lblResult.<span style="color: #0066CC;">text</span>=<span style="color: #ff0000;">&quot;Hello, Thanks for pressing the button&quot;</span>;
			<span style="color: #66cc66;">&#125;</span>
		<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;/</span>fx:Script<span style="color: #66cc66;">&gt;</span>
&nbsp;
	<span style="color: #66cc66;">&lt;</span>fx:Declarations<span style="color: #66cc66;">&gt;</span>
		<span style="color: #66cc66;">&lt;!</span>-- Place non-visual elements <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>.<span style="color: #006600;">g</span>., services, value objects<span style="color: #66cc66;">&#41;</span> here --<span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;/</span>fx:Declarations<span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;</span>s:Label x=<span style="color: #ff0000;">&quot;10&quot;</span> y=<span style="color: #ff0000;">&quot;10&quot;</span> id=<span style="color: #ff0000;">&quot;lblResult&quot;</span><span style="color: #66cc66;">/&gt;</span>
	<span style="color: #66cc66;">&lt;</span>s:<span style="color: #0066CC;">Button</span> x=<span style="color: #ff0000;">&quot;10&quot;</span> y=<span style="color: #ff0000;">&quot;43&quot;</span> label=<span style="color: #ff0000;">&quot;Press Me!&quot;</span> id=<span style="color: #ff0000;">&quot;btnPress&quot;</span> click=<span style="color: #ff0000;">&quot;displayResult()&quot;</span><span style="color: #66cc66;">/&gt;</span>
<span style="color: #66cc66;">&lt;/</span>s:Application<span style="color: #66cc66;">&gt;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.learntoprogram.tv/2011/10/10/flash-builder-and-actionscript-tutorial-interactive-hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash Drawing API:  Actionscript 3 Tutorial</title>
		<link>http://www.learntoprogram.tv/2011/07/31/flash-drawing-api-actionscript-3-tutorial/</link>
		<comments>http://www.learntoprogram.tv/2011/07/31/flash-drawing-api-actionscript-3-tutorial/#comments</comments>
		<pubDate>Sun, 31 Jul 2011 18:09:16 +0000</pubDate>
		<dc:creator>Mark Lassoff</dc:creator>
				<category><![CDATA[Actionscript]]></category>

		<guid isPermaLink="false">http://www.learntoprogram.tv/?p=157</guid>
		<description><![CDATA[In this Actionscript 3 Tutorial, the Flash Drawing API is demonstrated.  The Flash Drawing API allows you to create vector graphics (graphic images whose properties are determined mathematically).  Frequently with this API custom data visualizations, games, and other types of common programs can be created. In this particular Actionscript 3 Tutorial, LearnToProgram.tv trainer Mark Lassoff [...]]]></description>
			<content:encoded><![CDATA[<p>In this Actionscript 3 Tutorial, the Flash Drawing API is demonstrated.  The Flash Drawing API allows you to create vector graphics (graphic images whose properties are determined mathematically).  Frequently with this API custom data visualizations, games, and other types of common programs can be created.</p>
<p>In this particular Actionscript 3 Tutorial, LearnToProgram.tv trainer Mark Lassoff demonstrates creating lines, curves and shapes with colored fills and strokes.</p>
<p>To complete this tutorial  you need either Flash CS4 or CS5, Flash Builder or Adobe Flex.<br />
<iframe src="http://www.youtube.com/embed/mAUD8h6B_7g?rel=0" frameborder="0" width="560" height="349"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.learntoprogram.tv/2011/07/31/flash-drawing-api-actionscript-3-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Flash Mp3 Player Tutorial</title>
		<link>http://www.learntoprogram.tv/2011/07/23/free-flash-mp3-player-tutorial/</link>
		<comments>http://www.learntoprogram.tv/2011/07/23/free-flash-mp3-player-tutorial/#comments</comments>
		<pubDate>Sat, 23 Jul 2011 18:17:00 +0000</pubDate>
		<dc:creator>Mark Lassoff</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Flash CS4]]></category>
		<category><![CDATA[Flash CS5]]></category>
		<category><![CDATA[Flash MP3 Player Tutorial]]></category>
		<category><![CDATA[Free]]></category>
		<category><![CDATA[Mark Lassoff]]></category>
		<category><![CDATA[Sound Classes]]></category>

		<guid isPermaLink="false">http://www.learntoprogram.tv/?p=72</guid>
		<description><![CDATA[This Flash MP3 player tutorial has proven to be among our most popular free video tutorials. It will take you step by step through everything you need to know to build a fully functional MP3 player using Flash CS5. The features of the Flash MP3 player include volume control, pan control, time remaining, time of [...]]]></description>
			<content:encoded><![CDATA[<p>This Flash MP3 player tutorial has proven to be among our most popular free video tutorials. It will take you step by step through everything you need to know to build a fully functional MP3 player using Flash CS5. The features of the Flash MP3 player include volume control, pan control, time remaining, time of song, and id3 tag detection and display.</p>
<p>While completing this tutorial you will learn several basic Actionscript and Flash concepts, including working with objects, the sound classes in actionscript, timers, events and events listeners and much more.  You don&#8217;t need to be very experienced in Flash or Actionscript to successfully complete this free Flash mp3 player tutorial&#8211; only a basic knowledge of Flash and how to insert Actionscript code is required.</p>
<p>There is about one and a half hour of video which will take you through every step of creating and coding your own Flash MP3 player.  The tutorial is designed in an easy, step-by-step manner which is simple to follow.  This video is hosted by Mark Lassoff, who has been teaching Actionscript at large corporations and government agencies for years.  Mark started using Flash about 10 years ago and has completed Flash based projects like a Flash based radio station and Flash based e-commerce site.</p>
<p>It is recommended to view the videos in order and code along with Mark as you watch.  Each video builds upon the code developed in the previous tutorial video.</p>
<p>A text version of this tutorial appeared in <a href="http://flashflex.com/sound-objects-in-actionscript-3-0/">Flash and Flex Magazine</a>.  You can see a printed version of the code there.</p>
<p><strong>Flash MP3 Player Tutorial Part I:</strong><br />
<iframe src="http://www.youtube.com/embed/iu4X2PNUH9A?rel=0" frameborder="0" width="560" height="349"></iframe></p>
<p><strong>Part II:</strong><br />
<iframe src="http://www.youtube.com/embed/OeEwv7DUwys?rel=0" frameborder="0" width="560" height="349"></iframe></p>
<p><strong>Part III:</strong><br />
<iframe src="http://www.youtube.com/embed/_k9yj25s_NY?rel=0" frameborder="0" width="560" height="349"></iframe></p>
<p><strong>Part IV:</strong><br />
<iframe src="http://www.youtube.com/embed/Upt3gXuyRFk?rel=0" frameborder="0" width="560" height="349"></iframe></p>
<p><strong>Part V:</strong><br />
<iframe src="http://www.youtube.com/embed/V4FDu6Vmh70?rel=0" frameborder="0" width="560" height="349"></iframe></p>
<p>For more information on the Sound Classes in Actionscript you can view the <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/Sound.html?filter_flash=cs5&amp;filter_flashplayer=10.2&amp;filter_air=2.6">documentation from Adobe</a>.  Good luck and please leave any feedback or questions below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.learntoprogram.tv/2011/07/23/free-flash-mp3-player-tutorial/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

