<?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"
	>

<channel>
	<title>FlashApe</title>
	<atom:link href="http://www.visible-form.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.visible-form.com/blog</link>
	<description>Rich Rodecker's blog on flash, flex, actionscript, javascript, and php, with a dash of randomness</description>
	<pubDate>Tue, 06 May 2008 01:18:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>mxna good to go?</title>
		<link>http://www.visible-form.com/blog/mxna-good-to-go/</link>
		<comments>http://www.visible-form.com/blog/mxna-good-to-go/#comments</comments>
		<pubDate>Tue, 06 May 2008 01:18:11 +0000</pubDate>
		<dc:creator>rich</dc:creator>
		
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.visible-form.com/blog/?p=278</guid>
		<description><![CDATA[mxna is now redirecting to http://feeds.adobe.com.  It&#8217;s running pretty nice now, hopefully it stays this way.
]]></description>
			<content:encoded><![CDATA[<p>mxna is now redirecting to http://feeds.adobe.com.  It&#8217;s running pretty nice now, hopefully it stays this way.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.visible-form.com/blog/mxna-good-to-go/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mate Flex Framework</title>
		<link>http://www.visible-form.com/blog/mate-flex-framework/</link>
		<comments>http://www.visible-form.com/blog/mate-flex-framework/#comments</comments>
		<pubDate>Mon, 05 May 2008 19:01:08 +0000</pubDate>
		<dc:creator>rich</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.visible-form.com/blog/?p=276</guid>
		<description><![CDATA[I just heard about the new Flex framework Mate (pronounced ma-tay) from asfusion.  After spending some time going through their site I gotta say I am VERY impressed, both by the framework itself, and the documentation they have put together (considering how many times I&#8217;ve been let down by poor documentation in the past, [...]]]></description>
			<content:encoded><![CDATA[<p>I just heard about the new Flex framework <a href="http://mate.asfusion.com/" title="Mate Flex Framework">Mate</a> (pronounced ma-tay) from asfusion.  After spending some time going through their site I gotta say I am VERY impressed, both by the framework itself, and the documentation they have put together (considering how many times I&#8217;ve been let down by poor documentation in the past, Mate&#8217;s is great by comparison) .  </p>
<p>The framework is tag-based, easy to follow, and looks like it should be pretty easy for people to pick up.  It uses EventMap files which contain EventHandler child tags which describe what to do in response to a certain event&#8230;.call service, set a property on an object, etc. Some cool things I noticed right off the bat:</p>
<ul>
<li>the way their system works, you can use model objects in the Cairgorm style (one ModelLocator singleton) or in the PureMVC style (proxy/&#8221;manager&#8221; objects managing their data) and it works the same either way.</li>
<li>Objects can be created and cached for future reference in response to an event</li>
<li>The framework uses &#8220;injector&#8221; tags to set/bind properties of one an object to another.</li>
</ul>
<p>There&#8217;s definitely a lot more cool stuff going on in Mate.  Go check it out at <a href="http://mate.asfusion.com/" title="Mate Flex Framework">http://mate.asfusion.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.visible-form.com/blog/mate-flex-framework/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Simple Spark</title>
		<link>http://www.visible-form.com/blog/simple-spark/</link>
		<comments>http://www.visible-form.com/blog/simple-spark/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 18:07:09 +0000</pubDate>
		<dc:creator>rich</dc:creator>
		
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://www.visible-form.com/blog/?p=275</guid>
		<description><![CDATA[So while Internal Server Error was down again&#8230;err, sorry, while MXNA was down again, I went and checked in over at Web Worker Daily and found this gem:  Simple Spark, a catalog of over 8500 Web Apps, broken down by category with reviews and ratings for each.  It&#8217;s pretty impressive, I&#8217;ve already found [...]]]></description>
			<content:encoded><![CDATA[<p>So while Internal Server Error was down again&#8230;err, sorry, while MXNA was down again, I went and checked in over at <a href="http://webworkerdaily.com">Web Worker Daily</a> and found this gem:  <a href="http://webworkerdaily.com/2008/04/23/simple-spark-catalogs-web-20/">Simple Spark</a>, a catalog of over 8500 Web Apps, broken down by category with reviews and ratings for each.  It&#8217;s pretty impressive, I&#8217;ve already found a few I would probably have never heard of that look pretty interesting. </p>
<p>(side note: does this now mean that web 2.0 has folded over onto itself and has begun to implode?)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.visible-form.com/blog/simple-spark/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Embedding Bitmap Text in Flash CS3</title>
		<link>http://www.visible-form.com/blog/embedding-bitmap-text-in-flash-cs3/</link>
		<comments>http://www.visible-form.com/blog/embedding-bitmap-text-in-flash-cs3/#comments</comments>
		<pubDate>Sat, 19 Apr 2008 20:22:31 +0000</pubDate>
		<dc:creator>rich</dc:creator>
		
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.visible-form.com/blog/?p=274</guid>
		<description><![CDATA[Lost a few hours to this one today.  I was trying to embed a font in a textfield with the antialising set to &#8216;Bitmap Text (no anti-alias)&#8217;.  No  matter what though, the font would not display in the text field when embedded.  Turns out that internally flash actually renames the font, [...]]]></description>
			<content:encoded><![CDATA[<p>Lost a few hours to this one today.  I was trying to embed a font in a textfield with the antialising set to &#8216;Bitmap Text (no anti-alias)&#8217;.  No  matter what though, the font would not display in the text field when embedded.  Turns out that internally flash actually renames the font, to &#8216;FontName_8pt_st&#8217; (substite the 8 for whatever font size you embedded into the textfield). Not sure what the &#8216;_st&#8217; part is but so far it seems constant, doesn&#8217;t ever change.  I&#8217;m curious to know the reasoning behind this.  Anyway, just remember to use the &#8216;updated&#8217; font name instead of the normal font name, and you should be good.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.visible-form.com/blog/embedding-bitmap-text-in-flash-cs3/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flex Builder vs. TextMate</title>
		<link>http://www.visible-form.com/blog/flex-builder-vs-textmate/</link>
		<comments>http://www.visible-form.com/blog/flex-builder-vs-textmate/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 23:19:10 +0000</pubDate>
		<dc:creator>rich</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<category><![CDATA[flash]]></category>

		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://www.visible-form.com/blog/?p=273</guid>
		<description><![CDATA[I was doing a bunch of Flex work for the past few months, and get really comfortable with Flex Builder.  There are so many awesome features to aid development it simply kicks ass.  
However, my current project is Flash CS3-based, so I went back to TextMate, which I also love.  There are [...]]]></description>
			<content:encoded><![CDATA[<p>I was doing a bunch of Flex work for the past few months, and get really comfortable with Flex Builder.  There are so many awesome features to aid development it simply kicks ass.  </p>
<p>However, my current project is Flash CS3-based, so I went back to TextMate, which I also love.  There are many great features in TextMate which eclipse does not do that really make me miss working in it.  </p>
<p>My main points of comparison:<br />
TextMate:</p>
<ul>
<li>Perceptual Bulk - TextMate feels so lean, where FlexBuilder just feels so heavy.  Probably due to eclipse not being a native mac app, but still, I just feel &#8216;cleaner&#8217; working in TextMate.</li>
<li>Tab Triggers - I can&#8217;t count how much typing I&#8217;ve saved using tab triggers in TextMate.  Type in a few key strokes and hit tab, and some templated code gets placed&#8230;with tabstops mixed in so you can simply tab to the next appropriate place to type.  I only pray that someone tells me you can do that in eclipse.</li>
<li>Column Selection - Another tool of TextMate that i find incredibly timesaving.  being able to select a rectangular area of text, and have whatever you type repeated on each of the selected lines, is a blessing.  Another thing I wish eclipse would support.</li>
</ul>
<p>Flex Builder (eclipse):</p>
<ul>
<li>Integrated debugger - That pretty much puts the smack down right there.</li>
<li>Code Sense/Code Completion - Another swift backhand.  For being such an awesome text editor, why can&#8217;t TextMate handle this better? (yes I know about using the escape key for auto-complete, but that&#8217;s pretty weak compared to what you get in eclipse).</li>
<li>Find in Language Reference - I use this constantly, and as far I know it doesn&#8217;t exist in TextMate (for actionscript anyway)</li>
</ul>
<p>There&#8217;s probably a few more but those are what jump out at me.  If anyone knows how to get some of the features listed above into the other app, please do tell <img src='http://www.visible-form.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.visible-form.com/blog/flex-builder-vs-textmate/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sending Negative Integers through AMFPHP</title>
		<link>http://www.visible-form.com/blog/sending-negative-integers-through-amfphp/</link>
		<comments>http://www.visible-form.com/blog/sending-negative-integers-through-amfphp/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 20:55:23 +0000</pubDate>
		<dc:creator>rich</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.visible-form.com/blog/?p=272</guid>
		<description><![CDATA[There is a weird bug in AMFPHP regarding sending negative integers.  If you try and send a number such as -87, it shows up as 4294967209 in php.  I did some digging and found on the amfphp forums that it has to do with amfphp's readAmf3Int() method in AMFDeserialzer.php.  Here is the [...]]]></description>
			<content:encoded><![CDATA[<p>There is a weird bug in AMFPHP regarding sending negative integers.  If you try and send a number such as -87, it shows up as 4294967209 in php.  I did some digging and <a href="http://sourceforge.net/forum/message.php?msg_id=4440685">found on the amfphp forums</a> that it has to do with amfphp's readAmf3Int() method in AMFDeserialzer.php.  Here is the updated function that was posted on the forum:</p>
<div class="igBar"><span id="lphp-2"><a href="#" onclick="javascript:showPlainTxt('php-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-2">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">function</span> readAmf3Int<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span> </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#123;</span> </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$res</span> = <span style="color:#CC66CC;color:#800000;">0</span>; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$int</span> = <span style="color:#0000FF;">$this</span>-&gt;<span style="color:#006600;">readByte</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">if</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$int</span> &lt;<span style="color:#CC66CC;color:#800000;">128</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">return</span> <span style="color:#0000FF;">$int</span>; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span> <span style="color:#616100;">else</span> <span style="color:#006600; font-weight:bold;">&#123;</span> </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$int</span> = <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$int</span> &amp; 0x7f<span style="color:#006600; font-weight:bold;">&#41;</span> &lt;&lt;<span style="color:#CC66CC;color:#800000;">7</span>; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$tmp</span> = <span style="color:#0000FF;">$this</span>-&gt;<span style="color:#006600;">readByte</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">if</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$tmp</span> &lt;<span style="color:#CC66CC;color:#800000;">128</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span> </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$int</span> |= <span style="color:#0000FF;">$tmp</span>; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span><span style="color:#616100;">else</span><span style="color:#006600; font-weight:bold;">&#123;</span> </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$int</span> = <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$int</span> | <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$tmp</span> &amp; 0x7f<span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span> &lt;&lt;<span style="color:#CC66CC;color:#800000;">7</span>; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$tmp</span> = <span style="color:#0000FF;">$this</span>-&gt;<span style="color:#006600;">readByte</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">if</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$tmp</span> &lt;<span style="color:#CC66CC;color:#800000;">128</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span> </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$int</span> |= <span style="color:#0000FF;">$tmp</span>; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span><span style="color:#616100;">else</span><span style="color:#006600; font-weight:bold;">&#123;</span> </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$int</span> = <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$int</span> | <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$tmp</span> &amp; 0x7f<span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span> &lt;&lt;<span style="color:#CC66CC;color:#800000;">8</span>; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$tmp</span> = <span style="color:#0000FF;">$this</span>-&gt;<span style="color:#006600;">readByte</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$int</span> |= <span style="color:#0000FF;">$tmp</span>; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span> </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span> </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span> </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$mask</span> = <span style="color:#CC66CC;color:#800000;">1</span>&lt;&lt;<span style="color:#CC66CC;color:#800000;">28</span>; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$res</span> = -<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$int</span> &amp; <span style="color:#0000FF;">$mask</span><span style="color:#006600; font-weight:bold;">&#41;</span> | <span style="color:#0000FF;">$int</span>; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">return</span> <span style="color:#0000FF;">$res</span>; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.visible-form.com/blog/sending-negative-integers-through-amfphp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>For those unfamiliar: An overview of Flex, FlexBuilder, and the Flex SDK</title>
		<link>http://www.visible-form.com/blog/for-those-unfamiliar-an-overview-of-flex-flexbuilder-and-the-flex-sdk/</link>
		<comments>http://www.visible-form.com/blog/for-those-unfamiliar-an-overview-of-flex-flexbuilder-and-the-flex-sdk/#comments</comments>
		<pubDate>Sat, 05 Apr 2008 00:05:22 +0000</pubDate>
		<dc:creator>rich</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.visible-form.com/blog/for-those-unfamiliar-an-overview-of-flex-flexbuilder-and-the-flex-sdk/</guid>
		<description><![CDATA[I wrote this up for a client, and realized I had given some version of this many times, so since I had it all written out I figured I'd post it here.  I was trying to keep it somewhat high-level, as it's generally targeted towards the non-developers. 
Originally there was Flash.  Flash was [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote this up for a client, and realized I had given some version of this many times, so since I had it all written out I figured I'd post it here.  I was trying to keep it somewhat high-level, as it's generally targeted towards the non-developers. </p>
<p>Originally there was Flash.  Flash was built as an animation tool and followed a timeline-based approach. When i say timeline-based, think of a filmstrip, and how it is made of a strip of individual, consecutive frames....that was the concept behind Flash, to make editing those long sequences of animation easier.  If you open up an .fla file, you can clearly see that each layer is made up of consecutive frames...those consecutive frames are collectively referred to as a ‘timeline’.<br />
Eventually, people figured out that they could build really cool stuff in flash, even full-blown applications that didn’t really have too much to do with traditional animation.  Eventually the timeline metaphor, more than just becoming irrelevant, started getting in the way.  People were building apps based more an an individual screen-based metaphor, and creating each of those screens on individual frames of the timeline could often be a chore.</p>
<p>So, in order to accommodate Flash application developers, as well as developers coming from other languages into Flash development that were getting scared off by Flash’s awkward development environment, the Flex framework and FlexBuilder were created. In general, the Flex framework is a code library of components which help to facilitate building applications that run within Flash Player.  FlexBuilder is the Flex IDE (integrated development environment...big term for a code editor with some other development-related features thrown in) offered by Adobe, which really just a specialized build of Eclipse, which is an industry-standard open source IDE.</p>
<p>In addition to (or instead of) using FlexBuilder, the Flex SDK (software development kit) is open source, and it contains the Flex source code library and compiler, so you can develop Flex apps in any IDE.  Setting up and using the SDK will provide the same results as using FlexBuilder, but requires more time and effort to set up...so you get all the tools for free, but you have to set them up yourself.  That’s the tradeoff to using FlexBuilder where everything is prepackaged and set up for you already.</p>
<p>Flex application are written using a tag-based approach, so Flex apps are generally made up of text files containing  a mix of markup that looks like html (this is called mxml), and Actionscript 3 code.  When the flex application source code is compiled, the compiler turns the mxml tags are into normal Actionscript 3 code, and a .swf file is produced.  That .swf file runs in Flash Player, the same as a .swf file produced from Flash.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.visible-form.com/blog/for-those-unfamiliar-an-overview-of-flex-flexbuilder-and-the-flex-sdk/feed/</wfw:commentRss>
		</item>
		<item>
		<title>AMFEXT doesn&#8217;t handle incoming arraycollections</title>
		<link>http://www.visible-form.com/blog/amfext-doesnt-handle-incoming-arraycollections/</link>
		<comments>http://www.visible-form.com/blog/amfext-doesnt-handle-incoming-arraycollections/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 20:15:57 +0000</pubDate>
		<dc:creator>rich</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.visible-form.com/blog/amfext-doesnt-handle-incoming-arraycollections/</guid>
		<description><![CDATA[Ran into an issue today with AMFPHP trying to send an ArrayCollection...it kept choking when trying to decode the collection.  I knew this was already possible, but forgot I had installed the php extension AMFEXT, which handles the encoding/decoding for amfphp when it is installed.  Turns out that it doesn't like incoming arraycollections. [...]]]></description>
			<content:encoded><![CDATA[<p>Ran into an issue today with AMFPHP trying to send an ArrayCollection...it kept choking when trying to decode the collection.  I knew this was already possible, but forgot I had installed the php extension <a href="http://www.teslacore.it/wiki/index.php?title=AMFEXT">AMFEXT</a>, which handles the encoding/decoding for amfphp when it is installed.  Turns out that it doesn't like incoming arraycollections.  Disabling the extension fixed my problem, but I would sure like find a way to get them working together.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.visible-form.com/blog/amfext-doesnt-handle-incoming-arraycollections/feed/</wfw:commentRss>
		</item>
		<item>
		<title>BorderSkin on top of children</title>
		<link>http://www.visible-form.com/blog/borderskin-on-top-of-children/</link>
		<comments>http://www.visible-form.com/blog/borderskin-on-top-of-children/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 21:39:00 +0000</pubDate>
		<dc:creator>rich</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.visible-form.com/blog/borderskin-on-top-of-children/</guid>
		<description><![CDATA[Sheesh...I just wasted half a day trying to figure out how to get a borderSkin to appear on top of all the children in a custom component I was building.  It was a subclass of Canvas, so it was really easy...now that I know, it seems so obvious I want to kick myself.  [...]]]></description>
			<content:encoded><![CDATA[<p>Sheesh...I just wasted half a day trying to figure out how to get a borderSkin to appear on top of all the children in a custom component I was building.  It was a subclass of Canvas, so it was really easy...now that I know, it seems so obvious I want to kick myself.  Anyway, you just need to do:</p>
<div class="igBar"><span id="lactionscript-4"><a href="#" onclick="javascript:showPlainTxt('actionscript-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-4">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">override protected <span style="color: #000000; font-weight: bold;">function</span> layoutChrome<span style="color: #66cc66;">&#40;</span>unscaledWidth:<span style="color: #0066CC;">Number</span>,unscaledHeight:<span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #0066CC;">super</span>.<span style="color: #006600;">layoutChrome</span><span style="color: #66cc66;">&#40;</span>unscaledWidth, unscaledHeight<span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">//move the border in front of the children</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; rawChildren.<span style="color: #006600;">setChildIndex</span><span style="color: #66cc66;">&#40;</span>rawChildren.<span style="color: #006600;">getChildByName</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'border'</span><span style="color: #66cc66;">&#41;</span>, rawChildren.<span style="color: #006600;">numChildren</span> - <span style="color: #cc66cc;color:#800000;">1</span><span style="color: #66cc66;">&#41;</span>;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.visible-form.com/blog/borderskin-on-top-of-children/feed/</wfw:commentRss>
		</item>
		<item>
		<title>IMagick - ImageMagick extension for PHP</title>
		<link>http://www.visible-form.com/blog/imagick-imagemagick-extension-for-php/</link>
		<comments>http://www.visible-form.com/blog/imagick-imagemagick-extension-for-php/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 17:30:50 +0000</pubDate>
		<dc:creator>rich</dc:creator>
		
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.visible-form.com/blog/imagick-imagemagick-extension-for-php/</guid>
		<description><![CDATA[If you're spending a decent amount of time manipulating images in php using GD or command-line ImageMagick, you should check out the Imagick php extension.  Imagick provides an object-oriented interface to the ImageMagick API. 
As far as I can tell, this extension was left for dead a while ago but revitalized over the last [...]]]></description>
			<content:encoded><![CDATA[<p>If you're spending a decent amount of time manipulating images in php using GD or command-line ImageMagick, you should check out the <a href="http://us3.php.net/imagick" title="Imagick php ImageMagick extension">Imagick php extension</a>.  Imagick provides an object-oriented interface to the ImageMagick API. </p>
<p>As far as I can tell, this extension was left for dead a while ago but revitalized over the last year or so and is now rockin pretty hard.  The developer is pretty responsive on the <a href="http://www.imagemagick.org/discourse-server/viewforum.php?f=18&#038;sid=fa2f1394f6509c7d2d31c06f23e54a25">Imagick board at the ImageMagick forums</a> as well, and he's got lots of nice code tidbits on <a href="http://valokuva.org/" title="Lead Imagick developer Mikko Koppanen's blog">his own blog</a>.</p>
<p>There is also the <a href="http://www.bitweaver.org/doc/magickwand/index.html" title="MagickWand for PHP ImageMagick extension">MagickWand For PHP</a> extension,  but I found the syntax pretty odd to deal with, it probably relates more to the way GD works than the OO style of Imagick.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.visible-form.com/blog/imagick-imagemagick-extension-for-php/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
