<?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>FlashClass dot org</title>
	<atom:link href="http://www.flashclass.org/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flashclass.org/blog</link>
	<description>My thoughts on Flash</description>
	<lastBuildDate>Mon, 14 Dec 2009 09:52:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Gearing up to do some 508 compliant Flash</title>
		<link>http://www.flashclass.org/blog/14/12/2009/gearing-up-to-do-some-508-compliant-flash/</link>
		<comments>http://www.flashclass.org/blog/14/12/2009/gearing-up-to-do-some-508-compliant-flash/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 09:50:46 +0000</pubDate>
		<dc:creator>Codyo</dc:creator>
				<category><![CDATA[Current]]></category>
		<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://www.flashclass.org/blog/?p=20</guid>
		<description><![CDATA[In a new assignment at work, I&#8217;ve been tasked with making a compliant flash project for a government agency. I&#8217;m finding a lack of real examples on this, and thought I should start documenting successful things here. I will have a series of post here on my findings and hopefully they can help someone else.]]></description>
			<content:encoded><![CDATA[<p>In a new assignment at work, I&#8217;ve been tasked with making a compliant flash project for a government agency. I&#8217;m finding a lack of real examples on this, and thought I should start documenting successful things here. I will have a series of post here on my findings and hopefully they can help someone else.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashclass.org/blog/14/12/2009/gearing-up-to-do-some-508-compliant-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>@ Adobe Flashcamp this weekend</title>
		<link>http://www.flashclass.org/blog/10/10/2008/adobe-flashcamp-this-weekend/</link>
		<comments>http://www.flashclass.org/blog/10/10/2008/adobe-flashcamp-this-weekend/#comments</comments>
		<pubDate>Sat, 11 Oct 2008 02:16:26 +0000</pubDate>
		<dc:creator>Codyo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[flashcamp]]></category>

		<guid isPermaLink="false">http://www.flashclass.org/blog/10/10/2008/adobe-flashcamp-this-weekend/</guid>
		<description><![CDATA[I\&#8217;m sitting here at the intro to adobe\&#8217;s flashcamp in adobe\&#8217;s headquarters. As things get announced I\&#8217;ll try and post it here\n]]></description>
			<content:encoded><![CDATA[<p>I\&#8217;m sitting here at the intro to adobe\&#8217;s flashcamp in adobe\&#8217;s headquarters. As things get announced I\&#8217;ll try and post it here\n
<p><a href=\"http://www.flashclass.org/blog/wp-content/uploads/2008/10/p-640-480-f24a4ded-1114-440b-9e3b-38acb8f98625.jpeg\"><img src=\"http://www.flashclass.org/blog/wp-content/uploads/2008/10/p-640-480-f24a4ded-1114-440b-9e3b-38acb8f98625.jpeg\" alt=\"\" width=\"225\" height=\"300\" class=\"alignnone size-full wp-image-364\" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashclass.org/blog/10/10/2008/adobe-flashcamp-this-weekend/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clever way to look for Flash Developers&#8230;</title>
		<link>http://www.flashclass.org/blog/01/07/2008/clever-way-to-look-for-flash-developers/</link>
		<comments>http://www.flashclass.org/blog/01/07/2008/clever-way-to-look-for-flash-developers/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 20:18:25 +0000</pubDate>
		<dc:creator>Codyo</dc:creator>
				<category><![CDATA[Current]]></category>

		<guid isPermaLink="false">http://www.flashclass.org/blog/01/07/2008/clever-way-to-look-for-flash-developers/</guid>
		<description><![CDATA[So I&#8217;m listening to the Twit podcast, and Will Haris is plugging his new venture channelflip.com, and I out of curiosity pull it up while I&#8217;m at work. In my Eclipse NTail panel I see this show up: Hello there, Flash cowboy! If you can read this message, you should apply for a job at [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;m listening to the Twit podcast, and Will Haris is plugging his new venture channelflip.com, and I out of curiosity pull it up while I&#8217;m at work. In my Eclipse NTail panel I see this show up:</p>
<p>Hello there, Flash cowboy!<br />
If you can read this message, you should apply for a job at blip.tv.<br />
Send an email to careers@blip.tv with your resume and make sure to<br />
let us know that you saw this message.</p>
<p>Love,<br />
The blip.tv dev team</p>
<p>What a clever way to look for flash developers, if they see the message they are likely developing in flash. Clever.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashclass.org/blog/01/07/2008/clever-way-to-look-for-flash-developers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update on my earlier post &#8211; upgrading to CS3</title>
		<link>http://www.flashclass.org/blog/29/01/2008/update-on-my-earlier-post-upgrading-to-cs3/</link>
		<comments>http://www.flashclass.org/blog/29/01/2008/update-on-my-earlier-post-upgrading-to-cs3/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 18:18:08 +0000</pubDate>
		<dc:creator>Codyo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.flashclass.org/blog/29/01/2008/update-on-my-earlier-post-upgrading-to-cs3/</guid>
		<description><![CDATA[So I was a little wrong before, the issue was actually the date. Now this is completely weird. Apparently one of the computers I&#8217;ve been working on does not have the right date set on it, so when flash tries to publish files from the future, it throws an error something like you have a [...]]]></description>
			<content:encoded><![CDATA[<p>So I was a little wrong before, the issue was actually the date. Now this is completely weird. Apparently one of the computers I&#8217;ve been working on does not have the right date set on it, so when flash tries to publish files from the future, it throws an error something like you have a naming conflict.</p>
<p>Recently I had this happen again, and apparently it was because my computer at home had its date set later, or my computer at work had its date set earlier. So when I brought the files home and worked on them / saved them, then brought them back to work I started getting these errors again. I finally found some developer in Asia working remotely with some company in on the East Coast having the same issue (because he was in the future). He said once he had the company on the East Coast change their date on their computer to the next day, all the errors went away.</p>
<p>So I tried the same thing, and boom my errors were gone. Just had to change the date in order to publish .as classes from the &#8220;future&#8221;. What an odd flash bug.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashclass.org/blog/29/01/2008/update-on-my-earlier-post-upgrading-to-cs3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading to Flash CS3</title>
		<link>http://www.flashclass.org/blog/19/08/2007/upgrading-to-flash-cs3/</link>
		<comments>http://www.flashclass.org/blog/19/08/2007/upgrading-to-flash-cs3/#comments</comments>
		<pubDate>Mon, 20 Aug 2007 06:09:38 +0000</pubDate>
		<dc:creator>Codyo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.flashclass.org/blog/2007/08/19/upgrading-to-flash-cs3/</guid>
		<description><![CDATA[I&#8217;ve been a bit laxed in updating this blog. However recently I came across a funny bug in migrating a couple of my ActionScript 2 projects to use and develop in Flash CS3. Typically for most projects I love using the project window. Recently at work I finally got the upgrade and opened one of [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been a bit laxed in updating this blog. However recently I came across a funny bug in migrating a couple of my ActionScript 2 projects to use and develop in Flash CS3. Typically for most projects I love using the project window.</p>
<p>Recently at work I finally got the upgrade and opened one of my Flash 8 ActionScript CS2 (.flp) projects in Flash CS3. I immediately published the project, as its one of the options from the project window. It came back with 72 errors, something about a naming conflict in my classes.</p>
<p>Well this is a lot, and although Flash CS3 does a great job directing you to where the error is (it now opens the class file and highlights the line with the issue), I for the life of me could not figure out what was causing this. So after poking around at various files for a bit, I recompiled the project and only came up with 12 errors. The really funny thing was I really didn&#8217;t change any of the code. And of course they were all classes I wrote for this particular project. So initially I&#8217;m thinking that I&#8217;ve royally screwed something up, which is always my first instinct.</p>
<p>So I poked around some more and eventually my errors all disappeared. My first thought was that maybe I didn&#8217;t restart my computer after I installed Flash CS3, which is always a good idea. However this was not the case (although yes I&#8217;m working on a PC at work).</p>
<p>So next I opened a similar project at work that has the same kinds of errors. This time I was working on this project with another coworker that was having no issues publishing the same files (we were using the check in/out setup from a local raid server). So after a lot of going back and forth, and even successfully publishing the my files on his computer (via a shared folder over the network) I finally figured it out.</p>
<p>So here it is, if you don&#8217;t actually open the .fla file (from Flash 8/MX 2004) in Flash CS3 before you publish it, the compiler will throw error for naming issues in your classes (it will say something like <em>&#8220;The name of this class, &#8216;com.domain.slide.MonographBack&#8217;, conflicts with the name of another class that was loaded, &#8216;com.domain.slide.MonographBack&#8217;.&#8221;</em>). Opening my Flash 8 .fla files in Flash CS3, then publishing took care of all these errors. How funny.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashclass.org/blog/19/08/2007/upgrading-to-flash-cs3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More research on shuffling an array</title>
		<link>http://www.flashclass.org/blog/21/12/2006/more-research-on-shuffling-an-array/</link>
		<comments>http://www.flashclass.org/blog/21/12/2006/more-research-on-shuffling-an-array/#comments</comments>
		<pubDate>Fri, 22 Dec 2006 06:50:21 +0000</pubDate>
		<dc:creator>Codyo</dc:creator>
				<category><![CDATA[Current]]></category>

		<guid isPermaLink="false">http://www.flashclass.org/blog/2006/12/21/more-research-on-shuffling-an-array/</guid>
		<description><![CDATA[So after writing the last post, I got to thinking about looking around again for some resources on this. And I came up with a couple of interesting posts, so I thought I could mention them here in case someone else ran into a similar problem. That and I can reference them later myself. http://proto.layer51.com/d.aspx?f=147 [...]]]></description>
			<content:encoded><![CDATA[<p>So after writing the last post, I got to thinking about looking around again for some resources on this. And I came up with a couple of interesting posts, so I thought I could mention them here in case someone else ran into a similar problem. That and I can reference them later myself.</p>
<p><a href="http://proto.layer51.com/d.aspx?f=147" target="_blank" title="proto.layer51.com">http://proto.layer51.com/d.aspx?f=147 </a><br />
Robert Penner, Dave Yang, and a number of others contribute some other various methods that accomplish the same thing are listed here. Robert Penner&#8217;s array.shufle method was rated the fastest, but Dave Yang had a modified version that might run a little faster. One thing to note here that would be a big help with running this on a mobile device is that the old deprecated <code>random()</code> function runs faster than <code>Math.random()</code>.This post was based off of what ended up being a competition on Flash Kit. You can find the post <a href="http://board.flashkit.com/board/showthread.php?threadid=141081" target="_blank" title="Flash Kit">here</a> (start on page 2).</p>
<p><a href="http://www.actionscript.org/forums/showthread.php3?t=47313&amp;highlight=flash+cards" target="_blank" title="Actionscript.org">http://www.actionscript.org/</a></p>
<p>This is the other threat I found kind of interesting. It started out with a simple question on how to make a &#8220;Who wants to be a millionare&#8221; flash game bo some n00b. You can find a varioation on the Penner method here and an interesting version with objects.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashclass.org/blog/21/12/2006/more-research-on-shuffling-an-array/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Randomizing an Array</title>
		<link>http://www.flashclass.org/blog/15/12/2006/randomizing-an-array/</link>
		<comments>http://www.flashclass.org/blog/15/12/2006/randomizing-an-array/#comments</comments>
		<pubDate>Fri, 15 Dec 2006 17:30:31 +0000</pubDate>
		<dc:creator>Codyo</dc:creator>
				<category><![CDATA[Current]]></category>

		<guid isPermaLink="false">http://www.flashclass.org/blog/2006/11/19/randomizing-an-array/</guid>
		<description><![CDATA[When I was working on gamesfor the Leapster, one thing I worked with quite a bit were large datasets built in XML. Often times I was given a problem set from the client of items that were to be used for a game. From this set of items I would have to grab a random [...]]]></description>
			<content:encoded><![CDATA[<p>When I was working on gamesfor the Leapster, one thing I worked with quite a bit were large datasets built in XML. Often times I was given a problem set from the client of  items that were to be used for a game. From this set of items I would have to grab a random set of correct answers, then use what was leftover as distractors to use as incorrect answers.</p>
<p>Two of the biggest problems working on the Leapster were overwhelming its little prosseser, and fragmenting memory. It was quickly evident when you overwhelmed the processor, because the game would just freeze until it finished processing whatever that task was. But fragmenting memory usually wouldn&#8217;t come up until much later when QA was really hammering on the whole title and red squares would show up on the screen. For me the problem was usually being lazy with my array creation and deletion. Even so, you only really wanted to use an array if you really had to. This for me was like putting the training wheels back on my bicycle.</p>
<p>Let me just preface this by saying the Leapster runs on a modified Flash 5 engine. When I started working on these games the method was to use a <code>for loop</code> to parse items from XML nodes into one array, then randomly parse that array into another. I did some searches at the time, and coulnd&#8217;t locate a better method. So I used this for my first title, and ended up with some memory fragmentation issues I was eventually able to solve.</p>
<p>On my second title, I wanted to do something a bit more efficient. Plus my boss was getting on everyone&#8217;s case for using any array&#8217;s at all.</p>
<p><code>this.numOfQuestions = 6;    //number of randimized items to create</code></p>
<p><code>this.question_array = new Array();    //create your array</code></p>
<p><code>for( var f=0; f &lt; this.numOfQuestions; f++ ){<br />
//pick a random item placement in the array<br />
var randomPlace = random(this.numOfQuestions);</code></p>
<p><code>//if that random array placement has no value, fill it with f<br />
//otherwise finish this iteration of the loop by decrimenting f by one<br />
if(this.question_array[randomPlace] == null){<br />
this.question_array[randomPlace] = f;<br />
} else {<br />
f--;<br />
}<br />
}<br />
trace("this.question_array = "+this.question_array)</code></p>
<p>Basically what this does is force the <code>for</code> to skip array placement of a value if that array item already has a value, and the loop runs a few extra times. Its not a terribly efficient <code>for</code> loop, however its far nicer to memory usage by not creating the extra array. And when your working on devices this tradoff has tremendous impact on your final product.</p>
<p>From there its just a matter of cycling through the <code>question_array</code> till you use every item, then just run this <code>for</code> statement again (most likely in some function or class).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashclass.org/blog/15/12/2006/randomizing-an-array/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How random is random?</title>
		<link>http://www.flashclass.org/blog/04/12/2006/how-random-is-random/</link>
		<comments>http://www.flashclass.org/blog/04/12/2006/how-random-is-random/#comments</comments>
		<pubDate>Tue, 05 Dec 2006 03:32:58 +0000</pubDate>
		<dc:creator>Codyo</dc:creator>
				<category><![CDATA[Current]]></category>

		<guid isPermaLink="false">http://www.flashclass.org/blog/2006/12/04/how-random-is-random/</guid>
		<description><![CDATA[How random is random. Here I start to examine some different approaches to using random functions within flash.]]></description>
			<content:encoded><![CDATA[<p>Random is a quick cheat to make your content feel like a unique experience. Random basically is a function that will choose a &#8220;unique&#8221; number withing a range.</p>
<p>Simple example:<br />
<code>//using the deprecated random() function in Flash<br />
var aRandomNumber = random(5);<br />
trace("my random number = " + aRandomNumber);<br />
//in the output window you should see something like:<br />
//my random number = 3<br />
//<br />
//note: you will see results within a range of 5,<br />
//however this range starts at 0,<br />
//so you will get any of the following results: 0, 1, 2, 3, 4<br />
</code><br />
Imagine it like that classic 80&#8242;s game <a href="http://en.wikipedia.org/wiki/Simon_(game)" title="Simon on wikipedia">Simon</a>. But just like in that game random doesn&#8217;t always mean unique. If you remember playing that game each game you played was unique, however you might hit red 3 or 4 times in a row. This is very typical of a random setup, overall your experience is unique, but you may end up with the same result several times in a row. Conversly you may end up never seeing certain results (i.e. you may never see blue used in a round of simon).</p>
<p>Random exhaustive is sometimes the answer to this, depending on your problem set. Random exaustive can give you a randomized problem set. Imagine random exhaustive as a new deck of cards. When you open the box, all the cards are in order. Then before you play, you shuffle the cards so they are in some kind of random order. You deal the cards and play until you use up the deck, and shuffle again.</p>
<p>Now using the example of the game Simon, this could take away some of the flavor of the game itself (red, blue, blue, blue, yellow, red, green, etc&#8230;). However for longer problem sets a random exhaustive problem set can be an advantage, not only for the user experience but also for QA testing (since you can test every problem in the problem set if you play long enough).</p>
<p>So thats the idea. Following shortly I&#8217;ll be writing an article on how to accomplish a random exhaustive problem set.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashclass.org/blog/04/12/2006/how-random-is-random/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;ve migrated!</title>
		<link>http://www.flashclass.org/blog/17/10/2006/hello-world/</link>
		<comments>http://www.flashclass.org/blog/17/10/2006/hello-world/#comments</comments>
		<pubDate>Wed, 18 Oct 2006 00:57:57 +0000</pubDate>
		<dc:creator>Codyo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I&#8217;ve just migrated to wordpress&#8230; I&#8217;m not planning on migrating the old content since it&#8217;s a bit out of date. I&#8217;ll have more here soon.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just migrated to wordpress&#8230; I&#8217;m not planning on migrating the old content since it&#8217;s a bit out of date. I&#8217;ll have more here soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashclass.org/blog/17/10/2006/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

