<?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>true false maybe &#187; Flex</title>
	<atom:link href="http://truefalsemaybe.com/category/flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://truefalsemaybe.com</link>
	<description>tom longson's blog on software, design, and user experience</description>
	<lastBuildDate>Mon, 21 Jun 2010 21:57:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>OSX Flex 3 SDK Installation</title>
		<link>http://truefalsemaybe.com/2008/10/osx-flex-3-sdk-installation/</link>
		<comments>http://truefalsemaybe.com/2008/10/osx-flex-3-sdk-installation/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 17:22:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Web Apps]]></category>
		<category><![CDATA[flex3]]></category>
		<category><![CDATA[flexsdk]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[quickstart]]></category>

		<guid isPermaLink="false">http://truefalsemaybe.com/?p=45</guid>
		<description><![CDATA[This is a quickstart guide for installing the OSX Flex SDK on your Mac. I adapted this from a video tutorial at learnhub. If you prefer to watch videos, go check it out. This is just a more straight forward guide to getting you up and running.
1. Download the SDK from http://www.adobe.com/products/flex/flexdownloads/
(click on the "I [...]]]></description>
			<content:encoded><![CDATA[<p>This is a quickstart guide for installing the OSX Flex SDK on your Mac. I adapted this from a video tutorial at <a href="http://learnhub.com/lesson/video/108-start-using-flex3-for-free">learnhub</a>. If you prefer to watch videos, go check it out. This is just a more straight forward guide to getting you up and running.</p>
<p>1. Download the SDK from http://www.adobe.com/products/flex/flexdownloads/</p>
<p>(click on the "I have read the Adobe Flex 3 SDK License" checkbox, and the download link will appear below)</p>
<p>2. Use stuffit expander / unzip to uncompress the archive.</p>
<p>3. Open the terminal (if not open already), and go to the folder where you uncompressed the archive to.</p>
<p>4. Type the following:</p>
<pre>sudo cp -r flex_sdk_3 /Developer/SDKs/</pre>
<p>5. Edit your ~/.bash_login to include the following line:</p>
<pre>export PATH="/Developer/SDKs/flex_sdk_3/bin:$PATH"/</pre>
<p>This will add the binaries to the path. If this file doesn't exist yet, go ahead and create one. Next, create a new terminal window to have the right binaries in your path.</p>
<p>6. Try it out. Create a file named "helloworld.mxml" and paste the following into it.</p>
<pre class="xml">&nbsp;
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span><span style="font-weight: bold; color: black;">?&gt;</span></span>
<span style="color: #009900;"><span style="color: #808080; font-style: italic;">&lt;!-- mxml\HellowWorld.mxml --&gt;</span></span>
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;mx:Application</span> <span style="color: #000066;">xmlns:mx</span>=<span style="color: #ff0000;">&quot;http://www.adobe.com/2006/mxml&quot;</span><span style="font-weight: bold; color: black;">&gt;</span></span>
    <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;mx:Panel</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;My Application&quot;</span>
        <span style="color: #000066;">paddingTop</span>=<span style="color: #ff0000;">&quot;10&quot;</span>
        <span style="color: #000066;">paddingBottom</span>=<span style="color: #ff0000;">&quot;10&quot;</span>
        <span style="color: #000066;">paddingLeft</span>=<span style="color: #ff0000;">&quot;10&quot;</span>
        <span style="color: #000066;">paddingRight</span>=<span style="color: #ff0000;">&quot;10&quot;</span>
    <span style="font-weight: bold; color: black;">&gt;</span></span>
        <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;mx:Label</span> <span style="color: #000066;">text</span>=<span style="color: #ff0000;">&quot;Hello World!&quot;</span> <span style="color: #000066;">fontWeight</span>=<span style="color: #ff0000;">&quot;bold&quot;</span> <span style="color: #000066;">fontSize</span>=<span style="color: #ff0000;">&quot;24&quot;</span><span style="font-weight: bold; color: black;">/&gt;</span></span>
    <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/mx:Panel<span style="font-weight: bold; color: black;">&gt;</span></span></span>
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/mx:Application<span style="font-weight: bold; color: black;">&gt;</span></span></span>
&nbsp;</pre>
<p>Make sure there is no whitespace before the XML declaration  7. Try it out. Go back to your terminal and type (from the directory where helloworld.mxml is) type the following:</p>
<pre>mxmlc helloworld.mxml</pre>
<p>This will compile the file using the Flex 3 SDK. It should create a file in the same directory called "helloworld.swf".</p>
<p>8. Open up helloworld.swf in Firefox. If you have Flash 9 installed, it will show you your compiled Flex application!</p>
]]></content:encoded>
			<wfw:commentRss>http://truefalsemaybe.com/2008/10/osx-flex-3-sdk-installation/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
