  

<?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>Chob</title>
	<atom:link href="http://blog.chop.com.au/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.chop.com.au</link>
	<description>Blog of Leon Wilson, a freelance flash developer based in Sydney, Australia.</description>
	<lastBuildDate>Tue, 07 Sep 2010 23:56:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SQL Snippet: Update table field using a join using SQL</title>
		<link>http://blog.chop.com.au/2010/09/code-snippet-update-table-field-using-a-join-using-sql/</link>
		<comments>http://blog.chop.com.au/2010/09/code-snippet-update-table-field-using-a-join-using-sql/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 23:52:31 +0000</pubDate>
		<dc:creator>chop</dc:creator>
				<category><![CDATA[Code Snippet]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.chop.com.au/?p=211</guid>
		<description><![CDATA[This is a handy little snippet if you need to update one field (source) in one table (table 1) from the results of a field in a related table (table 2)


UPDATE table1 JOIN table1 ON table1.id = table2.id SET table2.source = table1.source

]]></description>
			<content:encoded><![CDATA[<p>This is a handy little snippet if you need to update one field (source) in one table (table 1) from the results of a field in a related table (table 2)</p>
<pre class="brush: php;">

UPDATE table1 JOIN table1 ON table1.id = table2.id SET table2.source = table1.source
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.chop.com.au/2010/09/code-snippet-update-table-field-using-a-join-using-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lighting Hospital UK &#8211; Landing Page</title>
		<link>http://blog.chop.com.au/2010/09/lighting-hospital-uk-landing-page/</link>
		<comments>http://blog.chop.com.au/2010/09/lighting-hospital-uk-landing-page/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 22:24:43 +0000</pubDate>
		<dc:creator>chop</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Website]]></category>
		<category><![CDATA[css3 border-radius]]></category>
		<category><![CDATA[Freelance]]></category>
		<category><![CDATA[lighting hospiital uk]]></category>

		<guid isPermaLink="false">http://blog.chop.com.au/?p=208</guid>
		<description><![CDATA[I recently did a holding page for the Lighting Hospital UK, it was a basic page prior to a full website being built. Unfortunatly I didn&#8217;t have the time to built the full site due to AIAM100 commitments, however the landing page which I built in a day was the direction I would have wanted [...]]]></description>
			<content:encoded><![CDATA[<p>I recently did a holding page for the <a href="http://www.lightinghospital.com">Lighting Hospital UK</a>, it was a basic page prior to a full website being built. Unfortunatly I didn&#8217;t have the time to built the full site due to AIAM100 commitments, however the landing page which I built in a day was the direction I would have wanted to go in.</p>
<p>This nature of this site lends itself for some nice flash experimental pieces, so it would have been nice to dabble.</p>
<p>Anyway this was just built using CSS and incorporates the recent CSS3 border-radius property&#8230; love it!</p>
<p><img class="alignnone size-full wp-image-209" title="lh_landingpage" src="http://blog.chop.com.au/wp-content/uploads/lh_landingpage.jpg" alt="lh_landingpage" width="650" height="809" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chop.com.au/2010/09/lighting-hospital-uk-landing-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIAM100 Launch Party</title>
		<link>http://blog.chop.com.au/2010/08/aiam100-launch-party/</link>
		<comments>http://blog.chop.com.au/2010/08/aiam100-launch-party/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 03:10:56 +0000</pubDate>
		<dc:creator>chop</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Freelance]]></category>
		<category><![CDATA[Graphic Design]]></category>
		<category><![CDATA[Identity]]></category>
		<category><![CDATA[Website]]></category>

		<guid isPermaLink="false">http://blog.chop.com.au/?p=194</guid>
		<description><![CDATA[After a year and a half of telling people I&#8217;ve been building this site, we finally had the AIAM100.com website and exhibtion launch party on Friday night at Cooee Art Gallery in Lamrock Ave. Bondi.
Australian Indienous Art Market top 100 (AIAM100) is a website show casing the top Australian indigenous artists  based on their [...]]]></description>
			<content:encoded><![CDATA[<p>After a year and a half of telling people I&#8217;ve been building this site, we finally had the <a href="http://www.aiam100.com/">AIAM100.com website</a> and exhibtion launch party on Friday night at <a href="http://www.cooeeart.com.au" target="_blank">Cooee Art Gallery</a> in Lamrock Ave. Bondi.</p>
<blockquote><p>Australian Indienous Art Market top 100 (AIAM100) is a website show casing the top Australian indigenous artists  based on their market performance in the secondary art market. Over 130 profiles compiled by Adrian Newstead give the user a detailed view of each artist. Market Performance results are supplied by <a title="Australia Art Sales Digest" href="http://www.aasd.com.au" target="_blank">Australian Art Sales Digest</a> (AASD), these results allow the AIAM100 to calculate the AIAM100 index and rank each artist accordingly. It also provides the overall health of the industry, for example the peak in 2007.</p></blockquote>
<p><img class="size-full wp-image-195" title="aiam100_opening" src="http://blog.chop.com.au/wp-content/uploads/aiam100_opening.jpg" alt="Adrian Newstead at the opening of the AIAM100 website and exhibiton" width="650" height="971" /></p>
<p><em>Adrian Newstead at the opening of the AIAM100 website and exhibiton</em></p>
<address> </address>
<address> </address>
<p><img class="size-full wp-image-196" title="speech_opening" src="http://blog.chop.com.au/wp-content/uploads/speech_opening.jpg" alt="Ruth Hessey &amp; Adrian Newstead" width="650" height="394" /></p>
<p><em>Ruth Hessey &amp; Adrian Newstead</em><em><br />
</em></p>
<p>Being completely built in Flash I see this website as being a RIA rather than just a website. I know I know, it&#8217;s not the normal site to be completely built in Flash, and it raised numerous challenges along the way, especially regarding text layout, formatting and resizing (which are basic things we take for granted in developing an html based site). 50% of the site is it&#8217;s cutom built php based CMS, along with an extensive database, allowing AIAM administrators to easily publish new artists profiles.</p>
<p>Although i&#8217;ll still be working on adding a few more features it&#8217;s a great feeling to get <a href="http://www.aiam100.com/">AIAM100.com</a> site live into the public.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chop.com.au/2010/08/aiam100-launch-party/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moran Prizes web kiosk app for NSW State Library</title>
		<link>http://blog.chop.com.au/2010/08/test/</link>
		<comments>http://blog.chop.com.au/2010/08/test/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 07:22:37 +0000</pubDate>
		<dc:creator>chop</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Freelance]]></category>
		<category><![CDATA[Graphic Design]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[moran prizes]]></category>
		<category><![CDATA[nsw state library]]></category>
		<category><![CDATA[web kiosk]]></category>

		<guid isPermaLink="false">http://blog.chop.com.au/?p=185</guid>
		<description><![CDATA[I recently just finished the &#8216;People&#8217;s Choice Award&#8217; web kiosk application for the NSW State Library. The purpose of the app is to allow the public to vote on their favourite from the Moran Prizes exhibition.
The screen cast shows the general flow of the app, it was relatively siple and includes a back end admin [...]]]></description>
			<content:encoded><![CDATA[<p>I recently just finished the <em>&#8216;People&#8217;s Choice Award&#8217;</em> web kiosk application for the <a title="NSW State Library" href="http://www.sl.nsw.gov.au/" target="_blank">NSW State Library</a>. The purpose of the app is to allow the public to vote on their favourite from the Moran Prizes exhibition.</p>
<p>The screen cast shows the general flow of the app, it was relatively siple and includes a back end admin to display user data.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="650" height="517" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="flashvars" value="src=flv/moran_prizes_demo.f4v&amp;autoHideControlBar=false" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="StrobeMediaPlayback.swf" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="650" height="517" src="StrobeMediaPlayback.swf" allowscriptaccess="always" allowfullscreen="true" flashvars="src=flv/moran_prizes_demo.f4v&amp;autoHideControlBar=false"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chop.com.au/2010/08/test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Handy Hint: AMFPHP to Flash Character Encoding</title>
		<link>http://blog.chop.com.au/2010/06/handy-hint-amfphp-to-flash-character-encoding/</link>
		<comments>http://blog.chop.com.au/2010/06/handy-hint-amfphp-to-flash-character-encoding/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 03:11:41 +0000</pubDate>
		<dc:creator>chop</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[amfphp]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[hint]]></category>

		<guid isPermaLink="false">http://blog.chop.com.au/?p=180</guid>
		<description><![CDATA[If you&#8217;ve ever used AMFPHP to connect your DB into Flash, you may stumble across weird characters being output! eg: â€“ replaces the ’. The simple explanation is that the PHP is decoding it wrong.
Forget about preg_replace(), all you need to do is update your amfphp/gateway.php file to decode, encode in UTF-8.


$gateway-&#62;setCharsetHandler(&#34;utf8_decode&#34;, &#34;UTF-8&#34;, &#34;UTF-8&#34;);

and walla [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve ever used AMFPHP to connect your DB into Flash, you may stumble across weird characters being output! eg: â€“ replaces the ’. The simple explanation is that the PHP is decoding it wrong.</p>
<p>Forget about preg_replace(), all you need to do is update your amfphp/gateway.php file to decode, encode in UTF-8.</p>
<pre class="brush: php;">

$gateway-&gt;setCharsetHandler(&quot;utf8_decode&quot;, &quot;UTF-8&quot;, &quot;UTF-8&quot;);
</pre>
<p>and walla no more annoying characters sent from AMFPHP.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chop.com.au/2010/06/handy-hint-amfphp-to-flash-character-encoding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Freelance @ White Agency &#8211; Flash game on Wii console</title>
		<link>http://blog.chop.com.au/2010/05/freelance-at-white-agency/</link>
		<comments>http://blog.chop.com.au/2010/05/freelance-at-white-agency/#comments</comments>
		<pubDate>Sun, 02 May 2010 23:56:24 +0000</pubDate>
		<dc:creator>chop</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Freelance]]></category>
		<category><![CDATA[AS2]]></category>
		<category><![CDATA[Flash Game]]></category>
		<category><![CDATA[White Agency]]></category>
		<category><![CDATA[Wii]]></category>

		<guid isPermaLink="false">http://blog.chop.com.au/?p=167</guid>
		<description><![CDATA[Last week I completed another little stint at the White Agency, Sydney. The brief was to create a little simple flash game that could be played through the opera browser on the Wii console. It was for a company called Sirtex Medical Ltd. and they wanted to create the game to highlight there medical technology [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I completed another little stint at the <a href="http://www.thewhiteagency.com.au">White Agency, Sydney</a>. The brief was to create a little simple flash game that could be played through the opera browser on the Wii console. It was for a company called <a href="http://www.sirtex.com/">Sirtex Medical Ltd</a>. and they wanted to create the game to highlight there medical technology in treating liver cancer with radiation.</p>
<p><img class="size-full wp-image-169  alignnone" style="border: 0pt none;" src="http://blog.chop.com.au/wp-content/uploads/game_03_800x472.jpg" alt="Sirtex Flash Game" width="650" height="384" /></p>
<p>The aim of the game was to kill off the cancerous tumors by injecting the proprietory Sirtex radiation spheres in the quickest time possible, using the Wii remote you needed to have find the right blood vessel and inject the radiation.</p>
<p>Responsible for the game development and helping with design it was a rather enjoyable little project, as it was educational in the process. The game is going to be the key part of their exhibition which is expected to be displayed at a number of medical expos in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chop.com.au/2010/05/freelance-at-white-agency/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP &#8211; having problems with getimagesize() when space in filename?</title>
		<link>http://blog.chop.com.au/2010/04/php-having-problems-with-getimagesize-when-space-in-filename/</link>
		<comments>http://blog.chop.com.au/2010/04/php-having-problems-with-getimagesize-when-space-in-filename/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 08:09:22 +0000</pubDate>
		<dc:creator>chop</dc:creator>
				<category><![CDATA[Code Snippet]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.chop.com.au/?p=157</guid>
		<description><![CDATA[Some images containing spces in the file name led me to some errors when trying to determine their image size for manipulation using PHP.
Simply url encoding the string fixed this problem.
 
 &#60;?php
  $imagePath = &#34;some funky filename.jpg&#34;;
  $imagePath = str_replace(&#34; &#34;,&#34;%20&#34;,$imagePath);
  list($imgwidth,$imgheight) = getimagesize($imagePath);
?&#62;


]]></description>
			<content:encoded><![CDATA[<p>Some images containing spces in the file name led me to some errors when trying to determine their image size for manipulation using PHP.</p>
<p>Simply url encoding the string fixed this problem.<br />
 </p>
<pre class="brush: php;"> &lt;?php
  $imagePath = &quot;some funky filename.jpg&quot;;
  $imagePath = str_replace(&quot; &quot;,&quot;%20&quot;,$imagePath);
  list($imgwidth,$imgheight) = getimagesize($imagePath);
?&gt;
</pre>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.chop.com.au/2010/04/php-having-problems-with-getimagesize-when-space-in-filename/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Snippet &#8211; GetFileContents and save PDF</title>
		<link>http://blog.chop.com.au/2010/04/php-snippet-getfilecontents-save-output/</link>
		<comments>http://blog.chop.com.au/2010/04/php-snippet-getfilecontents-save-output/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 03:51:28 +0000</pubDate>
		<dc:creator>chop</dc:creator>
				<category><![CDATA[Code Snippet]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.chop.com.au/?p=152</guid>
		<description><![CDATA[I needed to be able to access a pdf outside my document root&#8230; so I created the script below. Using just file_get_contents with an echo would just save it as the name of the script, using an $output_file variable and in the header you are able to specify what you want to save it as.


&#60;?php
$output_file [...]]]></description>
			<content:encoded><![CDATA[<p>I needed to be able to access a pdf outside my document root&#8230; so I created the script below. Using just file_get_contents with an echo would just save it as the name of the script, using an $output_file variable and in the header you are able to specify what you want to save it as.</p>
<pre class="brush: php;">

&lt;?php
$output_file = 'outfilename.pdf';
$file = &quot;target.pdf&quot;;
$fileDir = '../target/directory/';
$contents = file_get_contents($fileDir.$file);
header(&quot;Content-Disposition: attachment; filename=&quot; . $output_file);
header('Content-type: application/pdf');
echo $contents;
exit();
?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.chop.com.au/2010/04/php-snippet-getfilecontents-save-output/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>State Library of NSW 100 exhibiton Kiosk App</title>
		<link>http://blog.chop.com.au/2010/03/state-library-of-nsw-100-exhibiton-kiosk-app/</link>
		<comments>http://blog.chop.com.au/2010/03/state-library-of-nsw-100-exhibiton-kiosk-app/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 07:15:10 +0000</pubDate>
		<dc:creator>chop</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Freelance]]></category>
		<category><![CDATA[Graphic Design]]></category>
		<category><![CDATA[100 exhibiton]]></category>
		<category><![CDATA[flash app]]></category>
		<category><![CDATA[kiosk]]></category>
		<category><![CDATA[state library of nsw]]></category>

		<guid isPermaLink="false">http://blog.chop.com.au/?p=149</guid>
		<description><![CDATA[I&#8217;ve just finished the design and development of a flash based kiosk app for the State Library of NSW 100 Exhibiton. Originally I was contacted by Mental Media to do the job.
The app was fairly straight forward in process, providing the public the ability to vote on their favourite exhibiton item, view favourtie exhibiton item, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just finished the design and development of a flash based kiosk app for the <a href="http://www.onehundred.sl.nsw.gov.au/">State Library of NSW 100 Exhibiton</a>. Originally I was contacted by <a href="http://www.mentalmedia.com.au" target="_blank">Mental Media</a> to do the job.</p>
<p>The app was fairly straight forward in process, providing the public the ability to vote on their favourite exhibiton item, view favourtie exhibiton item, complete a survey and enter a draw.</p>
<p>All data is saved into a mySQL database and the library staff can access a admin page to download the various data as CSV files. I had some fun with PHP merging all the tables to provide a simple usable table for the non-technical staff.</p>
<p><img class="alignnone size-full wp-image-150" title="kiosk_onsite2" src="http://blog.chop.com.au/wp-content/uploads/kiosk_onsite2.jpg" alt="kiosk_onsite2" width="650" height="416" /></p>
<p>The app is running continuously for 100 days, so it was seriously important that there were no memory leaks. Flash and no memory leaks can be a time consuming effort&#8230;. At the end of the project I did encounter a memory anomaly where the memory seemed to jump 5MB every time an image was displayed on screen, although I was loading the images from memory. It turned out it was due to the fact I added a drop shadow to the image at runtime&#8230;. therefore flash somehow needed to reprocess that shadow area as a new image. This turned into a problem when I couldn&#8217;t access it, even by removing the filter, it still kept it in memory. Quick solution.. got rid of the drop shadow.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chop.com.au/2010/03/state-library-of-nsw-100-exhibiton-kiosk-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lego Technic 8290</title>
		<link>http://blog.chop.com.au/2010/03/lego-technic-8290/</link>
		<comments>http://blog.chop.com.au/2010/03/lego-technic-8290/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 23:02:43 +0000</pubDate>
		<dc:creator>chop</dc:creator>
				<category><![CDATA[3D]]></category>

		<guid isPermaLink="false">http://blog.chop.com.au/?p=146</guid>
		<description><![CDATA[This is a model I recently built in Maya. As I&#8217;m fairly new to Maya it took a couple of weeks (part time). Modelling Lego is very satisfying, and a good place to learn modelling techniques, it helps when you can use their instructions for reference&#8230; MUCH FUN!

]]></description>
			<content:encoded><![CDATA[<p>This is a model I recently built in Maya. As I&#8217;m fairly new to Maya it took a couple of weeks (part time). Modelling Lego is very satisfying, and a good place to learn modelling techniques, it helps when you can use their instructions for reference&#8230; MUCH FUN!</p>
<p><img class="alignnone size-full wp-image-147" title="lego_technic_8290" src="http://blog.chop.com.au/wp-content/uploads/lego_technic_8290.jpg" alt="lego_technic_8290" width="650" height="622" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chop.com.au/2010/03/lego-technic-8290/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
