<?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>Gepatto Blog &#187; Personal</title>
	<atom:link href="http://blog.gepatto.nl/category/Personal/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.gepatto.nl</link>
	<description>Who needs a tagline anyway?</description>
	<lastBuildDate>Mon, 17 May 2010 13:34:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Xcode Duplicate line</title>
		<link>http://blog.gepatto.nl/2010/05/17/xcode-duplicate-line/</link>
		<comments>http://blog.gepatto.nl/2010/05/17/xcode-duplicate-line/#comments</comments>
		<pubDate>Mon, 17 May 2010 13:28:01 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[LifeSavers]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://blog.gepatto.nl/?p=240</guid>
		<description><![CDATA[So I have started working in xcode, and the first thing I was missing was some key bindings for duplicating a line up or down like eclipse does. I took a while to figure out how to do it. So here&#8217;s an explanation. (I&#8217;m using xcode 3.2) Make a duplicate of the xcode keybindings set [...]]]></description>
			<content:encoded><![CDATA[<p>So I have started working in xcode, and the first thing I was missing was some key bindings for duplicating a line up or down like eclipse does.<br />
I took a while to figure out how to do it. So here&#8217;s an explanation. (I&#8217;m using xcode 3.2)<br />
<strong>Make a duplicate of the xcode keybinding</strong>s set in the xcode preferences: (i named mine patrick <img src='http://blog.gepatto.nl/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><a href="http://blog.gepatto.nl/wp-content/uploads/2010/05/xcodepref.png" rel="shadowbox[post-240];player=img;"><img class="alignnone size-full wp-image-241" title="xcode preferences" src="http://blog.gepatto.nl/wp-content/uploads/2010/05/xcodepref.png" alt="" width="790" height="398" /></a></p>
<p><strong><br />
Close xcode</strong></p>
<p>You should be able to find the file xode created in<br />
<code>/Users/YOURUSERNAME/Library/Application Support/Xcode/Key Bindings</code><br />
for me it is called Patrick.pbxkeys</p>
<p><strong>Edit this file with the property editor.</strong><br />
From the view menu select :<br />
<code>Show Strings as Non-lossy ASCII</code></p>
<p><a href="http://blog.gepatto.nl/wp-content/uploads/2010/05/showasnonlossyascii.png" rel="shadowbox[post-240];player=img;"><img class="alignnone size-full wp-image-242" title="show strings as non-lossy ascii" src="http://blog.gepatto.nl/wp-content/uploads/2010/05/showasnonlossyascii.png" alt="" width="269" height="100" /></a></p>
<p>Add 2 children as follows<br />
<a href="http://blog.gepatto.nl/wp-content/uploads/2010/05/proplistedit.png" rel="shadowbox[post-240];player=img;"><img class="alignnone size-full wp-image-243" title="property list editor" src="http://blog.gepatto.nl/wp-content/uploads/2010/05/proplistedit.png" alt="" width="631" height="277" /></a></p>
<p><strong>Save, and open up xcode</strong></p>
<p><strong>ctrl+shift+uparrow</strong> should now duplicate the current line upwards<br />
<strong>ctrl+shift+downarrow</strong> should now duplicate the current line downwards</p>
<h2><span style="color: #339966;"><strong>happy coding</strong></span></h2>
]]></content:encoded>
			<wfw:commentRss>http://blog.gepatto.nl/2010/05/17/xcode-duplicate-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Smile, Cheese, Look at the birdie.</title>
		<link>http://blog.gepatto.nl/2010/05/15/smile-cheese-look-at-the-birdie/</link>
		<comments>http://blog.gepatto.nl/2010/05/15/smile-cheese-look-at-the-birdie/#comments</comments>
		<pubDate>Sat, 15 May 2010 21:35:38 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://blog.gepatto.nl/?p=237</guid>
		<description><![CDATA[I did a small openframeworks experiment today. I was building a diy remote for my canon 400d, which is really easy to make. I then thought; hey why not connect it to my mac through an arduino. I took the example from the ardx kit :  circuit 11 using a simple a 5v relay. removed [...]]]></description>
			<content:encoded><![CDATA[<p>I did a small openframeworks experiment today.<br />
I was building a diy remote for my canon 400d, which is really <a href="http://www.doc-diy.net/photo/eos_wired_remote/" target="_blank">easy to make.</a><br />
I then thought; hey why not connect it to my mac through an arduino.<br />
I took the example from the <a href="http://oomlout.com/a/products/ardx/" target="_blank">ardx kit</a> : <a href="http://tinyurl.com/cxpvgq" target="_blank"> circuit 11</a> using a simple a 5v relay.<br />
removed the 5v from the COM pin (see pdf) on the relay and attached the ground line coming from the camera.<br />
and attached the shutter line to the NO-pin (see pdf).</p>
<p><a href="http://blog.gepatto.nl/wp-content/uploads/2010/05/IMG_2738-2.jpg" rel="shadowbox[post-237];player=img;"><img class="alignnone  size-medium wp-image-238" title="5v relay triggered bij digital out 2" src="http://blog.gepatto.nl/wp-content/uploads/2010/05/IMG_2738-2-300x199.jpg" alt="" width="300" height="199" /></a></p>
<p>I the wrote a simple sketch in Arduino:<br />
Waiting for the character s on the serial-in and then setting pin 2 to HIGH for 1250 milliseconds, enough for the camera to focus<br />
even when using the flash.</p>
<div class="wp_syntax">
<div class="code">
<pre class="cpp" style="font-family:monospace;"><span style="color: #0000ff;">int</span> outPin <span style="color: #000080;">=</span>  <span style="color: #0000dd;">2</span><span style="color: #008080;">;</span>
&nbsp;
<span style="color: #0000ff;">void</span> setup<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#123;</span>
Serial.<span style="color: #007788;">begin</span><span style="color: #008000;">&#40;</span><span style="color: #0000dd;">57600</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
pinMode<span style="color: #008000;">&#40;</span>outPin, OUTPUT<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
<span style="color: #008000;">&#125;</span>
&nbsp;
<span style="color: #0000ff;">void</span> loop<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#123;</span>
checkSerialInput<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
<span style="color: #008000;">&#125;</span>
&nbsp;
<span style="color: #0000ff;">void</span> checkSerialInput<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#123;</span>
<span style="color: #0000ff;">if</span> <span style="color: #008000;">&#40;</span>Serial.<span style="color: #007788;">available</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span> <span style="color: #000040;">&amp;</span>gt<span style="color: #008080;">;</span> <span style="color: #0000dd;">0</span><span style="color: #008000;">&#41;</span> <span style="color: #008000;">&#123;</span>
<span style="color: #666666;">// get incoming character:</span>
<span style="color: #0000ff;">char</span> serialChar <span style="color: #000080;">=</span> Serial.<span style="color: #007788;">read</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
&nbsp;
<span style="color: #0000ff;">if</span> <span style="color: #008000;">&#40;</span>serialChar <span style="color: #000080;">==</span> <span style="color: #FF0000;">'s'</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#123;</span>
<span style="color: #666666;">//shutter</span>
digitalWrite<span style="color: #008000;">&#40;</span>outPin, HIGH<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
delay<span style="color: #008000;">&#40;</span><span style="color: #0000dd;">1250</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
digitalWrite<span style="color: #008000;">&#40;</span>outPin, LOW<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
<span style="color: #008000;">&#125;</span>
<span style="color: #008000;">&#125;</span>
<span style="color: #008000;">&#125;</span></pre>
</div>
</div>
<p>I then figured that it would be nice if I could take the picture if I smiled at the camera.<br />
Since I can&#8217;t loop the image from the eos 400d back into my mac, I used the webcam instead.</p>
<p>I found that someone else had already done &#8220;smile&#8221; recognition<a href="http://vimeo.com/10356980" target="_blank"> in openframeworks using opencv.</a><br />
I just needed to add some lines to set up the arduino and write an &#8216;s&#8217; to the serial port. And presto.<br />
Smiling at the webcam took my picture.</p>
<p>Here&#8217;s the xcode project:<br />
<a href="http://blog.gepatto.nl/files/SmileAndClick.zip" target="_blank">SmileAndClick</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gepatto.nl/2010/05/15/smile-cheese-look-at-the-birdie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Whoohoo</title>
		<link>http://blog.gepatto.nl/2009/09/25/whoohoo/</link>
		<comments>http://blog.gepatto.nl/2009/09/25/whoohoo/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 09:49:57 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://blog.gepatto.nl/?p=200</guid>
		<description><![CDATA[Whoohoo Raw microphone access in Air 2.0 http://theflashblog.com/?p=1426]]></description>
			<content:encoded><![CDATA[<h1>Whoohoo</h1>
<p>Raw microphone access in Air 2.0</p>
<p><a href="http://theflashblog.com/?p=1426" target="_blank">http://theflashblog.com/?p=1426</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gepatto.nl/2009/09/25/whoohoo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash now talking to breadboard prototype</title>
		<link>http://blog.gepatto.nl/2009/07/29/flash-now-talking-to-breadboard-prototype/</link>
		<comments>http://blog.gepatto.nl/2009/07/29/flash-now-talking-to-breadboard-prototype/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 14:21:04 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Combining Technologies]]></category>
		<category><![CDATA[Flash & More]]></category>
		<category><![CDATA[Merapi]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[ukulele]]></category>

		<guid isPermaLink="false">http://blog.gepatto.nl/?p=172</guid>
		<description><![CDATA[The Guys from Merapi pointed me towards their AS3-only branch on SVN. It took me while the get my test running, mainly because I forgot to use the registerClassAlias function in flash, which ended up in Java not recognizing my messages. After a succesful test, I quickly hacked a swf-module that could be loaded into [...]]]></description>
			<content:encoded><![CDATA[<p>The Guys from Merapi pointed me towards their AS3-only branch on SVN.<br />
It took me while the get my test running, mainly because I forgot to use the registerClassAlias function in flash, which ended up in Java not recognizing my messages.</p>
<p>After a succesful test, I quickly hacked a swf-module that could be loaded into version 2 of the Ukulele Chord Finder ( version 1 can be found at <a title="Ukulele ChordFinder" href="http://www.ukulele.nl" target="_blank">http://www.ukulele.nl </a>) that we have under development.<br />
So now we can talk to Merapi Straight from the browser.</p>
<p>I also managed to turn the Java Side of the Merapi-Bridge into a Mac application.<br />
So here&#8217;s a video of the things I made.</p>
<p>[See post to watch Flash video]</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gepatto.nl/2009/07/29/flash-now-talking-to-breadboard-prototype/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>prototyping of ukulele arduino and merapi started</title>
		<link>http://blog.gepatto.nl/2009/07/13/prototyping-of-ukulele-arduino-and-merapi-started/</link>
		<comments>http://blog.gepatto.nl/2009/07/13/prototyping-of-ukulele-arduino-and-merapi-started/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 11:48:51 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://blog.gepatto.nl/?p=157</guid>
		<description><![CDATA[I Just started to prototype the ledUkulele. I got myself a max7221 IC and hooked it up to the arduino board. I&#8217;m now thinking of good way to wire the 4*16 matrix basically a 8&#215;8 matrix but the physical postion of the odd rows is behind the even rows. Designing this matrix on a breadboard [...]]]></description>
			<content:encoded><![CDATA[<p>I Just started to prototype the ledUkulele.</p>
<p>I got myself a max7221 IC and hooked it up to the arduino board.<br />
I&#8217;m now thinking of good way to wire the 4*16 matrix<br />
basically a 8&#215;8 matrix but the physical postion of the odd rows is behind the even rows.<br />
Designing this matrix on a breadboard sucks (too many wires), so I need to come up with a better way without soldering.  (suggestions welcome)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gepatto.nl/2009/07/13/prototyping-of-ukulele-arduino-and-merapi-started/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thoughts about my next experiment, ukulele arduino and merapi</title>
		<link>http://blog.gepatto.nl/2009/05/27/thoughts-about-my-next-experiment-ukulele-arduino-and-merapi/</link>
		<comments>http://blog.gepatto.nl/2009/05/27/thoughts-about-my-next-experiment-ukulele-arduino-and-merapi/#comments</comments>
		<pubDate>Wed, 27 May 2009 16:53:20 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://blog.gepatto.nl/?p=143</guid>
		<description><![CDATA[I&#8217;m thinking about a new experiment. Here&#8217;s the thing, I love playing Ukulele. Once a Month we organize a playalong. There are people who never played an instrument before and others that are regulars. Together with my Friend Marcel, creator of ukulele.nl has made a really nice chordfinder I will be making a version 2. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m thinking about a new experiment.<br />
Here&#8217;s the thing, I love playing Ukulele. Once a Month we organize a playalong.<br />
There are people who never played an instrument before and others that are regulars.<br />
Together with my Friend Marcel, creator of <a href="http://www.ukulele.nl" target="_blank">ukulele.nl has made a really nice chordfinder</a><br />
I will be making a version 2.</p>
<p>Here&#8217;s the though: what if ?:<br />
I could build a Ukulele that shows the fingering of the chords ON THE UKULELE!<br />
And even have it sync to the chords shown on screen?</p>
<p>What do you think, wouldn&#8217;t this be a cool Merpai/Arduino/Ukulele project?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gepatto.nl/2009/05/27/thoughts-about-my-next-experiment-ukulele-arduino-and-merapi/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Merapi now open source, converted arduino experiment</title>
		<link>http://blog.gepatto.nl/2009/05/25/merpai-now-open-source-converted-arduino-experiment/</link>
		<comments>http://blog.gepatto.nl/2009/05/25/merpai-now-open-source-converted-arduino-experiment/#comments</comments>
		<pubDate>Mon, 25 May 2009 14:36:35 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[Combining Technologies]]></category>
		<category><![CDATA[Flash & More]]></category>
		<category><![CDATA[Other]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[arduino merapi]]></category>

		<guid isPermaLink="false">http://blog.gepatto.nl/?p=121</guid>
		<description><![CDATA[At Flex360 The Merapi-project went open-source. So I decided to convert the LivingColors Experiment back from a server client model (Wowza + flash client) back to a single machine setup. So I got an arduino-board and custom shield, a java-application that connects to the serial port on one side and to an Air-app on the [...]]]></description>
			<content:encoded><![CDATA[<p>At Flex360 The Merapi-project went open-source.<br />
So I decided to convert the LivingColors Experiment back from a server client model (Wowza + flash client) back to a single machine setup.</p>
<p>So I got an arduino-board and custom shield, a java-application that connects to the serial port on one side and to an Air-app on the other via the Merapi Bridge. The Air app gets an average color from the center of a webcam image and sends it to the java, which in turn sends the number (color) to the serial port. That&#8217;s all.</p>
<p>I do need to tweak some stuff, so that there&#8217;s less jitter.</p>
<p><strong><span style="color: #800080;">[update]</span></strong><br />
More on the Arduino &#8211; Livingcolors shield can be found <a href="http://www.knutsel.org/nl/2009/02/01/assembleren-van-het-cc2500-arduino-shield/" target="_blank">here : http://static.knutsel.org/kits/CC2500_Arduino_Shield_v03/</a> (in Dutch).</p>
<p><a class="lightwindow page-options" href="http://blog.gepatto.nl/wp-content/uploads/2009/05/merapi_webcam_livingcolors.png" rel="shadowbox[post-121];player=img;"><img class="alignnone size-medium wp-image-122" title="merapi_webcam_livingcolors" src="http://blog.gepatto.nl/wp-content/uploads/2009/05/merapi_webcam_livingcolors-300x159.png" alt="merapi_webcam_livingcolors" width="300" height="159" /></a></p>
<p>[See post to watch Flash video]</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gepatto.nl/2009/05/25/merpai-now-open-source-converted-arduino-experiment/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
<enclosure url="http://blog.gepatto.nl/wp-content/uploads/2009/05/merapi-living-colors.mov" length="2645410" type="video/quicktime" />
		</item>
		<item>
		<title>Working on new Arduino Experiment</title>
		<link>http://blog.gepatto.nl/2009/04/05/working-on-new-arduino-experiment/</link>
		<comments>http://blog.gepatto.nl/2009/04/05/working-on-new-arduino-experiment/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 21:41:16 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Flash Arduino Shield]]></category>

		<guid isPermaLink="false">http://blog.gepatto.nl/2009/04/05/working-on-new-arduino-experiment/</guid>
		<description><![CDATA[I&#8217;m working on a new Arduino experiment. My friend Ivo Noorhof made a new arduino shield. I&#8217;m hacking together some Flash-Arduino interaction for this shield. I will &#8220;Shed More Light&#8221; (wink wink) on the subject soon.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m working on a new Arduino experiment.<br />
My friend Ivo Noorhof made a new arduino shield.<br />
I&#8217;m hacking together some Flash-Arduino interaction for this shield.<br />
I will &#8220;<strong>Shed More Light</strong>&#8221; (wink wink) on the subject soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gepatto.nl/2009/04/05/working-on-new-arduino-experiment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Context Menu doesn&#8217;t fire events when clicked on Video Object</title>
		<link>http://blog.gepatto.nl/2008/02/27/context-menu-doesnt-fire-events-when-clicked-on-video-object/</link>
		<comments>http://blog.gepatto.nl/2008/02/27/context-menu-doesnt-fire-events-when-clicked-on-video-object/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 22:38:06 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://blog.gepatto.nl/2008/02/27/context-menu-doesnt-fire-events-when-clicked-on-video-object/</guid>
		<description><![CDATA[Try this&#8230; Create a context menu, for instance to go fullscreen. Make sure it works. Now add a Video Object, attach a cam (or play  an flv&#8211; more work and right click on the video object to show the contextmenu&#8230; now select fulscreen&#8230;. and nothing happens I can&#8217;t get this to work. It only fails [...]]]></description>
			<content:encoded><![CDATA[<p>Try this&#8230;</p>
<p>Create a context menu, for instance to go fullscreen.<br />
Make sure it works.</p>
<p>Now add a Video Object, attach a cam (or play  an flv&#8211; more work <img src='http://blog.gepatto.nl/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
and right click on the video object to show the contextmenu&#8230;<br />
now select fulscreen&#8230;. and nothing happens</p>
<p>I can&#8217;t get this to work. It only fails if I rightclick on a videoobject..</p>
<p>Any thoughts?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gepatto.nl/2008/02/27/context-menu-doesnt-fire-events-when-clicked-on-video-object/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Flex builder 3 And Path to Main Class</title>
		<link>http://blog.gepatto.nl/2008/02/27/flex-builder-3-and-path-to-main-class/</link>
		<comments>http://blog.gepatto.nl/2008/02/27/flex-builder-3-and-path-to-main-class/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 22:24:00 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://blog.gepatto.nl/2008/02/27/flex-builder-3-and-path-to-main-class/</guid>
		<description><![CDATA[A lot of you may know that it&#8217;s nearly impossible to create an Actionscript Project in fexbuilder 3 Where the Main Class is in a subdir of the project dir (so that you can keep the Main Class in the same package as the rest of your files). Today, at Colin Moock&#8217;s AS3fromthegroundup session in [...]]]></description>
			<content:encoded><![CDATA[<p>A lot of you may know that it&#8217;s nearly impossible to create an Actionscript Project in fexbuilder 3 Where the Main Class is in a subdir of the project dir (so that you can keep the Main Class in the same package as the rest of your files).<br />
Today, at Colin Moock&#8217;s AS3fromthegroundup session in Amsterdam,  I confirmed that it is in fact possible in 2 ways.</p>
<table>
<tr>
<td>When you start a new project you can do the following:<br />
Before you do &#8220;New ActionScript Project&#8221;  create a folder structure where you will put your project somewhere in your workspace dir create a folder for your project.<br />
I like to add a &#8220;src&#8221; subdir as a sourcefolder so I can put this folder into subversion.<br />
next create a subdir for your package. So it might look something like this:<a href="http://blog.gepatto.nl/wp-content/uploads/2008/02/flexb3_classpaht_1.jpg" title="flexb3_classpaht_1.jpg" rel="shadowbox[post-49];player=img;"><img src="http://blog.gepatto.nl/wp-content/uploads/2008/02/flexb3_classpaht_1.thumbnail.jpg" alt="flexb3_classpaht_1.jpg" align="top" /></a></td>
</tr>
<tr>
<td>Then go to flexbuilder a create a  New ActionScript Project:<br />
using the folder we&#8217;ve created as the location and click Next<a href="http://blog.gepatto.nl/wp-content/uploads/2008/02/flexb3_classpath_2.jpg" title="flexb3_classpath_2.jpg" rel="shadowbox[post-49];player=img;"><img src="http://blog.gepatto.nl/wp-content/uploads/2008/02/flexb3_classpath_2.thumbnail.jpg" alt="flexb3_classpath_2.jpg" /></a></td>
</tr>
<tr>
<td>On the next screen make sure you&#8217;re pointing to the right source dir (src in my case)<br />
Now comes the tricky part If you try to locate the Main Application file using the Browse button,<br />
you won&#8217;t succeed. Just type in the correct path.. so:<br />
mypackage/TestMainclassPath.as<a href="http://blog.gepatto.nl/wp-content/uploads/2008/02/flexb3_classpath_3.jpg" title="flexb3_classpath_3.jpg" rel="shadowbox[post-49];player=img;"><img src="http://blog.gepatto.nl/wp-content/uploads/2008/02/flexb3_classpath_3.thumbnail.jpg" alt="flexb3_classpath_3.jpg" align="bottom" /></a></td>
</tr>
</table>
<p>The Second way is to create your Project as normal.<br />
Move your Main Class File to the correct (package) dir.<br />
Close Flexbuilder.<br />
Edit the .actionScriptProperties file in the ProjectDir<br />
and set the<br />
<application path="mypackage/TestMainclassPath.as"></application><br />
tag to the correct location.</p>
<p>Happy Coding,</p>
<p>Ow and Colin.. (and OReilly) thnx for the Prize.</p>
<blockquote><p>I&#8217;m a Doctor Jim, Not an Actionscript3 Programmer..</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.gepatto.nl/2008/02/27/flex-builder-3-and-path-to-main-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
