<?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>Francois Faubert &#187; Tile Game</title>
	<atom:link href="http://www.francoisfaubert.com/tag/tile-game/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.francoisfaubert.com</link>
	<description></description>
	<lastBuildDate>Tue, 08 Sep 2009 19:00:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>1 step forward, 2 steps back</title>
		<link>http://www.francoisfaubert.com/2006/08/01/1-step-forward-2-steps-back/</link>
		<comments>http://www.francoisfaubert.com/2006/08/01/1-step-forward-2-steps-back/#comments</comments>
		<pubDate>Tue, 01 Aug 2006 18:33:25 +0000</pubDate>
		<dc:creator>francoisfaubert</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Local file]]></category>
		<category><![CDATA[Tile Game]]></category>

		<guid isPermaLink="false">http://www.themusictank.com/fake/2006/08/01/1-step-forward-2-steps-back/</guid>
		<description><![CDATA[Once more I trip on the flowers of the carpet. To easy my game making, it was necessary to build a Flash application that would make the process of drawing my maps a visual process. That idea worked pretty well, especially because Flash supplies competent User Interface objects I wouldn&#8217;t have to make myself.
A problem [...]]]></description>
			<content:encoded><![CDATA[<p>Once more I trip on the flowers of the carpet. To easy my game making, it was necessary to build a Flash application that would make the process of drawing my maps a visual process. That idea worked pretty well, especially because Flash supplies competent User Interface objects I wouldn&#8217;t have to make myself.</p>
<p>A problem came up however. I needed to loop through a specified local folder recursively in order to load the *.gifs, *.pngs and whatnot in the local file structure. Flash 8 has added file management support with the <a href="http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;file=00002204.html#234413">FileReference</a> class. It&#8217;s neat browse() function mimics HTML&#8217;s file input to pop the file browsing dialog. There were two problems with this class:</p>
<ul>
<li>I couldn&#8217;t select a directory;</li>
<li>I couldn&#8217;t select multiple files.</li>
</ul>
<p>Screwed aren&#8217;t we? I&#8217;ve also learned you could browse through local files using an ActiveX valid only for IE which is completely useless. All other solutions involve fetching the files using server-side scripting like PHP or ASP which no one have installed on their desktop anyway (if you do have one of these installed, then you are official a nerd).</p>
<p>So, desperate but not without motivation, I&#8217;ve downloaded Mac&#8217;s software development package in hopes of building it on that platform. We&#8217;ll see how it goes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.francoisfaubert.com/2006/08/01/1-step-forward-2-steps-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
