<?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>dyadica.net &#187; flash</title>
	<atom:link href="http://blog.dyadica.net/archives/tags/flash/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.dyadica.net</link>
	<description>Fun and Games in the Dyadic Sea</description>
	<lastBuildDate>Wed, 21 Jul 2010 14:04:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flash Shared Objects</title>
		<link>http://blog.dyadica.net/archives/flash-shared-objects</link>
		<comments>http://blog.dyadica.net/archives/flash-shared-objects#comments</comments>
		<pubDate>Wed, 21 Jan 2009 20:49:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[shared objects]]></category>
		<category><![CDATA[Tile Based Game]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://blog.dyadica.net/?p=1115</guid>
		<description><![CDATA[Its tutorial time again: With further development of my AS3 Tile Based Game Engine, need has arisen for the inclusion of some simple save game functionality. Constraints set by the overarching project brief have led ...]]></description>
			<content:encoded><![CDATA[<p>Its tutorial time again: With further development of my AS3 Tile Based Game Engine, need has arisen for the inclusion of some simple save game functionality. Constraints set by the overarching project brief have led to the decision to make use of Flash&#8217;s Shared Object facilities.</p>
<p>The following is a cut down version of a quick personal future reference article, which can be found <a title="full article" href="http://blog.dyadica.net/index.php/pages/introduction-to-flash-shared-objects">here</a>.</p>
<p><strong>So whats a Shared Object</strong></p>
<p>Flash &#8220;Shared Objects&#8221; provide facility to store and retrieve information on a clients machine similar in method to conventional to cookies. Example use&#8217;s for Shared Object data could include a user&#8217;s name, progress and high score.</p>
<p><strong>Creating a Shared Object</strong></p>
<p>Before we can use a shared object, we have to create a reference to it within our Flash movie. To do so, just put this line of code in the first frame of your movie:</p>
<blockquote><p><code class="code-as">save_data = SharedObject.getLocal("user_data");</code></p></blockquote>
<p><strong>Writing Data to the Object</strong></p>
<p>Writing data to the object s an easy task.  Take a look at the following example to save a users game progress:<span id="more-1115"></span></p>
<blockquote><p><code class="code-as">save_data.data.game_level = 2;</code><br />
<code class="code-as">save_data.data.game_score = 50;</code><br />
<code class="code-as">save_data.data.game_health = 50;</code></p></blockquote>
<p>Note that this code must be in the same level where you have created the Shared Object.Each of the lines can be broken down as follows:</p>
<blockquote><p>&#8220;Shared Object&#8221; .data. &#8220;Reference Name&#8221; = value</p></blockquote>
<p><strong>Reading Data from the Object</strong></p>
<p>To retrieve data from a saved Shared Object is similar to the writing method, just reverse the calls as follows:</p>
<blockquote><p><code class="code-as">var game_level = save_data.data.game_level;</code><br />
<code class="code-as">var game_score = save_data.data.game_score;</code><br />
<code class="code-as">var game_health = save_data.data.game_health;</code></p></blockquote>
<p>So thats it for now. If your taste bud&#8217;s have been stimulated and you want more information in greater detail, please take at the full <a title="full article" href="http://blog.dyadica.net/index.php/pages/introduction-to-flash-shared-objects">article</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dyadica.net/archives/flash-shared-objects/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Force Focus in AS3</title>
		<link>http://blog.dyadica.net/archives/force-focus-in-as3</link>
		<comments>http://blog.dyadica.net/archives/force-focus-in-as3#comments</comments>
		<pubDate>Tue, 20 Jan 2009 21:45:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Focus]]></category>

		<guid isPermaLink="false">http://blog.dyadica.net/?p=1126</guid>
		<description><![CDATA[When developing in AS3, there are times when you will  need to be able to define the users focus, for things like moving a user onto a desired input TextField, after a page has transitioned ...]]></description>
			<content:encoded><![CDATA[<p>When developing in AS3, there are times when you will  need to be able to define the users focus, for things like moving a user onto a desired input TextField, after a page has transitioned or for ensuring that any input code you might have will capture events.</p>
<p>If you search the web, or in the Flash IDE help in reference to setting focus, you might find notes on the FocusManager, IFocusManager, and possibly some details on having to include components for these classes to be triggered. These are all significant in some situations, but for setting focus in everyday AS3, it’s much, much easier.</p>
<p>All you really need to do is use <code class="code-as">stage.focus</code> property.</p>
<p>As it is a read/write property, by result you are provided with ultimate control. The following details some AS3 code which allows you force focus onto any InteractiveObject &#8211; Sprites, MovieClips, TextFields etc:</p>
<blockquote><p><code class="code-as">stage.focus = your_object</code></p></blockquote>
<p>So say we have a list of clips stored as an Array like so:</p>
<blockquote><p><code class="code-as">var movieA:MovieClip = new MovieClip();<br />
</code><code class="code-as">var movieB:MovieClip = new MovieClip();</code></p>
<p><code class="code-as">addChild(movieA);</code><br />
<code class="code-as">addChild(movieB);</code></p>
<p><code class="code-as">var clips:Array = new Array(movieA, movieB);</code></p></blockquote>
<p>We could set the focus to movieB by calling the following:</p>
<blockquote><p><code class="code-as">stage.focus = clips[1];</code></p></blockquote>
<p>Simple eh. I use a similar system for controlling button tabbing within some of my applications. The above code is fairly psudo so I hope you get the idea.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dyadica.net/archives/force-focus-in-as3/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Paradox: actionscript architect</title>
		<link>http://blog.dyadica.net/archives/paradox-actionscript-architect</link>
		<comments>http://blog.dyadica.net/archives/paradox-actionscript-architect#comments</comments>
		<pubDate>Mon, 28 Jan 2008 13:04:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[snipits]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[3d engine]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Kudos]]></category>

		<guid isPermaLink="false">http://blog.dyadica.net/archives/paradox-actionscript-architect</guid>
		<description><![CDATA[Paradox is developed by the same guy who did 3d pathfinding in as3. Developed in the flash format Paradox seems to be a high quality 3d engine full of promise.

To Jump straight to the demos ...]]></description>
			<content:encoded><![CDATA[<p>Paradox is developed by the same guy who did 3d pathfinding in as3. Developed in the flash format Paradox seems to be a high quality 3d engine full of promise.</p>
<p><a class="thickbox" title="paradox-demo-1.jpg" href="http://animasinteractive.com/propaganda/lab/Paradox?TB_iframe=true&amp;height=400&amp;width=550"><img class="slarge" src="http://blog.dyadica.net/wp-content/uploads/2008/01/paradox-banner-1.jpg" alt="paradox-banner-1.jpg" /></a></p>
<p>To Jump straight to the demos click on the images, controls  e, s, d and f keys + mouse and click.</p>
<p><a class="thickbox" title="paradox-banner-2.jpg" href="http://animasinteractive.com/propaganda/lab/ParadoxKitchen?TB_iframe=true&amp;height=400&amp;width=550"><img class="slarge" src="http://blog.dyadica.net/wp-content/uploads/2008/01/paradox-banner-2.jpg" alt="paradox-banner-2.jpg" /></a></p>
<p>For full details check out the following: <a title="about the engine" href="http://animasinteractive.com/propaganda/">animasinteractive.com</a> , <a title="birthplace of paradox" href="http://www.actionscriptarchitect.com/">actionscriptarchitect.com</a></p>
<p>I must remember to keep an eye on this one.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dyadica.net/archives/paradox-actionscript-architect/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wiiFlash</title>
		<link>http://blog.dyadica.net/archives/wiiflash</link>
		<comments>http://blog.dyadica.net/archives/wiiflash#comments</comments>
		<pubDate>Thu, 05 Jul 2007 10:28:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wii]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Homebrew]]></category>
		<category><![CDATA[PhD]]></category>
		<category><![CDATA[wiiflash]]></category>
		<category><![CDATA[wiimote]]></category>

		<guid isPermaLink="false">http://blog.dyadica.net/?p=95</guid>
		<description><![CDATA[So u wanna play flash with a wii mote eh: http://www.wiiflash.org/

There is something I like about the words wii and flash being used in conjunction with each other but thats another story lol.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.dyadica.net/wp-content/uploads/2007/07/logo_white.jpg" title="logo_white.jpg"></a>So u wanna play flash with a wii mote eh: <a href="http://www.wiiflash.org/">http://www.wiiflash.org/</a></p>
<p><a href="http://blog.dyadica.net/wp-content/uploads/2007/07/logo_white.jpg" title="logo_white.jpg"><img src="http://blog.dyadica.net/wp-content/uploads/2007/07/logo_white.jpg" alt="logo_white.jpg" /></a></p>
<p>There is something I like about the words wii and flash being used in conjunction with each other but thats another story lol.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dyadica.net/archives/wiiflash/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>3D Pathfinding in AS3</title>
		<link>http://blog.dyadica.net/archives/3d-pathfinding-in-as3</link>
		<comments>http://blog.dyadica.net/archives/3d-pathfinding-in-as3#comments</comments>
		<pubDate>Thu, 05 Jul 2007 10:24:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Lingo]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[a*]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[aStar]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[pathfinding]]></category>

		<guid isPermaLink="false">http://blog.dyadica.net/?p=93</guid>
		<description><![CDATA[Of interest to me at the moment especially as Im developing similar in lingo.

actionscriptarchitect.com
drawk.wordpress.com
]]></description>
			<content:encoded><![CDATA[<p>Of interest to me at the moment especially as Im developing similar in lingo.</p>
<p><a href="http://blog.dyadica.net/wp-content/uploads/2007/07/paulspitzerpath.png" class="thickbox" title="paulspitzerpath.png"><img src="http://blog.dyadica.net/wp-content/uploads/2007/07/paulspitzerpath.png" alt="paulspitzerpath.png" class="slarge" /></a></p>
<p><a href="http://www.actionscriptarchitect.com/">actionscriptarchitect.com</a><br />
<a href="http://drawk.wordpress.com/2007/07/04/3d-pathfinding-in-as3/" title="drawk.wordpress.com">drawk.wordpress.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dyadica.net/archives/3d-pathfinding-in-as3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
