<?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; Web Design</title>
	<atom:link href="http://www.francoisfaubert.com/category/web-design/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>The Implications of OpenID</title>
		<link>http://www.francoisfaubert.com/2007/09/25/the-implications-of-openid/</link>
		<comments>http://www.francoisfaubert.com/2007/09/25/the-implications-of-openid/#comments</comments>
		<pubDate>Tue, 25 Sep 2007 18:40:37 +0000</pubDate>
		<dc:creator>francoisfaubert</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[OpenID]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://fake.themusictank.com/2007/09/25/the-implications-of-openid/</guid>
		<description><![CDATA[Through Digg, I found a LifeHacker article explaining the good and bad sides of OpenID. While the article  in itself was an interesting read, a video Google Tech Talk titled &#8220;The Implications of OpenID&#8221; was posted alongside the text.
It&#8217;s the best, straight-to-the-point informational source I have stumbled upon, yet.
Oh and you should know that [...]]]></description>
			<content:encoded><![CDATA[<p>Through Digg, I found a <a href="http://lifehacker.com/software/technophilia/one-openid-to-rule-them-allor-not-302156.php">LifeHacker</a> article explaining the good and bad sides of OpenID. While the article  in itself was an interesting read, a video Google Tech Talk titled &#8220;The Implications of OpenID&#8221; was posted alongside the text.</p>
<p>It&#8217;s the best, straight-to-the-point informational source I have stumbled upon, yet.</p>
<p>Oh and you should know that I&#8217;ll be adding OpenID support to The Music Tank in the near future.</p>
<p><embed src="http://video.google.com/googleplayer.swf?docId=2288395847791059857&amp;hl=en" style="width: 400px; height: 326px" id="VideoPlayback" type="application/x-shockwave-flash"></embed></p>
]]></content:encoded>
			<wfw:commentRss>http://www.francoisfaubert.com/2007/09/25/the-implications-of-openid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learning through mimicry</title>
		<link>http://www.francoisfaubert.com/2007/09/24/learning-through-mimicry/</link>
		<comments>http://www.francoisfaubert.com/2007/09/24/learning-through-mimicry/#comments</comments>
		<pubDate>Mon, 24 Sep 2007 20:49:41 +0000</pubDate>
		<dc:creator>francoisfaubert</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[Learning]]></category>

		<guid isPermaLink="false">http://fake.themusictank.com/2007/09/24/learning-through-mimicry/</guid>
		<description><![CDATA[There are several web design projects I am actively working on at the moment. Some are for my real day job but many are personal endeavors I am likely not to finish. Nonetheless, these projects force me into solve interesting problems I knew someone else has already solved before me.
Why reinvent something when you can [...]]]></description>
			<content:encoded><![CDATA[<p>There are several web design projects I am actively working on at the moment. Some are for my real day job but many are personal endeavors I am likely not to finish. Nonetheless, these projects force me into solve interesting problems I knew someone else has already solved before me.</p>
<p><strong>Why reinvent something when you can just &#8220;view source&#8221;?</strong></p>
<p>By no means am I implying you should copy others like a scanning robot, but you should at least take a few seconds to try and understand the concept behind their solution.</p>
<p>This is a quick, rough list of the things I&#8217;ve learned;  especially by looking at Apple.com and Google Maps.</p>
<p><strong>CSS Browser validation</strong></p>
<p>If the programming language used permits it, you should have quick access to the surfer&#8217;s browser information as the page is loading. By cleaning this string, you can extract a rough approximation of the browser&#8217;s type and version.</p>
<p>Afterwards, if you attach this cleaner and shorter approximation as the &lt;body&gt; tag&#8217;s id, all of the children nodes can be modified and tweaked using basic CSS rules:</p>
<pre><code>p.box {width:200px; padding:10px;}
#explorer6  p.box { width:180px; }</code></pre>
<p>This should be remembered when you can&#8217;t use conditional comments to fix a rendering issue. You can push it by adding a unique identifier to the current page in the <code>class</code> to the &lt;body&gt; tag and continue filtering the rules further:</p>
<pre><code>form { background-color:#000;}
body.contact form { border:1px solid #333; }
body.register form { border:none;}</code></pre>
<p><strong>Customizing recurring styles </strong></p>
<p>When you have a global theme but each single page has a very different style for its content area, you can still use general styles and customize what you need at the lowest level.</p>
<p>For instance, column-based design is often used on webpages nowadays. You can define a reusable column set using these rules :</p>
<blockquote><p>.col_1_2 { float:left; width:60%;}<br />
.col_2_2 { float:left; width:40%;}</p></blockquote>
<p>With this is mind, you can build a widget or any sub-designed area with two columns. If this rules needs to change in only one page, you can override the rule to reflect new sizes using custom CSS identifiers.</p>
<p>It&#8217;s common sense and good use of CSS to try and sort out all the global widgets or recurring design types that way. On big projects using exhaustive imbrication of templates, using predefined global styles as building tools will really save you some time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.francoisfaubert.com/2007/09/24/learning-through-mimicry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yahoo! as Standard Makers</title>
		<link>http://www.francoisfaubert.com/2007/06/11/yahoo-as-standard-makers/</link>
		<comments>http://www.francoisfaubert.com/2007/06/11/yahoo-as-standard-makers/#comments</comments>
		<pubDate>Mon, 11 Jun 2007 18:41:28 +0000</pubDate>
		<dc:creator>francoisfaubert</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[XHTML]]></category>
		<category><![CDATA[Yahoo!]]></category>
		<category><![CDATA[YUI]]></category>

		<guid isPermaLink="false">http://fake.themusictank.com/2007/06/11/yahoo-as-standard-makers/</guid>
		<description><![CDATA[Long time indifference 
Yahoo! is not a place I like to hang around. I guess it has all to do with how they handled the presentation of their search results back in the day. I never was a fan of categorized results &#8212; at least wasn&#8217;t ready to try harder to use them at that [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Long time indifference </strong></p>
<p>Yahoo! is not a place I like to hang around. I guess it has all to do with how they handled the presentation of their search results back in the day. I never was a fan of categorized results &#8212; at least wasn&#8217;t ready to try harder to use them at that time.</p>
<p>So, for years I&#8217;ve been using AltaVista and then Google instead of Yahoo! search; Hotmail, then GMail instead of Yahoo! mail. Since I don&#8217;t like to be overrun with data, I don&#8217;t even read the news on their portal. The <a href="http://www.nytimes.com">NY Times</a>&#8216; and <a title="Radio-Canada" href="http://www.radio-canada.ca">Radio-Canada</a>&#8217;s RSS feeds suit me better.</p>
<p>In other words,  I am not part of the gazillions of people that help make Yahoo! the most important website on the Internet at the moment, according to Alexa. I didn&#8217;t have much of an opinion on Yahoo! until they got so useful for the web developer I am.</p>
<p><strong>YUI</strong></p>
<p><a href="http://developer.yahoo.com/">Yahoo! Developer Network</a> is a priceless resource for information on popular web technologies. What I&#8217;m more interested in however is the <a title="YUI" href="http://developer.yahoo.com/yui/">YUI</a> section &#8212; the Yahoo! User Interface Libary.</p>
<p><em>Javascript</em></p>
<p>YUI is said to be built around Yahoo!&#8217;s own Javascript library. Similar to jQuery and Prototype, the YUI library helps writing Javascript code that is more efficient more quickly. At the time of this writing, Yahoo!&#8217;s library has proven to work faster than its competitors when working on the DOM. A massive advantage on its competitors is its structured verbose that seems closer to more classic programming languages.</p>
<p>Notably, you can create namespaces for your scripts as well fire as custom events. Obviously, you  can create visual effects of custom controls for your interface using objects the community is developing. Broken down in many files, you can import only the libraries you need in your application from Yahoo!&#8217;s servers. No hassle in storing multiple version of the files.</p>
<p><em>Templates</em></p>
<p>The section supplies a collection of pre designed templates for anyone to use. Whether you need a 3 column fixed layout, or fluid 100% wide 5 columns templates, you will find the XHTML and CSS files in the YUI section completely free. Free as in no charge, but also free as in open source.</p>
<p><em>Cross-platform</em></p>
<p>Most importantly, the library is guaranteed to be working the same on any <a href="http://developer.yahoo.com/yui/articles/gbs/">Grade A</a> browser. Other libraries don&#8217;t always live up to that mention as the script gets more complicated. This guideline is to be followed religiously, no matter if you are using Yahoo! products or not. The chart provides great arguments when you need to justify your decision to you employer when asked to design for IE3.</p>
<p><strong>Standard Pipes</strong></p>
<p>While the tools themselves are incredibly useful and time saving, it&#8217;s not the best thing about the YUI. Through <a href="http://developer.yahoo.com/ypatterns/index.php">guidelines</a>, <a href="http://developer.yahoo.com/yui/theater/">tutorials</a> and free files, Yahoo! is lowering the pain of doing web design for people who don&#8217;t know about standards, don&#8217;t want to dig in or who just don&#8217;t care. If an important company like Yahoo! continues providing resources and using their influence in the developer&#8217;s community and the software makers building the browser, the Internet can standardize fairly quickly.</p>
<p>Yahoo! seems to be pushing towards a better Internet and the same cannot be said of everyone in the top-most influential websites.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.francoisfaubert.com/2007/06/11/yahoo-as-standard-makers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Page encoding can stop the PHP parser</title>
		<link>http://www.francoisfaubert.com/2006/11/23/page-encoding-can-stop-the-php-parser/</link>
		<comments>http://www.francoisfaubert.com/2006/11/23/page-encoding-can-stop-the-php-parser/#comments</comments>
		<pubDate>Thu, 23 Nov 2006 15:54:23 +0000</pubDate>
		<dc:creator>francoisfaubert</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[The Music Tank]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Server Error]]></category>
		<category><![CDATA[Time Loss]]></category>

		<guid isPermaLink="false">http://fake.themusictank.com/2006/11/23/page-encoding-can-stop-the-php-parser/</guid>
		<description><![CDATA[The main PHP Class file of The Music Tank stopped loading altogether yesterday. After scanning lines after lines of code trying to guess what what generating an error I still hadn&#8217;t found the problem until late last night. 
What made it nebulous was that instead of having a message from PHP describing a known error [...]]]></description>
			<content:encoded><![CDATA[<p>The main PHP Class file of The Music Tank stopped loading altogether yesterday. After scanning lines after lines of code trying to guess what what generating an error I still hadn&#8217;t found the problem until late last night. </p>
<p>What made it nebulous was that instead of having a message from PHP describing a known error like &#8221; &#8216;)&#8217; expected on line 64 &#8220;, I was triggering an Internal Server Error on Apache when loading the website and the parser was outputting unicode garbage when I tried to load the class directly from the browser (instead of nothing at all because I don&#8217;t print data right from the class).</p>
<p>I have to admit I could have been a bit keener on the issue just by looking a the garbage the file was making. It turns out that my code editor, TextWrangler, had changed the encoding type of the file from UTF-8 to the Macintosh charset when I inserted the © character straight in the document without using it&#8217;s HTML counterpart <code>&amp;copy</code>.</p>
<p>The change of charset and/or the use of special characters in the source code stopped the PHP parser. I can&#8217;t explain why as I don&#8217;t have much access to the configuration files to my server&#8217;s PHP version nor do I know how PHP reads the .php files, but I think it was due to the use of multiple charsets in the same rendering call. For instance the main class was using the Mac charset while the subclasses it was importing used UTF-8 encoding.</p>
<p>The frustrating part is really how this whole deal was created out of laziness. Apple offers a wide selection of special characters by doing a [alt + most keys] combination. I thought I&#8217;d save some time by using their copyright sign instead of sticking with &amp;copy.</p>
<p>At least, this episode forced me into cleaning the quote quite a lot by splitting my pages into modules which reflect the content&#8217;s architecture. The Tank should show a light performance boost now. Very light though, hehehe.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.francoisfaubert.com/2006/11/23/page-encoding-can-stop-the-php-parser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accessibility Vs. The Real World</title>
		<link>http://www.francoisfaubert.com/2006/08/25/accessibility-vs-the-real-world/</link>
		<comments>http://www.francoisfaubert.com/2006/08/25/accessibility-vs-the-real-world/#comments</comments>
		<pubDate>Fri, 25 Aug 2006 16:02:52 +0000</pubDate>
		<dc:creator>francoisfaubert</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[XHTML]]></category>
		<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Real World]]></category>

		<guid isPermaLink="false">http://www.themusictank.com/fake/2006/08/25/accessibility-vs-the-real-world/</guid>
		<description><![CDATA[Jeff Croft, not afraid of being lynched by the new wave of accessibility-aware Web 2.0 designers, has posted a new article asking if accessibilty has been taken too far.
While I&#8217;m guessing his opinion may have been toned down on the way from his head to his hands, I do believe he has a point. To [...]]]></description>
			<content:encoded><![CDATA[<p>Jeff Croft, not afraid of being lynched by the new wave of accessibility-aware Web 2.0 designers, has posted a new article asking if <a href="http://www2.jeffcroft.com/2006/aug/21/has-accessibility-been-taken-too-far/">accessibilty has been taken too far</a>.</p>
<p>While I&#8217;m guessing his opinion may have been toned down on the way from his head to his hands, I do believe he has a point. To paraphrase and sum his opinion: &#8220;Accessibility is cool and all because it&#8217;s bad to ignore people with disabilities, but you can&#8217;t expect a company to spend all their web design budget for 0.5% of their customers. Therefore, some site aren&#8217;t 100% accessible on purpose.&#8221;</p>
<p>And it&#8217;s true. In real life, my employer gives me, say, 4 days to finish a website. It&#8217;s good enough if I can be satisfied with the semantics of things in that period of time. Odds are I won&#8217;t have any time left to make separate style sheets with high-contrast colors, one with big text, etc.</p>
<p>All can agree that it&#8217;s a good thing that there&#8217;s a lot more awareness around the accessibility of online content at the moment. </p>
<p>However, just like in any trend, it&#8217;s all too easy to pick on those who don&#8217;t follow it, never considering all the reasons for them not doing so.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.francoisfaubert.com/2006/08/25/accessibility-vs-the-real-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today&#8217;s links</title>
		<link>http://www.francoisfaubert.com/2006/08/14/todays-links/</link>
		<comments>http://www.francoisfaubert.com/2006/08/14/todays-links/#comments</comments>
		<pubDate>Mon, 14 Aug 2006 13:59:19 +0000</pubDate>
		<dc:creator>francoisfaubert</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[A List Apart]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Optimize Images]]></category>
		<category><![CDATA[Typography]]></category>

		<guid isPermaLink="false">http://www.themusictank.com/fake/2006/08/14/todays-links/</guid>
		<description><![CDATA[Here are a the few links that caught my attention this morning:

Mark Simonson published his first article on typography on his blog.
A List Apart has been updated with issue #221.
in obscuro posted a tutorial entitled Optimizing images for web which is worth reading if you use Photoshop or if you&#8217;d like to understand a few [...]]]></description>
			<content:encoded><![CDATA[<p>Here are a the few links that caught my attention this morning:</p>
<ul>
<li>Mark Simonson published <a href="http://www.marksimonson.com/article/156/lets-talk-type-1977">his first article on typography</a> on his blog.</li>
<li><a href="http://www.alistapart.com/">A List Apart</a> has been updated with issue #221.</li>
<li>in obscuro posted a tutorial entitled <a href="http://inobscuro.com/tutorials/read/35/">Optimizing images for web</a> which is worth reading if you use Photoshop or if you&#8217;d like to understand a few image compression concepts and lexicon.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.francoisfaubert.com/2006/08/14/todays-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>History of accessibility</title>
		<link>http://www.francoisfaubert.com/2006/04/26/history-of-accessibility/</link>
		<comments>http://www.francoisfaubert.com/2006/04/26/history-of-accessibility/#comments</comments>
		<pubDate>Wed, 26 Apr 2006 13:48:37 +0000</pubDate>
		<dc:creator>francoisfaubert</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.themusictank.com/fake/2006/04/26/history-of-accessibility/</guid>
		<description><![CDATA[A lot of people at the moment are doing websites that follow the Strict XHTML 1.1 guidelines but don&#8217;t even know why they do so or why they should do so. Juicy Studio published an article on the history of accessibility because knowing we&#8217;re you&#8217;ve been can tell you a lot on were you&#8217;re going.
]]></description>
			<content:encoded><![CDATA[<p>A lot of people at the moment are doing websites that follow the Strict XHTML 1.1 guidelines but don&#8217;t even know why they do so or why they should do so. <a href="http://juicystudio.com/article/journey-through-accessibility.php">Juicy Studio published an article</a> on the history of accessibility because knowing we&#8217;re you&#8217;ve been can tell you a lot on were you&#8217;re going.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.francoisfaubert.com/2006/04/26/history-of-accessibility/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing the dotted border around links</title>
		<link>http://www.francoisfaubert.com/2006/04/21/removing-the-dotted-border-around-links/</link>
		<comments>http://www.francoisfaubert.com/2006/04/21/removing-the-dotted-border-around-links/#comments</comments>
		<pubDate>Fri, 21 Apr 2006 13:16:59 +0000</pubDate>
		<dc:creator>francoisfaubert</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[CSS Tricks]]></category>

		<guid isPermaLink="false">http://www.themusictank.com/fake/2006/04/21/removing-the-dotted-border-around-links/</guid>
		<description><![CDATA[Did you know you could remove the dotted border around your links? I didn&#8217;t. You just have to specify the outline CSS property. You can read a more in-depth explanation at Sonspring.
a { outline: none; }
]]></description>
			<content:encoded><![CDATA[<p>Did you know you could remove the dotted border around your links? I didn&#8217;t. You just have to specify the <em>outline</em> CSS property. You can read a more in-depth explanation at <a href="http://sonspring.com/journal/removing-dotted-links">Sonspring</a>.</p>
<pre><code>a { outline: none; }</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.francoisfaubert.com/2006/04/21/removing-the-dotted-border-around-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Soooo&#8230; AJAX really does save bandwidth&#8230;</title>
		<link>http://www.francoisfaubert.com/2006/02/17/soooo-ajax-really-does-save-bandwidth/</link>
		<comments>http://www.francoisfaubert.com/2006/02/17/soooo-ajax-really-does-save-bandwidth/#comments</comments>
		<pubDate>Fri, 17 Feb 2006 14:58:48 +0000</pubDate>
		<dc:creator>francoisfaubert</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Bandwidth]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www.themusictank.com/fake/2006/02/17/soooo-ajax-really-does-save-bandwidth/</guid>
		<description><![CDATA[It&#8217;s quite obvious that not having to load a page countless times will save you bandwidth. Even I was aware of that. It&#8217;s just nice to see people making concrete tests to prove the concept. 
Keep in mind however that this is not the best case scenario for rendering all of a website&#8217;s content because [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s quite obvious that not having to load a page countless times will save you bandwidth. Even <em>I</em> was aware of that. It&#8217;s just nice to <a href="http://webperformanceinc.com/library/reports/AjaxBandwidth/index.html">see people making concrete tests</a> to prove the concept. </p>
<p>Keep in mind however that this is not the best case scenario for rendering all of a website&#8217;s content because of the infamous back button problem.</p>
<p>By using AJAX to update the HTML content of an html template, these guys managed to save more than 60% of the necessary bandwidth using traditional methods.</p>
<p>Now someone on the web only needs to make the same types of benchmarks from the database&#8217;s perspective and I&#8217;d be really happy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.francoisfaubert.com/2006/02/17/soooo-ajax-really-does-save-bandwidth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eureka Follow up</title>
		<link>http://www.francoisfaubert.com/2006/02/07/eureka-follow-up/</link>
		<comments>http://www.francoisfaubert.com/2006/02/07/eureka-follow-up/#comments</comments>
		<pubDate>Tue, 07 Feb 2006 16:38:19 +0000</pubDate>
		<dc:creator>francoisfaubert</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Actionscript 2]]></category>
		<category><![CDATA[Event Delegation]]></category>
		<category><![CDATA[OOP]]></category>

		<guid isPermaLink="false">http://themusictank.com/fake/?p=12</guid>
		<description><![CDATA[The use of a static method to delegate events in Flash is one of the easiest ways of associating functions to an event.]]></description>
			<content:encoded><![CDATA[<p>As I mentioned in my last post, the Delegate class is quite useful even if I couldn&#8217;t pass parameters as easily as I would have wanted. While looking around today, I stumbled on <a href="http://www.person13.com/articles/proxy/Proxy.htm">this method</a> which also makes things much easier. I don&#8217;t like how it&#8217;s written because of the in-line functions, but it really does solve the problem. Here&#8217;s the code, which I took the liberty to customize a little bit:</p>
<pre><code>class Utils {
// Desc		:	Usually, when you attach a function to an event, you can't pass
//			parameters, using this function instead of the Delegate class
//			will allow you to do the same thing but with unlimitted parameters
// 			Window: General Information.
// 			http://www.person13.com/articles/proxy/Proxy.htm
public static function delegateEvent(oTarget:Object, fFunction:Function):Function {
    // Create an array of the extra parameters passed to the method. Loop
    // through every element of the arguments array starting with index 2,
    // and add the element to the aParameters array.
    var aParameters:Array = new Array();
    for(var i:Number = 2; i &lt; arguments.length; i++) {
        aParameters[i - 2] = arguments[i];
    }
    // Create a new function that will be the proxy function.
    var fProxy:Function = function():Void {
        var aActualParameters:Array = arguments.concat(aParameters);
        fFunction.apply(oTarget, aActualParameters);
    };
    return fProxy;
}</code></pre>
<p>And you can call it like this:</p>
<pre><code>private function someFunction():Void {
    this._xml.onLoad = Utils.delegateEvent(this, xml_onLoad, "GeneralInformation");
}

private function xml_onLoad(success:Boolean, nextStep:String):Void {
    if(success)
    // Get the contents of xml
    switch (nextStep) {
        case "GeneralInformation" :
            this.open_GeneralInformation(); break;
    //etc...
    }
}</code></pre>
<p>This was a huge time savor and suits how I like to write code.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.francoisfaubert.com/2006/02/07/eureka-follow-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
