<?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>eightdotthree &#187; ActionScript 3</title>
	<atom:link href="http://www.eightdotthree.net/category/code/actionscript-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.eightdotthree.net</link>
	<description>eightdotthree.net is maintained for me to share, learn and experiment. Through monthly posting I hope to find my writing voice, develop as a designer and maybe provide something interesting. Hosting provided by Dreamhost.</description>
	<lastBuildDate>Wed, 26 May 2010 17:10:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Break a bitmap into a grid with ActionScript 3</title>
		<link>http://www.eightdotthree.net/2009/12/break-a-bitmap-into-a-grid-with-actionscript-3/</link>
		<comments>http://www.eightdotthree.net/2009/12/break-a-bitmap-into-a-grid-with-actionscript-3/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 18:50:30 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.eightdotthree.net/?p=304</guid>
		<description><![CDATA[I needed a way to break apart a loaded bitmap into a grid of smaller bitmaps so I could then manipulate them separately. I ended up creating BitmapGrid.as, a class that will break apart your bitmaps into an array for you to do with as you please. Download the code &#38; example files]]></description>
			<content:encoded><![CDATA[<p>I needed a way to break apart a loaded bitmap into a grid of smaller bitmaps so I could then manipulate them separately. I ended up creating BitmapGrid.as, a class that will break apart your bitmaps into an array for you to do with as you please.</p>

<p><br /></p>


    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="swfobj_0" width="500" height="395">
      <param name="movie" value="/flash/examples/breakBitmapIntoGridExample.swf" />
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="/flash/examples/breakBitmapIntoGridExample.swf" width="500" height="395">
      <!--<![endif]-->
        <p>The Flash plugin is required to view this object.</p>
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>


<p><a href="/code/actionscript3/BreakBitmap.zip">Download the code &amp; example files</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.eightdotthree.net/2009/12/break-a-bitmap-into-a-grid-with-actionscript-3/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>ReferenceError: Error #1065 re: E4X XML search</title>
		<link>http://www.eightdotthree.net/2009/10/referenceerror-error-1065-re-e4x-xml-search/</link>
		<comments>http://www.eightdotthree.net/2009/10/referenceerror-error-1065-re-e4x-xml-search/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 19:20:05 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[e4x]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.eightdotthree.net/?p=299</guid>
		<description><![CDATA[I was trying to do a simple E4X search of my XML for an attribute named &#8220;type&#8221; and I came across this error. ReferenceError: Error #1065: Variable @type is not defined. After ramming my head against a wall for around 30 minutes I asked Duncan if he ever saw such a thing. After all, other [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to do a simple E4X search of my XML for an attribute named &#8220;type&#8221; and I came across this error.</p>

<p><code>ReferenceError: Error #1065: Variable @type is not defined.</code></p>

<p>After ramming my head against a wall for around 30 minutes I asked <a href="http://www.hy-brid.com/">Duncan</a> if he ever saw such a thing. After all, other searches on the same XML were working perfectly. After some thought he remembered having a similar issue. Turns out that every node you are searching needs to have that attribute, in my case every node needed the &#8220;type&#8221; attribute.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eightdotthree.net/2009/10/referenceerror-error-1065-re-e4x-xml-search/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>1172: Definition fl.video:VideoEvent could not be found.</title>
		<link>http://www.eightdotthree.net/2008/05/1172-definition-flvideovideoevent-could-not-be-found/</link>
		<comments>http://www.eightdotthree.net/2008/05/1172-definition-flvideovideoevent-could-not-be-found/#comments</comments>
		<pubDate>Mon, 12 May 2008 19:51:44 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.eightdotthree.net/2008/05/1172-definition-flvideovideoevent-could-not-be-found/</guid>
		<description><![CDATA[I came across this error and am blogging about it so I won&#8217;t forget the solution and maybe it will help someone else. 1172: Definition fl.video:VideoEvent could not be found. In order to access a number of the &#8220;fl&#8221; packages you need to have a component in your library. In this case I added the [...]]]></description>
			<content:encoded><![CDATA[<p>I came across this error and am blogging about it so I won&#8217;t forget the solution and maybe it will help someone else.</p>

<blockquote>
1172: Definition fl.video:VideoEvent could not be found.
</blockquote>

<p>In order to access a number of the &#8220;fl&#8221; packages you need to have a component in your library. In this case I added the FLVPlayback component and all was well. Apparently you can use flash.utils.getDefinitionByName as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eightdotthree.net/2008/05/1172-definition-flvideovideoevent-could-not-be-found/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Adobe&#8217;s Video UI Components&#8230; sigh</title>
		<link>http://www.eightdotthree.net/2008/05/adobes-video-ui-components-sigh/</link>
		<comments>http://www.eightdotthree.net/2008/05/adobes-video-ui-components-sigh/#comments</comments>
		<pubDate>Fri, 09 May 2008 15:53:30 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://www.eightdotthree.net/2008/05/adobes-video-ui-components-sigh/</guid>
		<description><![CDATA[I am in the process of creating a common interface to control media players whether it be Adobe&#8217;s VideoPlayer or exanimo&#8217;s SoundPlayer. My initial desire was to have it accept Adobe&#8217;s own Video Components like PlayPauseButton and SeekBar as well as my own custom controls, but I have run into an issue. Adobe&#8217;s Video UI [...]]]></description>
			<content:encoded><![CDATA[<p>I am in the process of creating a common interface to control media players whether it be Adobe&#8217;s VideoPlayer or <a href="http://www.exanimo.com/">exanimo&#8217;s</a> SoundPlayer. My initial desire was to have it accept Adobe&#8217;s own Video Components like PlayPauseButton and SeekBar as well as my own custom controls, but I have run into an issue. Adobe&#8217;s Video UI Components do not work on their own but require UIControls.</p>

<p>So if I want a PlayPauseButton to work with SoundPlayer I need to roll my own. If I want a BufferingBar to work, I need to roll my own.</p>

<p>Hopefully in the next version of Flash they will resolve this and give us components that would accept an interface for a target.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eightdotthree.net/2008/05/adobes-video-ui-components-sigh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ActionScript 3 Menu class</title>
		<link>http://www.eightdotthree.net/2007/10/actionscript-3-menu-class/</link>
		<comments>http://www.eightdotthree.net/2007/10/actionscript-3-menu-class/#comments</comments>
		<pubDate>Sun, 28 Oct 2007 20:14:54 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.eightdotthree.net/2007/10/actionscript-3-menu-class/</guid>
		<description><![CDATA[If you build just about any Flash application you will need a menu that will manage button states and let you know when something has been clicked. This class will do that and can be implemented in projects big and small. Below is a very basic example on how it can be used, on the [...]]]></description>
			<content:encoded><![CDATA[<p>If you build just about any Flash application you will need a menu that will manage button states and let you know when something has been clicked. This class will do that and can be implemented in projects big and small. Below is a very basic example on how it can be used, on the <a href="http://www.ae.com/web/77e/mall-world/">Mall World</a> page it is implemented six times. Can you guess where?</p>

<h3>A very basic implementation</h3>

<p>[/embed]</p>

<h3>Creating a Menu Object can be as simple as this</h3>

<p><code>
var menu = new Menu();
menu.addItem({clip: buttonOne, id: 1});
menu.addItem({clip: buttonTwo, id: 2});
menu.addEventListener(MenuEvent.NAVIGATE, this.menuNavigateHandler);
</code></p>

<p>This code is released under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT License</a> with just one request. If you improve it in some way that could benefit other users leave a comment.</p>

<p><a href="/code/actionscript3/Menu_1.0.zip">Download the code &amp; example files</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.eightdotthree.net/2007/10/actionscript-3-menu-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
