<?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 for Nate Beck</title>
	<atom:link href="http://blog.natebeck.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.natebeck.net</link>
	<description>AIR, Flex / Flash, FMS, PushButton, Game... Developer</description>
	<lastBuildDate>Mon, 11 Jul 2011 19:09:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>Comment on Flex SDK 4.5 doesn&#8217;t keep Embed Metadata by Nate Beck</title>
		<link>http://blog.natebeck.net/2011/05/flex-sdk-4-5-doesnt-keep-embed-metadata/comment-page-1/#comment-68179</link>
		<dc:creator>Nate Beck</dc:creator>
		<pubDate>Mon, 11 Jul 2011 19:09:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.natebeck.net/?p=1285#comment-68179</guid>
		<description>&lt;blockquote&gt;
&lt;a href=&quot;#comment-68177&quot; rel=&quot;nofollow&quot;&gt;
&lt;strong&gt;&lt;em&gt;Sebastian:&lt;/em&gt;&lt;/strong&gt;
&lt;/a&gt;
 &lt;p&gt;Same problem when using FlexORM and Flex 4.5/4.5.1. Been debugging for a day so find out why Lazy Loading doesn’t work.&lt;/p&gt;
&lt;p&gt;Any updates on the matter?&lt;/p&gt;
&lt;/blockquote&gt;

As of right now, according to the ticket filed at bugs.adobe.com (http://bugs.adobe.com/jira/browse/SDK-30485), this issue is currently under investigation with a potential fix.

Cheers,
Nate</description>
		<content:encoded><![CDATA[<blockquote><p>
<a href="#comment-68177" rel="nofollow"><br />
<strong><em>Sebastian:</em></strong><br />
</a></p>
<p>Same problem when using FlexORM and Flex 4.5/4.5.1. Been debugging for a day so find out why Lazy Loading doesn’t work.</p>
<p>Any updates on the matter?</p>
</blockquote>
<p>As of right now, according to the ticket filed at bugs.adobe.com (<a href="http://bugs.adobe.com/jira/browse/SDK-30485" rel="nofollow">http://bugs.adobe.com/jira/browse/SDK-30485</a>), this issue is currently under investigation with a potential fix.</p>
<p>Cheers,<br />
Nate</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex SDK 4.5 doesn&#8217;t keep Embed Metadata by Sebastian</title>
		<link>http://blog.natebeck.net/2011/05/flex-sdk-4-5-doesnt-keep-embed-metadata/comment-page-1/#comment-68177</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Mon, 11 Jul 2011 19:04:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.natebeck.net/?p=1285#comment-68177</guid>
		<description>Same problem when using FlexORM and Flex 4.5/4.5.1. Been debugging for a day so find out why Lazy Loading doesn&#039;t work.

Any updates on the matter?</description>
		<content:encoded><![CDATA[<p>Same problem when using FlexORM and Flex 4.5/4.5.1. Been debugging for a day so find out why Lazy Loading doesn&#8217;t work.</p>
<p>Any updates on the matter?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex SDK 4.5 doesn&#8217;t keep Embed Metadata by Breakdance McFunkypants</title>
		<link>http://blog.natebeck.net/2011/05/flex-sdk-4-5-doesnt-keep-embed-metadata/comment-page-1/#comment-65939</link>
		<dc:creator>Breakdance McFunkypants</dc:creator>
		<pubDate>Wed, 08 Jun 2011 22:23:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.natebeck.net/?p=1285#comment-65939</guid>
		<description>If you erally need to access the tEXT meta data inside a PNG and this bug never gets fixed, one workaround is to embed it as a bytearray (mimetype in the ebed tag) and parse it out manually:

http://wonderfl.net/c/oVSK

I&#039;ve not tested this but it looks good:

&lt;pre&gt;
        public static function getMetaData(png:ByteArray):Object{
            var metaData:Object = {};
            var i:int, j:int, key:String, value:String;
            for(i = 0; i &lt; png.length - 4; i++){
                png.position = i;
                // look for the tEXt chunk type
                if(png.readUnsignedInt() == tEXt_ID){
                    // chunks are broken into length, type, data and CRC
                    // we&#039;ve stopped at the type, wind back to get the length
                    png.position = i - 4;
                    var totalLength:int = png.readUnsignedInt();
                    // the key/value is broken with a single 0x0 byte
                    var keyLength:int = 0;
                    for(j = 0; j &lt; totalLength; j++){
                        png.position = i + 4 + j;
                        if(png.readByte() == 0x0){
                            keyLength = j;
                            break;
                        }
                    }
                    // capture the key
                    png.position = i + 4;
                    key = png.readMultiByte(keyLength, CHAR_SET);
                    // capture the value
                    png.position = i + 4 + keyLength + 1;
                    value = png.readMultiByte(totalLength - (keyLength + 1), CHAR_SET);
                    metaData[key] = value;
                }
                // quit searching once the IDAT chunk is encountered
                // pngs encoded by this class store the metadata before the IDAT
                if(png.readUnsignedInt() == IDAT_ID){
                    break;
                }
            }
            return metaData;
        }
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>If you erally need to access the tEXT meta data inside a PNG and this bug never gets fixed, one workaround is to embed it as a bytearray (mimetype in the ebed tag) and parse it out manually:</p>
<p><a href="http://wonderfl.net/c/oVSK" rel="nofollow">http://wonderfl.net/c/oVSK</a></p>
<p>I&#8217;ve not tested this but it looks good:</p>
<pre>
        public static function getMetaData(png:ByteArray):Object{
            var metaData:Object = {};
            var i:int, j:int, key:String, value:String;
            for(i = 0; i &lt; png.length - 4; i++){
                png.position = i;
                // look for the tEXt chunk type
                if(png.readUnsignedInt() == tEXt_ID){
                    // chunks are broken into length, type, data and CRC
                    // we&#039;ve stopped at the type, wind back to get the length
                    png.position = i - 4;
                    var totalLength:int = png.readUnsignedInt();
                    // the key/value is broken with a single 0x0 byte
                    var keyLength:int = 0;
                    for(j = 0; j &lt; totalLength; j++){
                        png.position = i + 4 + j;
                        if(png.readByte() == 0x0){
                            keyLength = j;
                            break;
                        }
                    }
                    // capture the key
                    png.position = i + 4;
                    key = png.readMultiByte(keyLength, CHAR_SET);
                    // capture the value
                    png.position = i + 4 + keyLength + 1;
                    value = png.readMultiByte(totalLength - (keyLength + 1), CHAR_SET);
                    metaData[key] = value;
                }
                // quit searching once the IDAT chunk is encountered
                // pngs encoded by this class store the metadata before the IDAT
                if(png.readUnsignedInt() == IDAT_ID){
                    break;
                }
            }
            return metaData;
        }
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex SDK 4.5 doesn&#8217;t keep Embed Metadata by Rick Winscot</title>
		<link>http://blog.natebeck.net/2011/05/flex-sdk-4-5-doesnt-keep-embed-metadata/comment-page-1/#comment-64585</link>
		<dc:creator>Rick Winscot</dc:creator>
		<pubDate>Wed, 18 May 2011 22:30:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.natebeck.net/?p=1285#comment-64585</guid>
		<description>If this is NAB (not a bug) I&#039;d love to hear the rationale...</description>
		<content:encoded><![CDATA[<p>If this is NAB (not a bug) I&#8217;d love to hear the rationale&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex SDK 4.5 doesn&#8217;t keep Embed Metadata by kevin</title>
		<link>http://blog.natebeck.net/2011/05/flex-sdk-4-5-doesnt-keep-embed-metadata/comment-page-1/#comment-64569</link>
		<dc:creator>kevin</dc:creator>
		<pubDate>Wed, 18 May 2011 16:36:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.natebeck.net/?p=1285#comment-64569</guid>
		<description>I filed this as a bug with PushbuttonEngine in the forums and on Google Code a few days ago.  I also had the same problem while trying to file a bug with Adobe once I figured out that something had changed on the framework side of things.

http://pushbuttonengine.com/forum/viewtopic.php?f=9&amp;t=1969

http://code.google.com/p/pushbuttonengine/issues/detail?id=185

I&#039;ve got kind of a hunch that it&#039;s actually as deep as the methods in the latest version of Flash Player, or at least as they are described in playerglobal.swc.

Either way, it will be interesting to see what comes of this.</description>
		<content:encoded><![CDATA[<p>I filed this as a bug with PushbuttonEngine in the forums and on Google Code a few days ago.  I also had the same problem while trying to file a bug with Adobe once I figured out that something had changed on the framework side of things.</p>
<p><a href="http://pushbuttonengine.com/forum/viewtopic.php?f=9&#038;t=1969" rel="nofollow">http://pushbuttonengine.com/forum/viewtopic.php?f=9&#038;t=1969</a></p>
<p><a href="http://code.google.com/p/pushbuttonengine/issues/detail?id=185" rel="nofollow">http://code.google.com/p/pushbuttonengine/issues/detail?id=185</a></p>
<p>I&#8217;ve got kind of a hunch that it&#8217;s actually as deep as the methods in the latest version of Flash Player, or at least as they are described in playerglobal.swc.</p>
<p>Either way, it will be interesting to see what comes of this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex SDK 4.5 doesn&#8217;t keep Embed Metadata by Nate Beck</title>
		<link>http://blog.natebeck.net/2011/05/flex-sdk-4-5-doesnt-keep-embed-metadata/comment-page-1/#comment-64568</link>
		<dc:creator>Nate Beck</dc:creator>
		<pubDate>Wed, 18 May 2011 16:36:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.natebeck.net/?p=1285#comment-64568</guid>
		<description>&lt;pre lang=&quot;actionscript&quot;&gt;
[Embed(source=&quot;assets/flip.png&quot;, mimeType=&quot;image/png&quot; )]
public static const Flip:Class;
&lt;/pre&gt;

Still has the exact same issue.

&lt;pre lang=&quot;xml&quot;&gt;
&lt;constant name=&quot;Flip&quot; type=&quot;Class&quot;&gt;
  &lt;metadata name=&quot;__go_to_definition_help&quot;&gt;
    &lt;arg key=&quot;pos&quot; value=&quot;145&quot;/&gt;
  &lt;/metadata&gt;
&lt;/constant&gt;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #66cc66;">&#91;</span>Embed<span style="color: #66cc66;">&#40;</span>source=<span style="color: #ff0000;">&quot;assets/flip.png&quot;</span>, mimeType=<span style="color: #ff0000;">&quot;image/png&quot;</span> <span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#93;</span>
<span style="color: #0066CC;">public</span> <span style="color: #0066CC;">static</span> const Flip:<span style="color: #000000; font-weight: bold;">Class</span>;</pre></div></div>

<p>Still has the exact same issue.</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;constant</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Flip&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;Class&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;metadata</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;__go_to_definition_help&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;arg</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;pos&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;145&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/metadata<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/constant<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex SDK 4.5 doesn&#8217;t keep Embed Metadata by Rezmason</title>
		<link>http://blog.natebeck.net/2011/05/flex-sdk-4-5-doesnt-keep-embed-metadata/comment-page-1/#comment-64567</link>
		<dc:creator>Rezmason</dc:creator>
		<pubDate>Wed, 18 May 2011 16:31:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.natebeck.net/?p=1285#comment-64567</guid>
		<description>What if you try embedding it as a static const, instead of a var? Seems to me that embedded data should never be an instance property in the first place. Then again, I&#039;m not familiar at all with the pushbutton engine.</description>
		<content:encoded><![CDATA[<p>What if you try embedding it as a static const, instead of a var? Seems to me that embedded data should never be an instance property in the first place. Then again, I&#8217;m not familiar at all with the pushbutton engine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Developing games with PushButton Engine &#8211; Using the Console by Push Button Engine and the console! &#124; CODE@蝴蝶。夢</title>
		<link>http://blog.natebeck.net/2009/11/developing-games-with-pushbutton-engine-using-the-console/comment-page-1/#comment-63924</link>
		<dc:creator>Push Button Engine and the console! &#124; CODE@蝴蝶。夢</dc:creator>
		<pubDate>Wed, 04 May 2011 08:22:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.natebeck.net/?p=888#comment-63924</guid>
		<description>[...] http://blog.natebeck.net/2009/11/developing-games-with-pushbutton-engine-using-the-console/    This entry was posted on Wednesday, May 4th, 2011 at 4:20 pmand is filed under web, 編程. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site. [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://blog.natebeck.net/2009/11/developing-games-with-pushbutton-engine-using-the-console/" rel="nofollow">http://blog.natebeck.net/2009/11/developing-games-with-pushbutton-engine-using-the-console/</a>    This entry was posted on Wednesday, May 4th, 2011 at 4:20 pmand is filed under web, 編程. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Load 40 image formats into Flash. Oh, and it&#8217;s open source. by Nate Beck</title>
		<link>http://blog.natebeck.net/2010/04/load-40-image-formats-into-flash-oh-and-its-open-source/comment-page-1/#comment-63655</link>
		<dc:creator>Nate Beck</dc:creator>
		<pubDate>Thu, 28 Apr 2011 02:26:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.natebeck.net/?p=986#comment-63655</guid>
		<description>Hey Eric,

How do you mean &quot;Flash project&quot;?

ZaaIL is just a SWC that can be used against any Flash project regardless of where it&#039;s made (Flex, Flash Builder, Flash Professional).

Cheers,
Nate</description>
		<content:encoded><![CDATA[<p>Hey Eric,</p>
<p>How do you mean &#8220;Flash project&#8221;?</p>
<p>ZaaIL is just a SWC that can be used against any Flash project regardless of where it&#8217;s made (Flex, Flash Builder, Flash Professional).</p>
<p>Cheers,<br />
Nate</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Load 40 image formats into Flash. Oh, and it&#8217;s open source. by Eric</title>
		<link>http://blog.natebeck.net/2010/04/load-40-image-formats-into-flash-oh-and-its-open-source/comment-page-1/#comment-63654</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Thu, 28 Apr 2011 02:15:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.natebeck.net/?p=986#comment-63654</guid>
		<description>Looks awesome, but I&#039;m obviously missing something. Is there any documentation on how to use ZaaIL in Flash projects?</description>
		<content:encoded><![CDATA[<p>Looks awesome, but I&#8217;m obviously missing something. Is there any documentation on how to use ZaaIL in Flash projects?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

