<?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>R:N:M &#187; ActionScript</title>
	<atom:link href="http://www.robotninjamonkey.com/tag/actionscript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.robotninjamonkey.com</link>
	<description>Robots, ninjas and monkeys: three out of four of my favorite things.</description>
	<lastBuildDate>Fri, 21 Aug 2009 01:39:15 +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 CS3 &#8217;stage.stageHeight&#8217; Bug</title>
		<link>http://www.robotninjamonkey.com/2008/08/flash-cs3-stagestageheight-bug/</link>
		<comments>http://www.robotninjamonkey.com/2008/08/flash-cs3-stagestageheight-bug/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 15:37:59 +0000</pubDate>
		<dc:creator>Gary Wilson</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[actionscript 3]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[flash cs3]]></category>
		<category><![CDATA[issue]]></category>
		<category><![CDATA[problem]]></category>

		<guid isPermaLink="false">http://www.robotninjamonkey.com/?p=69</guid>
		<description><![CDATA[If you&#8217;ve developed for Flash for any amount of time, you&#8217;ll have noticed Flash has some annoying bugs. Last night, I learned of a new one. It took a while to narrow down with the amount of code I was working through and, as usual, I assumed it was something I was doing wrong.
In ActionsScript [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve developed for Flash for any amount of time, you&#8217;ll have noticed Flash has some annoying bugs. Last night, I learned of a new one. It took a while to narrow down with the amount of code I was working through and, as usual, I assumed it was something I was doing wrong.</p>
<p><span id="more-69"></span>In ActionsScript 3.0, to get the height of the stage you&#8217;d use &#8217;stage.stageHeight.&#8217; In my case, I was working with a 600 x 400 Flash file with movieclips that needed to be vertically centered. After publishing, the vertically centered elements were not centered properly. This led me to re-examine my code and math quite heavily. Nothing appeared to be in error.  Tracing out &#8217;stage.stageHeight&#8217; reported back a height of 300.  This was obviously wrong since my project was 400 pixels tall.  Resizing the stage to 300 made my trace report back a height of 200.  I reset my stage to 400 tall and thought about the problem.  So everything was off vertically by 100 pixels.  Odd.</p>
<p>On a whim I did a test movie.  I then, ever-so-slightly, resized the preview window and hit the &#8216;test movie&#8217; hot key again.  A had adjusted the window only a few pixels.  Instead of reporting back, say, 303 pixels it was now reporting 403 pixels.  Ah-hah!  Now I had an idea what was wrong: Flash was being a pain in the butt.  Continuing my whim, I turned off the bandwidth profiler I often leave open and recompiled . . .  400!  Stupid Flash!  The bandwidth profiler seems to have an issue eating up vertical pixels.  Bad Flash.  Very, very bad.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robotninjamonkey.com/2008/08/flash-cs3-stagestageheight-bug/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Review: Flash &amp; Flex Developer&#8217;s Magazine</title>
		<link>http://www.robotninjamonkey.com/2008/08/review-flash-flex-developers-magazine/</link>
		<comments>http://www.robotninjamonkey.com/2008/08/review-flash-flex-developers-magazine/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 14:52:10 +0000</pubDate>
		<dc:creator>Gary Wilson</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[magazine]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://www.robotninjamonkey.com/?p=41</guid>
		<description><![CDATA[$14.99 is what I spent on this magazine. A brief glance and a CD inside convinced me to buy Flash &#38; Flex Developer&#8217;s Magazine (Issue 1, Volume 1). Was it worth it? In a word: no.
Immediately I was struck by the title Flash &#38; Flex; two of my favorite development platforms.  At first I balked [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.robotninjamonkey.com/wp-content/uploads/2008/08/p-640-480-b53c3fda-5fd0-43cc-8dfd-9ec001479dd3.jpeg"><img class="size-full wp-image-364 alignleft" style="margin-left: 5px; margin-right: 5px; border: none;" src="http://www.robotninjamonkey.com/wp-content/uploads/2008/08/p-640-480-b53c3fda-5fd0-43cc-8dfd-9ec001479dd3.jpeg" alt="photo" width="135" height="180" /></a>$14.99 is what I spent on this magazine. A brief glance and a CD inside convinced me to buy <strong>Flash &amp; Flex Developer&#8217;s Magazine (Issue 1, Volume 1)</strong>. Was it worth it? In a word: no.</p>
<p>Immediately I was struck by the title <strong>Flash &amp; Flex</strong>; two of my favorite development platforms.  At first I balked at the price of $14.99, but then I saw some articles on interesting looking technologies I only new of by name. There were also a couple of articles that would be great to pass on to my fellow workers who are ActionScript 3.0 initiates.  I was sold and slapped down the money for the magazine.</p>
<p><span id="more-41"></span>Being a busy man at work the magazine sat on my desk for a weekend and a day before I had a chance to look it over.  Really, I didn&#8217;t have the time, but I wanted a diversion at that moment.  I decided to look over the article on building a Pong game in ActionScript 3.0 for Flash.</p>
<p>Going straight to the code in the Pong tutorial, I saw a few things I would have done differently, but I was struck by the lack of professional coding style.  For a magazine that&#8217;s going to be sold to the masses, you&#8217;d want to pass along clean and standardized code.  None of that here.  I was also struck by the horrible job on formatting.  The code examples are overly deep in their indentation and the white spacing is inconsistent.  Don&#8217;t even get me started on the coding convention (not that any was used).</p>
<p>There must have been no proof checking of the articles or examples.  The Pong game example has three class files.  Mistakenly, Listing 2 is titled &#8216;Ball class&#8217; when it&#8217;s the &#8216;Paddle class&#8217; and Listing 3 is called &#8216;Paddle class&#8217; when it is indeed the &#8216;Ball class.&#8217;</p>
<p>Even the main article text has issues.  For example, right away in the first paragraph you have a parenthetical statement that says:</p>
<blockquote><p>(www.mochiads.com who is great for all kind of development skills)</p></blockquote>
<p>Yikes.  Now, I&#8217;m not the best person to be talking about syntax, grammar, punctuation or anything English related. At the same time I&#8217;m not attempting to produce a professional magazine for developers.  Put some polish on it or readers aren&#8217;t going to take you seriously.</p>
<p>Needless to say, my hope for this magazine had dropped severely and I could feel the fact that my wallet was now $14.99 lighter.  Moving on to other articles I found similar issues.  The article on creating a banner was so simplistic for a magazine that claims to be a developer&#8217;s magazine as to be ridiculous.</p>
<p>On my last look at the magazine, I saw an article on Flash remoting with WebOrb. I&#8217;m very familiar with this topic and I&#8217;ll just say this: check online for some tutorials. You&#8217;ll find more useful advice and better thought-out assistance.</p>
<p>Instead of continuing to beat this dead horse, let me sum up the magazine for you. It&#8217;s not dead on arrival, but it&#8217;s close. It just doesn&#8217;t have the professionalism to be taken seriously and it&#8217;s tutorials and advice are too simplistic. Hopefully we&#8217;ll see better in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robotninjamonkey.com/2008/08/review-flash-flex-developers-magazine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
