<?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>Werx Limited &#187; flash</title> <atom:link href="http://werxltd.com/wp/tag/flash/feed/" rel="self" type="application/rss+xml" /><link>http://werxltd.com/wp</link> <description>We make IT work.</description> <lastBuildDate>Mon, 23 Jan 2012 23:03:59 +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>Writing a &#8220;punch the monkey&#8221; Flash application</title><link>http://werxltd.com/wp/2009/06/20/writing-a-punch-the-monkey-flash-application/</link> <comments>http://werxltd.com/wp/2009/06/20/writing-a-punch-the-monkey-flash-application/#comments</comments> <pubDate>Sat, 20 Jun 2009 20:57:08 +0000</pubDate> <dc:creator>wes</dc:creator> <category><![CDATA[software development]]></category> <category><![CDATA[flash]]></category> <category><![CDATA[game]]></category> <category><![CDATA[punch the monkey]]></category> <category><![CDATA[reverse engineering]]></category> <category><![CDATA[tutorial]]></category><guid
isPermaLink="false">http://werxltd.com/wp/?p=59</guid> <description><![CDATA[Recently I was asked to develop a simple "punch the monkey" type game for an Augusta-based radio personality Austin Rhodes who apparently garners as many enemies as fansbut both, it seems, wouldn't mind taking a swing at him, even if it were a virtual one.]]></description> <content:encoded><![CDATA[<p>Recently I was asked to develop a simple &#8220;punch the monkey&#8221; type game for an Augusta-based radio personality <a
href="http://www.facebook.com/pages/The-Austin-Rhodes-Show/75430353279?ref=ts">Austin Rhodes</a> who apparently garners as many enemies as fans<sup><a
href="http://werxltd.com/wp/2009/06/20/writing-a-punch-the-monkey-flash-application/#footnote_0_59" id="identifier_0_59" class="footnote-link footnote-identifier-link" title="sort of like a local Rush Limbaugh">1</a></sup>. Both, it seems, wouldn&#8217;t mind taking a swing at him, though, even if its only a virtual one.</p><p>Not wanting to spend a whole lot of time on this project and remembering the plethora of &#8220;punch the monkey&#8221; Flash applets that used to plague us<sup><a
href="http://werxltd.com/wp/2009/06/20/writing-a-punch-the-monkey-flash-application/#footnote_1_59" id="identifier_1_59" class="footnote-link footnote-identifier-link" title="before ad blockers largely toned them down that is">2</a></sup> in the early days of the internet. I figured it would be pretty easy to simply modify one of them to fit our needs.</p><p>So here&#8217;s a simple 3 step process you can use to create your own &#8220;punch the monkey&#8221; game for that special someone in your life.</p><p>Step 1, rogue a base game from <a
href="http://www.deepmojo.com/sucker-punch-saloon/">Sucker Punch Saloon</a>. You&#8217;ll need to download the compiled  Flash binary, the .swf. I liked the look of the one with President George Bush because it seemed clean and easy enough to modify.</p><p>Step 2, decompile the compiled Flash binary (.swf) using something like <a
href="http://www.sothink.com/product/flashdecompiler/">Sothink&#8217;s SWF Decompiler</a> or one of the <a
href="http://www.bestflashanimationsite.com/resources/decompilers/">countless others</a>. Sothink&#8217;s decompiler is my favorite, though, since it has managed to consistently handle the latest versions of Flash.</p><p>Step 3, take the decompiled .fla and open it in Flash and replace the images you need with the ones you create. For the game I chose to modify, this meant swapping out 3 images in all along with the advertising at the bottom.  I also threw in some free sound effects from <a
href="http://www.findsounds.com">findsounds.com</a> just to make the game more interesting. Additionally, <a
href="http://www.bluesfear.com/tutorials/Blood.htm">this tutorial</a> came in handy when it came to adding blood to the image (well, something that remotely resembles blood anyway).</p><p>Well there you have it. Quick, simple, and painless. <a
href="http://werxltd.com/austin-rhodes-punchout/">Here&#8217;s the finished product</a>, knock yourself (or Austin, rather) out.</p><div
class="betterrelated none"><p>No related content found.</p></div><ol
class="footnotes"><li
id="footnote_0_59" class="footnote">sort of like a local Rush Limbaugh</li><li
id="footnote_1_59" class="footnote">before ad blockers largely toned them down that is</li></ol>]]></content:encoded> <wfw:commentRss>http://werxltd.com/wp/2009/06/20/writing-a-punch-the-monkey-flash-application/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc
Database Caching 2/12 queries in 0.068 seconds using apc
Object Caching 309/324 objects using apc

Served from: werxltd.com @ 2012-02-05 02:37:54 -->
