<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Silent error using Return statment in ActionScript</title>
	<atom:link href="http://www.yapiodesign.com/blog/2007/08/11/silent-error-using-return-statment-in-actionscript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yapiodesign.com/blog/2007/08/11/silent-error-using-return-statment-in-actionscript/</link>
	<description>Development tidbits, struggles, revelations, and still some Flash</description>
	<lastBuildDate>Tue, 07 Feb 2012 21:04:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: John O</title>
		<link>http://www.yapiodesign.com/blog/2007/08/11/silent-error-using-return-statment-in-actionscript/comment-page-1/#comment-531</link>
		<dc:creator>John O</dc:creator>
		<pubDate>Sun, 12 Aug 2007 17:45:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.yapiodesign.com/blog/2007/08/11/silent-error-using-return-statment-in-actionscript/#comment-531</guid>
		<description>Thanks Jesse. That makes complete sense.</description>
		<content:encoded><![CDATA[<p>Thanks Jesse. That makes complete sense.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JesterXL</title>
		<link>http://www.yapiodesign.com/blog/2007/08/11/silent-error-using-return-statment-in-actionscript/comment-page-1/#comment-530</link>
		<dc:creator>JesterXL</dc:creator>
		<pubDate>Sun, 12 Aug 2007 15:59:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.yapiodesign.com/blog/2007/08/11/silent-error-using-return-statment-in-actionscript/#comment-530</guid>
		<description>There is no &quot;code on the timeline&quot; in Flash when you compile as AS3 anymore.  What happens in a nutshell is that it&#039;s all wrapped in code generated AS3 classes.  Some code is wrapped into functions that have a return type of void.

Imagine if you put code on frame 1, and then the compiler wrapped that code in a function, and then did an addFrameScript(1, gennedFunction).</description>
		<content:encoded><![CDATA[<p>There is no &#8220;code on the timeline&#8221; in Flash when you compile as AS3 anymore.  What happens in a nutshell is that it&#8217;s all wrapped in code generated AS3 classes.  Some code is wrapped into functions that have a return type of void.</p>
<p>Imagine if you put code on frame 1, and then the compiler wrapped that code in a function, and then did an addFrameScript(1, gennedFunction).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John O</title>
		<link>http://www.yapiodesign.com/blog/2007/08/11/silent-error-using-return-statment-in-actionscript/comment-page-1/#comment-529</link>
		<dc:creator>John O</dc:creator>
		<pubDate>Sun, 12 Aug 2007 03:16:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.yapiodesign.com/blog/2007/08/11/silent-error-using-return-statment-in-actionscript/#comment-529</guid>
		<description>Yeah, but this return wasn&#039;t in a function. It was &quot;out in the wild&quot; just sitting there on the timeline.  I&#039;m sure there wouldn&#039;t be a way to do this in a Class file, but if this can happen on the main timeline and not throw an error in AS2 or AS3, then its a bit odd. And in the case of my buddy, it was causing errors without throwing an error.  I would still like to know where Flash was trying to return to, since the return wasn&#039;t called by any function.</description>
		<content:encoded><![CDATA[<p>Yeah, but this return wasn&#8217;t in a function. It was &#8220;out in the wild&#8221; just sitting there on the timeline.  I&#8217;m sure there wouldn&#8217;t be a way to do this in a Class file, but if this can happen on the main timeline and not throw an error in AS2 or AS3, then its a bit odd. And in the case of my buddy, it was causing errors without throwing an error.  I would still like to know where Flash was trying to return to, since the return wasn&#8217;t called by any function.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JesterXL</title>
		<link>http://www.yapiodesign.com/blog/2007/08/11/silent-error-using-return-statment-in-actionscript/comment-page-1/#comment-528</link>
		<dc:creator>JesterXL</dc:creator>
		<pubDate>Sun, 12 Aug 2007 02:41:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.yapiodesign.com/blog/2007/08/11/silent-error-using-return-statment-in-actionscript/#comment-528</guid>
		<description>In AS3, if the return type is void, that is valid.  If it is not void, you&#039;ll get an error in AS3.  If you are using this in the timeline in Flash CS3 in AS3, no idea.  In AS2, the compiler isn&#039;t that smart.</description>
		<content:encoded><![CDATA[<p>In AS3, if the return type is void, that is valid.  If it is not void, you&#8217;ll get an error in AS3.  If you are using this in the timeline in Flash CS3 in AS3, no idea.  In AS2, the compiler isn&#8217;t that smart.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

