<?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>FoxR</title>
	<atom:link href="http://foxr.aeoliandigital.com/feed" rel="self" type="application/rss+xml" />
	<link>http://foxr.aeoliandigital.com</link>
	<description>Fast track your Flash Development</description>
	<lastBuildDate>Tue, 22 Jun 2010 13:25:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>FoxR on GitHub</title>
		<link>http://foxr.aeoliandigital.com/archives/309</link>
		<comments>http://foxr.aeoliandigital.com/archives/309#comments</comments>
		<pubDate>Tue, 22 Jun 2010 13:25:27 +0000</pubDate>
		<dc:creator>jfox015</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[FoxR]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://foxr.aeoliandigital.com/?p=309</guid>
		<description><![CDATA[The FoxR project has officially been brought to GitHub. I&#8217;m excited about this move because GitHub is one of the most up-and-coming areas of collaborative open source development. I&#8217;m hoping it will help get a few more eyeballs on the library and maybe ven some people forking and adding ideas to it themselves. http://github.com/jfox015/FoxR After [...]]]></description>
			<content:encoded><![CDATA[<p>The FoxR project has officially been brought to GitHub. I&#8217;m excited about this move because GitHub is one of the most up-and-coming areas of collaborative open source development. I&#8217;m hoping it will help get a few more eyeballs on the library and maybe ven some people forking and adding ideas to it themselves.</p>
<p><a href="http://github.com/jfox015/FoxR" target="_blank">http://github.com/jfox015/FoxR</a></p>
<p>After almost six months of dormancy, I have a few ideas for some small updates for a 0.3 release, then I think it&#8217;s time make some demos already to show off just how FoxR can help achieve the goals I&#8217;ve outlined for it. It should be a busy summer for me, but I hope to squeeze in as much as I can to keep things moving forward.</p>
]]></content:encoded>
			<wfw:commentRss>http://foxr.aeoliandigital.com/archives/309/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The War on Flash</title>
		<link>http://foxr.aeoliandigital.com/archives/305</link>
		<comments>http://foxr.aeoliandigital.com/archives/305#comments</comments>
		<pubDate>Tue, 09 Feb 2010 15:28:19 +0000</pubDate>
		<dc:creator>jfox015</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://foxr.aeoliandigital.com/?p=305</guid>
		<description><![CDATA[Since the iPad was announced, Flash has been under an almost constant attack from a number of fronts, with many declaring it a dead platform. No surprise there. People have been after Flash for years. But the Flash community has been firing back. here are a couple great responses to the proclamation of Flash&#8217;s early [...]]]></description>
			<content:encoded><![CDATA[<p>Since the iPad was announced, Flash has been under an almost constant attack from a number of fronts, with many declaring it a dead platform. No surprise there. People have been after Flash for years. But the Flash community has been firing back. here are a couple great responses to the proclamation of Flash&#8217;s early demise.</p>
<p><strong>ï»¿Everyone to their bases &#8211; Flash is under attack!</strong><br />
Jens C Brynildsen at Flash magazine<br />
<a href="http://www.flashmagazine.com/community/detail/everyone_to_their_bases_-_flash_is_under_attack/" target="_blank">http://www.flashmagazine.com/community/detail/everyone_to_their_bases_-_flash_is_under_attack/</a></p>
<p><strong>Flash is Deadâ€¦ Long Live Flash</strong><br />
Devon O. Wolfgang at onebyoneblog<br />
<a href="http://blog.onebyonedesign.com/?p=421" target="_blank">http://blog.onebyonedesign.com/?p=421</a></p>
<p>And some further looks at the points levied against Flash:</p>
<p><a href="http://blogs.adobe.com/jnack/2010/01/sympathy_for_the_devil.html">http://blogs.adobe.com/jnack/2010/01/sympathy_for_the_devil.html</a></p>
<p>And another breakdown of why Flash will lead the charge and HTML 5 (and more importantly the browsers that serve it) will always play catch-up:</p>
<p><a href="http://richardleggett.co.uk/blog/index.php/2010/02/01/the-world-is-moving-to-html5">http://richardleggett.co.uk/blog/index.php/2010/02/01/the-world-is-moving-to-html5</a></p>
<p>and a look at HTML 5 video support and it&#8217;s current issues</p>
<p><a href="http://createdigitalmotion.com/2010/02/html5-and-a-brave-flash-free-open-world-uh-not-so-fast/">http://createdigitalmotion.com/2010/02/html5-and-a-brave-flash-free-open-world-uh-not-so-fast/</a></p>
<p>I think these taken together form good support for the theory that</p>
<ol>
<li>Change in the way interactive on the web works is well      under way, but has a long way to go. Still never a bad thing to be at the      head of the pack that bringing up the rear</li>
<li>Flash will move forward past it&#8217;s current incarnation      into something no one might yet see, but something we the Flash Developers should be on the lookout for</li>
<li>IE does and always will suck the life out of all of us      (just wanted to throw that in)</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://foxr.aeoliandigital.com/archives/305/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>0.2.2 Maintenance Release</title>
		<link>http://foxr.aeoliandigital.com/archives/270</link>
		<comments>http://foxr.aeoliandigital.com/archives/270#comments</comments>
		<pubDate>Tue, 15 Dec 2009 14:27:19 +0000</pubDate>
		<dc:creator>jfox015</dc:creator>
				<category><![CDATA[FoxR]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[asdocs]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[PureMVC]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://foxr.aeoliandigital.com/?p=270</guid>
		<description><![CDATA[A new 0.2.2 release has been posted in the <strong><a href="/releases">releases</a></strong> section. This release includes a couple of small bug fixes and most importantly, completely revised AsDoc comments for the HTML API Docs.]]></description>
			<content:encoded><![CDATA[<p>A new 0.2.2 release has been posted in the <strong><a href="http://foxr.aeoliandigital.com/releases">releases</a></strong> section. This release includes a couple of small bug fixes and most importantly, completely revised AsDoc comments for the HTML API Docs.</p>
<p>One more maintenance/bug release, 0.3, is expected to occur in January before the Public beta in February. If using FoxR you find any bugs or would like to request features, please do so on the <a href="http://code.google.com/p/foxr/issues/list">Google Code Issue List</a> page.</p>
]]></content:encoded>
			<wfw:commentRss>http://foxr.aeoliandigital.com/archives/270/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compiling AS3 AsDocs with Eclipse and Ant</title>
		<link>http://foxr.aeoliandigital.com/archives/260</link>
		<comments>http://foxr.aeoliandigital.com/archives/260#comments</comments>
		<pubDate>Fri, 04 Dec 2009 16:33:56 +0000</pubDate>
		<dc:creator>jfox015</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[asdocs]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://foxr.aeoliandigital.com/?p=260</guid>
		<description><![CDATA[A short overview of how to set up Eclipse to utilize Ant build scripts to compile ActionScript 3 AsDocs using the Flex SDK]]></description>
			<content:encoded><![CDATA[<h2>Using Eclipse and Ant to publish AS3 API Documents (AsDocs)</h2>
<p>Ever since I started working with ActionScript 3 way back in the summer of 2007 and for the entire two plus years that I&#8217;ve been working on FoxR, I have had considerable trouble generating AsDoc API documentation.</p>
<p>Not that making AsDocs has ever really been <em>easy</em>, but back when I was working prominently in ActionScript 2, there was a handy and ridiculous simple program <a href="http://www.as2doc.com/">As2Doc</a> that provided a simple and intuitive way to generate clean and professional looking API documents.</p>
<p>Sadly, I have yet to see a program like <strong>As2Doc</strong> for ActionScript 3. The good news is, however, that Adobe does provide an AsDoc application as part of both the Flex/Flash Builder platform install and the free Flex SDK packages. Simply called <strong>asdoc.exe</strong>, this nifty little app will take you AS3 files and generate the same style documentation as those found at <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/">Adobe LiveDocs</a>.</p>
<p>The one major drawback of this program is that it&#8217;s a command line tool. To get it to compile your AsDocs properly, you have to write one heck of a long command string. And if you mess up one character, you have to keep tweaking it until you get it right. When you work in a fast paced and agile environemnt like I do, this is not a good solution. I knew there had to be a better way. So I did some Googling and finally came across one.</p>
<h3>Compile AsDocs with an Ant Build script</h3>
<p>I&#8217;ve been familiar with <strong>Apache Ant</strong> since back in my days with Starwood Hotels where our individual development sandboxes were compiled and managed by numerous ant build scripts. If you&#8217;re not familiar with them, they consist of one XML based file usually called build.xml and one or more optional files that defined a number of target tasks like compiling JAR files in Java or running the asdoc.exe for AsDoc compilation.</p>
<p>Doing Google searches I came across numerous examples of these Ant build scripts to compile ASDocs. But once again, Ant is a command line tool and I wanted a way to steamline both the editing and running of these scripts (otheriwse I&#8217;d just run asdoc.exe from the command line itself). I found numerous references to the ease of using Eclipse&#8217;s built in support for ant and chose to go that route.</p>
<p>The one major hurdle that I never could see to figure out was how to get my install of Eclipse Gallileo (which I downloaded with the PHP Development Tools plugin) to support both editing and running Ant scripts automatically. Out of the box, Eclipse was not providing me with the <strong>Ant Editor</strong> or <strong>Ant Builder</strong> tools I&#8217;d seen so many people referencing in their blog posts and tutotials. So I was stuck until I finally struck blog paydirt.</p>
<p>The solution turned out to be mind numbingly simple, but somehow took me a long time to dig. For Eclipse to automatically support Ant within the editor, you need to download the <strong>Java Development Tools (or JDT) plugin</strong>. A quick guide to performing this update in Flex 3 (which works the same across all Eclipse and Eclipse based Flex/Flash Builder IDEs) is available on <a href="http://flex.gunua.com/?p=78" target="_blank">gunua.com</a> and <a href="http://iamjosh.wordpress.com/2008/08/11/adding-ant-to-flex-builder-3/" target="_blank">I am Josh.com</a>.</p>
<p>So with the JDT plug-in installed, I finally was able to edit my build.xml file within Eclipse by right clicking and choosing <strong>Open With&#8230; &gt; Ant Editor</strong> and then running it via <strong>Run As&#8230; &gt; Ant Build</strong> . A few bug fixes to some error found in the code while compiling and Wha-Lah, at long last I had FoxR Api Docs.</p>
<p>The Ant script that I ended up using (with obviuos changes for my library and local paths) was found at <a href="http://www.rubenswieringa.com/blog/ant-and-asdoc" target="_blank">Ruben&#8217;s Blog</a>. I&#8217;ve posted a copy of his script Zip file in the Appendix of this post for convineince.</p>
<p>I hope this post is helpful to anyone who might be strugglign with getting set up as I was.</p>
<p><a name="downloads"></a></p>
<h2>Appendix: Downloads</h2>
<div style="border: 1px solid black; padding: 8px; background: #dedede none repeat scroll 0% 0%; width: 95%; text-align: center;">
<div style="float: left; margin-left: 35px; width: 90px; text-align: center;"><a href="http://foxr.aeoliandigital.com/wp-content/uploads/asdoc_ant_script.zip"><img title="Download Tutorial Files" src="/wp-content/uploads/btn_tutorials_download_zip.png" alt="Download Tutorial Files" width="71" height="71" /></a></p>
<p>Ruben&#8217;s Ant Build Files Zip</p></div>
<p><br clear="all" />
</div>
]]></content:encoded>
			<wfw:commentRss>http://foxr.aeoliandigital.com/archives/260/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>API Docs Published</title>
		<link>http://foxr.aeoliandigital.com/archives/248</link>
		<comments>http://foxr.aeoliandigital.com/archives/248#comments</comments>
		<pubDate>Fri, 04 Dec 2009 03:44:22 +0000</pubDate>
		<dc:creator>jfox015</dc:creator>
				<category><![CDATA[FoxR]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[asdocs]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[documentation]]></category>

		<guid isPermaLink="false">http://foxr.aeoliandigital.com/?p=248</guid>
		<description><![CDATA[At long last, API documentation for FoxR has been compiled and published to the site. The API link can be found on the Documentation page or at http://foxr.aeoliandigital.com/asdocs/.]]></description>
			<content:encoded><![CDATA[<p>At long last, API documentation for FoxR has been compiled and published to the site. The API link can be found on the <a href="http://foxr.aeoliandigital.com/docs">Documentation</a> page or at <a href="http://foxr.aeoliandigital.com/asdocs/">http://foxr.aeoliandigital.com/asdocs/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://foxr.aeoliandigital.com/archives/248/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Lesson 1: First FoxR Movie, Part 2</title>
		<link>http://foxr.aeoliandigital.com/archives/233</link>
		<comments>http://foxr.aeoliandigital.com/archives/233#comments</comments>
		<pubDate>Wed, 02 Dec 2009 17:31:18 +0000</pubDate>
		<dc:creator>jfox015</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[FoxR]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[PureMVC]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://foxr.aeoliandigital.com/?p=233</guid>
		<description><![CDATA[The second part of Lesson One dives into adding visual elements to the virtual Pages within the FoxR architecture and introduces adding copy and css styles via the GlobalProxyManager and it's subclasses.]]></description>
			<content:encoded><![CDATA[<h2>First FoxR Movie Part 2: Editing content</h2>
<p>Welcome back to part two of lesson one, your first FoxR movie. In part one we took the time to download the FoxR library and the default project template and set up  new projects in the most popular Flash IDEs.</p>
<p>Here in part 2, we&#8217;ll now dive into the code itself, making changes to both the textural, style and display content properties of our first project. This lesson will cover in depth:</p>
<ul>
<li>An overview of FoxR&#8217;s predefined visual architecture</li>
<li>The Element.addElement() method</li>
<li>Modifying the content of a FoxR view class and incorporating custom FoxR objects into the view</li>
<li>Assigning styles to components, text and graphical elements via CSS and the CSSProxy</li>
<li>Adding text content via the CopyProxy</li>
</ul>
<p>So without further ado, let&#8217;s jump in.</p>
<h3>The FoxR Visual Architecture</h3>
<p>By default, FoxR let&#8217;s you tap into a strong yet flexible visual architecture which I&#8217;ve come to code name <strong>&quot;The Stack&quot;</strong>. The stack is essentially a set of predefined view classes that have corresponding mediators to allow loosely coupled communication between the movies other view elements as well as FoxR&#8217;s wide array of supporting classes.</p>
<p>Each of the layers is based off the global <strong>Element</strong> class. Element extends the AS3 Sprite class and adds a large number of helpful shortcut methods to help you get coding fast and write ultra compact, clean code. The Element class is truly worthy of it&#8217;s own tutorial so we&#8217;ll leave further analysis of this class for the next lesson.</p>
<p align="center">
<a href="http://foxr.aeoliandigital.com/wp-content/uploads/foxr_conceptual_architecture_1.01.gif"><img src="http://foxr.aeoliandigital.com/wp-content/uploads/foxr_conceptual_architecture_1.01-300x207.gif" alt="foxr_conceptual_architecture_1.01" title="foxr_conceptual_architecture_1.01" width="300" height="207" class="aligncenter size-medium wp-image-4" /></a></p>
<p><span style="font-size:11px; color:#303030;">FoxR Visual Architecture Diagram. Click to view full sized.</span></p>
<p>The diagram above displays what the stack looks like visually. As the name implies, it is literally a stack of empty containers that can be used to build a clean consistent set of layers with which to separate and manage your content at run time.</p>
<p>For the purpose of this tutorial, we will be focusing our efforts within the <strong>pages</strong> layer. This layer forms the basis for probably 95% of the content you&#8217;ll add to a FoxR movie.</p>
<p>The Pages class is a special container class that defines a mechanism to load an unlimited number of child pages within it. These pages are based on the com.fox.display.Page class which features several methods for managing their display effects as you navigate through the project.</p>
<p>Pages are changed by sending a APPLICATION.CHANGE_PAGE notification and passing the name of the page. Child pages are defined in the com.foxr.data.GlobalConfig.as file. An in depth look at this process will be covered in a future tutorial.</p>
<h3>Modifying the content of a view class</h3>
<p>Now that we have a basic understanding of the way the visual architecture is structured, let&#8217;s dive right in a start making some changes that we can see in our movie. if you followed all the steps in the first tutorial, you should have ended up running the project and seeing a movie that looks like this:</p>
<p align="center">
<a href="http://foxr.aeoliandigital.com/wp-content/uploads/ls1_pt2_content01a.png"><img src="http://foxr.aeoliandigital.com/wp-content/uploads/ls1_pt2_content01a-300x248.png" alt="Content Screen" title="ls1_pt2_content01a" width="300" height="248" class="size-medium wp-image-234" /></a></p>
<p>Not really all that exciting to look at is it? So let&#8217;s see if we can&#8217;t spice it up a little.</p>
<p>Our first task will be to add both an Image and button objects to accompany the default text field located in the view. As mentioned earlier, the FoxR <strong>Element</strong> class contains a number of short cut methods to help you simplify your code.</p>
<h3>The Element.addElement method</h3>
<p>The most important of these functions (and the one you&#8217;ll see used the most within the libraries visual elements) is the <strong>addElement</strong> method. This method take two required and two optional arguments:</p>
<ul>
<li><strong style="color:#900;">Instance Name</strong> &#8211; The name of the new Element instance. This value is assigned to the name attribute of the new object so that it can be called using the Sprite.getChildByName() method.</li>
<li><strong style="color:#009;">Class Name</strong> &#8211; The name of the class being invoked.</li>
<li><strong style="color:#063;">Parameter Object</strong> (OPTIONAL) &#8211; An object containing key/value pairs of setter values.</li>
<li><strong style="color:#C30;">CSS Object</strong> (OPTIONAL) &#8211; An object derived from the CSSProxy.getStyle() method.</li>
</ul>
<p>Here&#8217;s an example of the method and it&#8217;s arguments in use:</p>
<p></p>
<pre class="brush: as3">
var btnTop:ScrollbarButton = null;
btnTop = ScrollbarButton(addElement('btnTop',ScrollbarButton,{x:0,direction:'up'},gpm.css.getStyle('scroll_button')));
</pre>
<p></p>
<p>Notice that I cast the object returned by addElement to a ScrollbarButton as I assigned it to the btnTop variable. This is because addElement returns all created instances as  simple Element objects. Without casting, you wouldn&#8217;t be able to access the special attributes and methods that the ScrollbarButton class includes.</p>
<h3>Adding Elements to the View</h3>
<p>Armed with this knowledge we can now add two new objects to the default view class. The <strong>HomePage</strong> class is the default view class object that comes with the 0.2 Project Template.  It is located in in flash/com/foxr/views/pages/HomePage.as. Open this file in your project IDE. Here is what the HomePage.as class looks like out of the box:</p>
<p></p>
<pre class="brush: as3">
package com.foxr.view.pages
{
	import com.foxr.display.Page;
	import flash.events.Event;
	/**
	 * Home
	 * Main page in the application project.
	 *
	 * @author		Jeff Fox
	 *
	 */
	public class HomePage extends Page {

		/*--------------------------------------
		/	VARIABLES
		/-------------------------------------*/

		/*--------------------------------------
		/	CONSTRUCTOR
		/-------------------------------------*/
		/**
		 * C'TOR
		 * Construct a new Home instance
		 *
		 */
		public function HomePage() { 

		} // END function
		/*--------------------------------------
		/	SET/GET FUNCTIONS
		/-------------------------------------*/

		/*--------------------------------------
		/	PUBLIC FUNCTIONS
		/-------------------------------------*/
		/**
		 * 	OBJECT READY.
		 * 	Fired when the object is added to the stage. Place all your objects to be rendered to the
		 *  stage within this method, NOT the constructor.
		 *	@since	1.0
		 */
		public override function objReady(e:Event):void {
			super.objReady(e);
			txt.text = gpm.copy.getCopyString('global.home.body');
			txt.applyProperties( { x:150, y:200, alpha:1.0, visible:true } );
			txt.style = gpm.css.getTextFormat('general_copy');

		}
		/*--------------------------------------
		/	PRIVATE FUNCTIONS
		/-------------------------------------*/
	} // END class
} // END package
</pre>
<p></p>
<p>The important part of this class to note is the <strong>objReady</strong> function. This is a function inherited from Element which is called automatically once the object has been added to the stage and is part of the active view list. You should place any code that should only be run <em>after</em> the object has been added to the stage within or following this functions execution (by calling other methods within in). </p>
<p>So let&#8217;s get to adding some stuff. The first thing we need to do is import the classes and set up our variables that will let us reference our new objects directly. We place them in the variable section of the class.</p>
<p></p>
<pre class="brush: as3">
	import com.foxr.display.Page;
	import com.foxr.display.content.Image;
	import com.foxr.display.buttons.StandardButton;

	import flash.events.Event;
</pre>
<p></p>
<pre class="brush: as3">
		/*--------------------------------------
		/	VARIABLES
		/-------------------------------------*/
		private var img:Image = null;
		private var btn:StandardButton = null;
</pre>
<p>Next, using addElement, we add the two new objects to the view.</p>
<pre class="brush: as3">
		public override function objReady(e:Event):void {
			super.objReady(e);
			txt.text = gpm.copy.getCopyString('global.home.body');
			txt.applyProperties( { x:150, y:200, alpha:1.0, visible:true } );
			txt.style = gpm.css.getTextFormat('general_copy');

            img = Image(addElement('img', Image));
			btn = StandardButton(addElement('btn', StandardButton));
		} // END function
</pre>
<p>You&#8217;ll notice I added these elements within the objReady function. This is because we&#8217;ll want to take advantage of the <strong>gpm</strong> property of the Page class (inherited from Element) later in the process. You&#8217;ll see it is already being used to provide content to the txt text field that is included in the Page class by default.</p>
<h3>Adding styles via the CSSProxy</h3>
<p>Now we have an image and button object in our view. If you were to run the movie though, nothing would show up on the stage. This is because we need to add some visual display properties to our new elements.</p>
<p>The traditional way to add properties to objects is to apply them individually as such:</p>
<pre class="brush: as3">
		img.x = 125;
        img.y = 150;
        img.src = 'flash_logo.png';
</pre>
<p>As you can imagine, if you have a large number of objects being instantiated and styled in your view, your AS file can get quite long and quite full with lots of these individual properties being added. More over, if you had the same type of element across a number of files, you end up repeating this same code again and again. While Flash does a code job compressing file sizes when compiling, this still can begin to add up.</p>
<p>FoxR provides you a shortcut in this situation using Web standard CSS. Here is how you achieve the same effect in FoxR using the CSSProxy:</p>
<p><strong>CSS Code</strong></p>
<pre class="brush: css">
img {
	x: 125px;
    y: 150px;
    src: flash_logo.png;
}
</pre>
<p><strong>FoxR AS3 Code</strong></p>
<pre class="brush: as3">
	img = Image(addElement('img', Image,null,gpm.css.getStyle('img')));
</pre>
<p>Not only did we combine four lines of AS3 code (including the instantiation of the object) down to one, but we also turned the image properties into a CSS class that can be reused (or even better yet extended!) across multiple instances. And since it&#8217;s CSS, if I wanted to override the src property for a successive element, I could simply put the following into a separate class within the same or separate CSS file:</p>
<p><strong>CSS Code</strong></p>
<pre class="brush: css">
img {
    src: alt_image.png;
}
</pre>
<p>We use of the CSSProxy by tapping into a powerful Proxy class called the <strong>GlobalProxyManager</strong>. This &quot;super proxy&quot; contains the following global proxy (model) class objects:</p>
<ul>
<li><strong>CSSProxy</strong> Loads, stores and provides access to global CSS styles</li>
<li><strong>CopyProxy</strong>- Loads, stores and provides access to global XML based copy strings</li>
<li><strong>ConfigProxy</strong> &#8211; Global configuration manager</li>
<li><strong>VisualConfigProxy</strong> &#8211; Global visual configuration settings manager</li>
<li><strong>AnalyticsProxy</strong> &#8211; Global Analytics interface manager</li>
<li><strong>LOG</strong> &#8211; Global external logging/trace manager</li>
</ul>
<p>The <strong>gpm</strong> property is instantiated during the framework&#8217;s startup and is available to all Element and Element subclasses so you need not do anything to access the gpm property other than be sure you only call it within or following the <strong>objReady</strong> function within your display classes.</p>
<p>To get access to the global instance of the CSSProxy object,  you simply type <strong>gpm.css</strong> and then call the method you need to access. In the AS3 example above, we used the <strong>getStyle</strong> method which takes one String argument, the CSS selector name.</p>
<div style="border: 1px solid gray; padding: 6px; background: #ffffcc none repeat scroll 0% 0%; width: 96%;"><strong style="color:#CC0000">COMPATIBILITY NOTE: </strong>While CSS used by FoxR is mostly similar to standard CSS used in Web sites, there are some important differences which are noted in the <a href="http://foxr.aeoliandigital.com/wp-content/uploads/FoxR_user_guide.pdf" target="_blank">FoxR Developers Guide</a> document in the <strong>Using CSS</strong> section.</div>
<p>FoxR CSS Stylesheets are located in the deploy folder of the project template in /deploy/media/css. The default CSS file that comes with the project is <strong>global.css</strong>. We&#8217;ll open global.css, add the img class above and also add a second class with styles for our StandardButton object.</p>
<p><strong>CSS Code</strong></p>
<pre class="brush: css">
btn {
	width:100px;
    height:24px;
    x:400px;
    y:90px;
    background-color:#FFFFCC;
    border-width:1px;
    border-color:#000000;
}
</pre>
<div style="border: 1px solid gray; padding: 6px; background: #ffffcc none repeat scroll 0% 0%; width: 96%;"><strong style="color:#CC0000">COMPATIBILITY NOTE: </strong>FoxR incorporates a large number of standard CSS selectors in it&#8217;s display objects. While the X and Y properties are not supported in Web CSS, are completely valid in FoxR. See the <a href="http://foxr.aeoliandigital.com/wp-content/uploads/FoxR_user_guide.pdf" target="_blank">FoxR Developers Guide</a> for a complete chart of supported CSS selectors.</div>
<p>If you save the updated global.css file and compile your movie, you should now see the new view elements displaying in your default project movie.</p>
<p align="center">
<a href="http://foxr.aeoliandigital.com/wp-content/uploads/ls1_pt2_content01.png"><img src="http://foxr.aeoliandigital.com/wp-content/uploads/ls1_pt2_content01-300x246.png" alt="Screen capture with content" title="Screen capture with content" width="300" height="246" class="aligncenter size-medium wp-image-235" /></a></p>
<h3>Adding Text Content with the CopyProxy</h3>
<p>So we now have our image and button displaying in our movie, but we want to add some instructions to the button. While we could simply add text to the button using the <em>text</em> property within HomePage.as, that&#8217;s not exactly keeping with the MVC principles of the project.</p>
<p>Once again, FoxR provides a standard and built-in mechanism for applying copy to your project using the <strong>CopyProxy</strong>. As with the CSSProxy, the CopyProxy is available as a property of the GPM. It utilizes one or more standard copy XML files located in the deploy/xml folder. The default copy XML file included with Foxr is called <em>global.xml</em>.</p>
<p>Opening this file reveals that the copy is structured in several main blocks of copy organized by their usage including a general, home page and login block. You notice that the copy displayed in text field in the main content area, &quot;Hello World! I&#8217;m here&quot; is located in the global/home/body node.</p>
<p>Since we want to add copy to our button on the home page, we are going to create a new node within the <strong>home</strong> block and call it &quot;button&quot;. Within the button node we add the copy &quot;Click Me!&quot;.</p>
<p><strong>XML Code</strong></p>
<pre class="brush: xml">
	<home>
		<button>Click Me!</button>
	</home>
</pre>
<p>To apply the copy to the button we use the standard FoxR text property called <i>string</i>. The string property is derived from the FoxR <strong>TextElement</strong> class and provides a shortcut to accessing copy xml values that are loaded and stored by the CopyProxy object. When the CopyProxy loads copy XML files, it uses the FoxR utility class <strong>XMLObjectOutput</strong> to convert the XML into a standard key/value object whose structure matches that of the original XML. String values are thereby accessed using standard object notation.</p>
<p>To access the value of our new button string, we add the following command to our button instantiation code: <b><code>string:'global.home.button'</code></b>. Our amended addElement code for the btn object therefore looks like this:</p>
<p><strong>FoxR AS3 Code</strong></p>
<pre class="brush: as3">
	btn = StandardButton(addElement('btn', StandardButton, gpm.css.getStyle('btn'), {string:'global.home.button'}));
</pre>
<p>If you compile and run the movie you should now see&#8230;no text in the button? Wait? What gives? This is because we have to apply a text style to the button as well to tell it how to render the text. Because we already have a general text style called <em>general_copy</em> defined in the global.css file, we&#8217;ll simply apply that style to the button using the StandardButton&#8217;s <i>textStyle</i> property. textStyle is inherited from the CompoundObject class as is used by any of it&#8217;s subclasses that includes a TextElement object by default.</p>
<p>Because text styles are applied to TextElements as standard AS3 <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextFormat.html" target="_blank">TextFormat</a> objects rather than the simple key/value attribute objects that are returned by the CSSProxy&#8217;s <em>getStyle</em> method, we use another CSSProxy method called <em>getTextFormat</em>. This method returns the CSS class as a standard AS3 <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextFormat.html" target="_blank">TextFormat</a> object</p>
<p><strong>FoxR AS3 Code</strong></p>
<pre class="brush: as3">
	btn = StandardButton(addElement('btn', StandardButton, gpm.css.getStyle('btn'), {string:'global.home.button',textStyle:gpm.css.getTextFormat('general_copy')}));
</pre>
<p>Compiling and testing the movie with the text style applied now renders the text in the button as expected.</p>
<h3>Putting it all together</h3>
<p>In this tutorial we covered how to use the Element.addElement method as a shortcut to not only adding elements to our movie&#8217;s page display objects, but also utilizing the built in Copy and CSS Proxy classes to apply text and style attributes to them in a general way that supports the MVC philosophy of separating content and style from the logical code.</p>
<p>From here, you can continue to add other FoxR elements and manipulate styles in the global.css file or change copy within the global.xml file. Save and compile your project each time to see how changes affect the display of the movie.</p>
<p>In lesson 1, we covered a lot of ground in terms of setting up your first FoxR movie and customizing the content, but we&#8217;ve still barely scratched the surface. Stay tuned for more in depth tutorials covering numerous aspect of this powerful MVC based framework.</p>
<p><a name="downloads"></a></p>
<h2>Appendix: Downloads</h2>
<p>Download the files featured within this tutorial.</p>
<div style="border: 1px solid black; padding: 8px; background: #dedede none repeat scroll 0% 0%; width: 95%; text-align: center;">
<div style="float: left; margin-left: 80px; width: 150px; text-align: center;"><a href="http://foxr.aeoliandigital.com/releases"><img title="Download Foxr" src="/wp-content/uploads/btn_tutorials_download_foxr.png" alt="Download Foxr" width="71" height="71" /></a></p>
<p>Download FoxR</p></div>
<div style="float: left; margin-left: 35px; width: 90px; text-align: center;"><a href="http://foxr.aeoliandigital.com/wp-content/uploads/FoxRLesson1.zip"><img title="Download Tutorial Files" src="/wp-content/uploads/btn_tutorials_download_zip.png" alt="Download Tutorial Files" width="71" height="71" /></a></p>
<p>Download Tutorial Files</p></div>
<p><br clear="all" />
</div>
]]></content:encoded>
			<wfw:commentRss>http://foxr.aeoliandigital.com/archives/233/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lesson 1: First FoxR Movie, Part 1</title>
		<link>http://foxr.aeoliandigital.com/archives/140</link>
		<comments>http://foxr.aeoliandigital.com/archives/140#comments</comments>
		<pubDate>Fri, 13 Nov 2009 05:10:31 +0000</pubDate>
		<dc:creator>jfox015</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Flash Develop]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[FoxR]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[PureMVC]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://foxr.aeoliandigital.com/?p=140</guid>
		<description><![CDATA[For the first FoxR tutorial, we'll start with downloading and installing both the framework and the Quick Start Project Template using both to creating an advanced "Hello World" movie. I say advanced because the Project Template includes everything you'll need to get a compiling project setup fast, including the standard "Hello World" message.]]></description>
			<content:encoded><![CDATA[<p>FoxR is designed to be a fast and flexible development framework providing all the basic infrastructure so that you can get started coding your Rich internet Application or Flash Web site right away.</p>
<p>For the first FoxR tutorial, we&#8217;ll start with downloading and installing both the framework and the Quick Start Project Template using both to creating an advanced &#8220;Hello World&#8221; movie. I say advanced because the Project Template includes everything you&#8217;ll need to get a compiling project setup fast, including the standard &#8220;Hello World&#8221; message.</p>
<p>You can find links to download all the tools featured in this tutorial in the <a href="#downloads">appendix section</a>.</p>
<h2>Step 1: Download FoxR and the Project Template</h2>
<p>Download the latest release of the <strong>FoxR library</strong> and the accompanying <strong>Project Template</strong>.</p>
<div style="border: 1px solid black; padding: 8px; background: #dedede none repeat scroll 0% 0%; width: 95%; text-align: center;">
<div style="float: left; margin-left: 80px; width: 150px; text-align: center;"><a href="http://foxr.aeoliandigital.com/releases"><img title="Download Foxr" src="/wp-content/uploads/btn_tutorials_download_foxr.png" alt="Download Foxr" width="71" height="71" /></a></p>
<p>Download FoxR</p></div>
<div style="float: left; margin-left: 35px; width: 150px; text-align: center;"><a href="http://foxr.aeoliandigital.com/releases#projectTemplate"><img title="Download Project Template" src="/wp-content/uploads/btn_tutorials_download_zip.png" alt="Download Project Template" width="71" height="71" /></a></p>
<p>Download Project Template</p></div>
<p><br clear="all" />
</div>
<h2>Step 2: Extracting your files</h2>
<p>I&#8217;m going to break this out into a separate step because I think it&#8217;s important to note that since FoxR is designed to be a generic, reusable framework, it is best to keep the main library files for FoxR separate from your individual projects. This way you can use FoxR over multiple projects.</p>
<p>As a matter of personal work flow, I always sub categorize my code libraries (AS3, JS, PHP, etc) into release folders. I.E. I create a FoxR directory then a &#8220;0.1 Alpha&#8221;, &#8220;0.2 Alpha&#8221;, etc. This allows me to safely upgrade code libraries without breaking legacy projects that might be tightly tied to specific features that may have changed, been removed or cause serious conflicts. For the purpose of this tutorial, I&#8217;m going to keep things simple and not do this, but a good matter of habit to get into.</p>
<h2>Step 3: Setting up your first project</h2>
<p>How you set up the project depends mainly on what IDE you will be using to develop your application in. For this tutorial, we will be demonstrating the setup in three of the most popular ActionScript IDE applications:</p>
<ol>
<li><a href="#fd3">Flash Develop 3</a></li>
<li><a href="#eclipse">Eclipse with the Flash Builder 4 Beta Plug-in</a></li>
<li><a href="#flash">Flash CS4</a></li>
</ol>
<p>The steps to extract the FoxR files are predominately the same across all these IDE&#8217;s, but setting up the project itself is a little different.</p>
<p><a name="fd3"></a></p>
<h3><img class="size-full wp-image-149" title="flashdevelop_dockicon" src="http://foxr.aeoliandigital.com/wp-content/uploads/flashdevelop_dockicon.png" alt="flashdevelop_dockicon" width="42" height="42" align="absmiddle" /> Flash Develop 3</h3>
<p>Since FlashDevlop 3 is the main tool that I used to build the FoxR library, this is the first of the tools we&#8217;ll review.</p>
<div style="border: 1px solid gray; padding: 6px; background: #ffffcc none repeat scroll 0% 0%; width: 96%;"><strong style="color:#CC0000">COMPATIBILITY NOTE: </strong>Earlier version of Flash Develop may perform differently than FD3 does in terms of how projects are constructed and managed. Please refer to the documentation regarding projects in earlier version before proceeding.</div>
<p><strong>To set up a new FoxR project with Flash Develop 3:</strong></p>
<ol>
<li>Choose a directory to place your FoxR work. For this demo I&#8217;ve created a new folder in my &#8220;My Documents&#8221; directory called &#8220;As3 Projects&#8221;.</li>
<li>Extract the contents of the FoxR library Zip file into this directory. You should see a folder called &#8220;FoxR_Alpha_0.2&#8243; which contains the library and all supporting files.</li>
<li>Extract the contents of the FoxR Project Template zip file into the &#8220;As3 Projects&#8221; folder as well. You will see a folder called &#8220;New FoxR Project&#8221;</li>
</ol>
<p style="text-align: center;">
<a href="http://foxr.aeoliandigital.com/wp-content/uploads/img_tut01_my_docs.png"><img class="align-center size-medium wp-image-181" title="img_tut01_my_docs" src="http://foxr.aeoliandigital.com/wp-content/uploads/img_tut01_my_docs-300x243.png" alt="img_tut01_my_docs" width="300" height="243" /></a></p>
<ol start="4">
<li>Open the &#8220;New FoxR Project&#8221; folder and you will see three folders (deploy, flash and obj) and a file called <em>MyProject.as3proj</em>.</li>
<li>Double click MyProject.as3proj to launch the project in Flash Develop and open the Properties dialog (<strong>Project &gt; Properties</strong>)</li>
<li>In the <strong>Output</strong> tab, you&#8217;ll see that Flash Player 9 is the target player and that the movie compiles to deploy/foxr.swf.</li>
<li>On the classpaths tab, assure that the classpaths box contains the &#8220;flash&#8221; and &#8220;..\FoxR_Alpha_0.2&#8243; directories. See Figure 1.</li>
</ol>
<p style="text-align: center;">
<a href="http://foxr.aeoliandigital.com/wp-content/uploads/img_tut01_fd3_proj_props.png"><img src="http://foxr.aeoliandigital.com/wp-content/uploads/img_tut01_fd3_proj_props-300x250.png" alt="img_tut01_fd3_proj_props" title="img_tut01_fd3_proj_props" width="300" height="250" class="aligncenter size-medium wp-image-197" /></a></p>
<ol start="8">
<li>If you are going to compile and test your FoxR project within FlashDevelop and have not set FlashDevelop up to do so, see this article on setting up <a href="http://www.flashdevelop.org/wikidocs/index.php?title=AS3" target="_blank">Flash Develop to compile your movie</a>.</li>
<li>Otherwise, click <strong>Project</strong> &gt; <strong>Build Project</strong> (F8) to test the build. If you receive no compilation errors then click <strong>Project &gt; Test Movie </strong>(F5) to see the default project SWF.</li>
<li>You should see a screen similar to figure 2. If so, your ready to proceed to <a href="#step4">Step 4</a>.</li>
</ol>
<p style="text-align: center;"><a href="http://foxr.aeoliandigital.com/wp-content/uploads/img_tut01_fd3_compile.png"><img class="aligncenter size-medium wp-image-192" title="img_tut01_fd3_compile" src="http://foxr.aeoliandigital.com/wp-content/uploads/img_tut01_fd3_compile-300x221.png" alt="img_tut01_fd3_compile" width="300" height="221" /></a><br />(Click for larger Image)</p>
<p><a name="eclipse"></a></p>
<h3><img class="size-full wp-image-150" title="flash-builder" src="http://foxr.aeoliandigital.com/wp-content/uploads/flash-builder.gif" alt="flash-builder" width="42" height="42" align="absmiddle" /> Eclipse (with Flex/Flash Builder plug-ins)</h3>
<p>The following project setup is for Eclipse based editors such as Flex 3, Flash Builder 4 (still in Beta at the time of this writing) or the standalone Eclipse IDE with one of the aforementioned plug-ins (as opposed to the standalone editors themselves).</p>
<p>For this tutorial I am using the standalone Eclipse with the Flash Builder 4 Beta 2 plug-in, though the steps we&#8217;ll be performing are compatible with any Eclipse based Fox tool editor.</p>
<div style="border: 1px solid gray; padding: 6px; background: #ffffcc none repeat scroll 0% 0%; width: 96%;"><strong style="color:#CC0000">COMPATIBILITY NOTE: </strong>The steps listed below have <strong>not</strong> been tested with third party ActionScript plug-ins such as FDT or ASDT. These steps may be compatible, but consult these plug-ins documentation if problems arise.</div>
<ol>
<li>Since Eclipse uses  work spaces to organize projects, decide if you want your FoxR library within your Workspace directory. For this tutorial, I will be not be doing this, extracting the FoxR library to a folder in &#8220;My Documents&#8221; called &#8220;AS3 Projects&#8221;</li>
<li>Open Eclipse and launch the Flash perspective (Window > Open Perspective > Other&#8230; and Choose <strong>Flash</strong></li>
<li>Click <strong>File &gt; New&#8230;</strong></li>
<li>In the <em>New</em> dialog, choose <em>Flash</em> &gt; <em>ActionScript Project</em></li>
<li>Name the project &#8220;FirstFoxRMovie&#8221;, under <i>Project Contents</i>, save it in the default or a custom workspace, under <i>Flex SDK version</i> select use default SDK and click <strong>Next &gt;</strong></li>
<li>On the <em>Source Path</em> tab, add the FoxR AS library to your project by clicking <strong>Add Folder&#8230;</strong> and browsing to the location of the library (for me this is &#8220;My Documents &gt; AS3 Projects &gt; FoxR_alpha_0.2&#8243;. Click <strong>OK</strong> and <strong>OK</strong></li>
<li>Under the files box, set the <em>Main source folder</em> property to &#8220;flash&#8221;, <em>Main Application File</em> to &#8220;FoxR.as&#8221; and the <em>Output folder</em> property to &#8220;deploy&#8221;</li>
<li>Click <strong>Finish</strong>.</li>
<li>Eclipse should have now created your new project. (Figure 3)<strong><br />
</strong></li>
</ol>
<p>Flash Builder creates extra files we don&#8217;t need so you can safely delete the content of the <em>flash</em> folder. Now using Windows Explorer (or Finder for the Mac folks), browse to the projects directory in the Eclipse workspace. Open the &#8220;New FoxR Project.zip&#8221; file and extract the contents of the <em>flash</em> and <em>deploy</em> directories into your Eclipse project directory. Overwrite any duplicates. Now, let&#8217;s finish the Eclipse set-up.</p>
<ol>
<li>Return to Eclipse, right click on the FirstFoxrMovie project and <b>refresh</b> it. Your new files<br />
	should appear.</li>
<li>Under <i>Flash > (default package)</i> delete FirstFoxrMovie.as if it is present.</li>
<li>Right click on the FirstFoxrMovie project and choose <i>Properties&#8230;</i></li>
<li>Choose &#8220;ActionScript Application&#8221; and click <b>Add&#8230;</b></li>
<li>Select FoxR.as and click <b>OK</b></li>
<li>In the ActionScript Application screen, click <b>FoxR.as</b> and click the <b>Set as default</b> button. Click <b>OK</b>.</li>
<li>The main project window, rename &#8220;FirstFoxRMovie.html&#8221; to &#8220;FoxR.html&#8221;, open it, search for &#8220;FirstFoxrMovie&#8221; and replace it with &#8220;FoxR&#8221;. Save and close the file.
<li>Right click <b>FoxR.as</b> and choose <i>Run As&#8230; > Web Application</i>. <b>NOTE:</b> If this option does not appear, consult the Flash Builder documentation for help in setting up compiling options for the Flash Perspective.</li>
<li>If the Flash movie appears in your default browser, your ready for <a href="#step4">Step 4</a></li>
</ol>
<p><a name="flash"></a></p>
<h3><img class="size-full wp-image-150" title="flash-builder" src="http://foxr.aeoliandigital.com/wp-content/uploads/flashcs3_icon.jpg" alt="flash-builder" width="42" height="42" align="absmiddle" /> Flash CS4</h3>
<p>Must to my own personal chagrin, getting up and running in the Flash IDE is actually the easiest of all the paths. If you leave the defaults you need just extract the files, confirm the settings and compile.</p>
<div style="border: 1px solid gray; padding: 6px; background: #ffffcc none repeat scroll 0% 0%; width: 96%;"><strong style="color:#CC0000">COMPATIBILITY NOTE: </strong>The steps listed below are 100% compatible with Flash CS3. FoxR cannot, however, be used with any earlier version of Flash. If you are using Flash 8 or earlier and cannot upgrade to CS 3 or 4 (or eventually 5), consider <a href="#fd3">Flash Develop</a> instead.</div>
<p>To begin setting up the project:</p>
<ol>
<li>Follow Steps 1-3 of the Flash Develop 3 process.</li>
<li>Open the &#8220;New FoxR Project&#8221; folder and you will see three folders (deploy, flash and obj). open the &#8220;flash&#8221; folder and you will see the file <strong>FoxR.fla</strong>.</li>
<li>Double click to open this file in the Flash IDE. <strong>NOTE:</strong> This FLAis saved in Flash CS3 format so Flash CS4 users may receive an upgrade warning if saving this file.</li>
<li>Confirm the output and compiler settings are correct by opening the<em> Publish Setting</em> dialog (<strong>File &gt; Publish Settings&#8230;</strong>)</li>
<li>Under the <strong>formats</strong> tab, the file path for the Flash format should be &#8220;../deploy/foxr.swf&#8221;</li>
<li>Under the <strong>Flash</strong> tab, next to <em>Script</em>, assure &#8220;ActionScript 3,0&#8243; is selected and click <strong>Settings</strong>.</li>
<li>Assure that &#8220;./&#8221; and &#8220;../../FoxR_Alpha_0.2&#8243; are listed on the classpaths tab. Click<strong> OK</strong>.</li>
</ol>
<p align="center"><a href="http://foxr.aeoliandigital.com/wp-content/uploads/img_tut01_flash_pubset_clspths.png"><img src="/wp-content/uploads/img_tut01_flash_pubset_clspths-203x300.png" alt="Flash Classpaths" title="Flash Classpaths" width="203" height="300" class="size-medium wp-image-180" /></a><br />Flash Classpath Settings</p>
<ol start="8">
<li>Click <strong>OK</strong> on the Publish Settings dialog.</li>
<li>Test the movie (<strong>Control &gt; Delete ASO Files and Test Movie</strong>).</li>
</ol>
<p><a name="step4"></a></p>
<h2>Step 4: Changing the default movie text</h2>
<p>Now that we have our FoxR project up and running, the next step will be to dive in and start customizing the default template. In Part two of lesson 1, we will look under the hood of the project template and see how FoxR handles copy, styles and movie settings. Stay tuned!</p>
<p><a name="downloads"></a></p>
<h2>Appendix: Asset Downloads</h2>
<p>Download the tools featured in this tutorial:</p>
<div style="border: 1px solid black; padding: 8px; background: #dedede none repeat scroll 0% 0%; width: 95%; text-align: center;">
<div style="float: left; margin-left: 35px; width: 90px; text-align: center;"><a href="http://www.flashdevelop.org/community/viewforum.php?f=11"><img class="size-full wp-image-149" title="Download FlashDevelop 3" src="http://foxr.aeoliandigital.com/wp-content/uploads/flashdevelop_dockicon.png" alt="Download FlashDevelop 3" width="65" height="65" align="absmiddle" /></a></p>
<p>Flash Develop 3</p></div>
<div style="float: left; margin-left: 15px; width: 90px; text-align: center;"><a href="http://www.eclipse.org/downloads/"><img class="size-full wp-image-150" title="Download Eclipse" src="http://foxr.aeoliandigital.com/wp-content/uploads/eclipse.png" alt="Download Eclipse" width="65" height="65" align="absmiddle" /></a></p>
<p>Eclipse</p></div>
<div style="float: left; margin-left: 15px; width: 90px; text-align: center;"><a href="http://labs.adobe.com/technologies/flashbuilder4/"><img class="size-full wp-image-150" title="Download Flash Builder" src="http://foxr.aeoliandigital.com/wp-content/uploads/flash-builder.gif" alt="Download Flash Builder" width="65" height="65" align="absmiddle" /></a></p>
<p>Flash Builder 4 Beta</p></div>
<div style="float: left; margin-left: 15px; width: 90px; text-align: center;"><a href="http://www.adobe.com/downloads/"><img class="size-full wp-image-150" title="Download Flash CS4 Trial" src="http://foxr.aeoliandigital.com/wp-content/uploads/flashcs3_icon.jpg" alt="Download Flash CS4 Trial" width="65" height="65" align="absmiddle" /></a></p>
<p>Flash CS4 Trial</p></div>
<p><br clear="all" />
</div>
]]></content:encoded>
			<wfw:commentRss>http://foxr.aeoliandigital.com/archives/140/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MVC and PureMVC Tutorials</title>
		<link>http://foxr.aeoliandigital.com/archives/134</link>
		<comments>http://foxr.aeoliandigital.com/archives/134#comments</comments>
		<pubDate>Thu, 05 Nov 2009 19:11:09 +0000</pubDate>
		<dc:creator>jfox015</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[PureMVC]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://foxr.aeoliandigital.com/?p=134</guid>
		<description><![CDATA[I came across this article browsing for PureMvc info the other day on Active Tuts Plus. It is an excellent walk through of the PureMVC implementation for AS3. It takes you from soup to nuts to build a working Flikr feed gallery. Anyone who is looking at FoxR but is light onÂ  Pure MVC knowledge [...]]]></description>
			<content:encoded><![CDATA[<p>I came across this article browsing for PureMvc info the other day on <a href="http://active.tutsplus.com/" target="_blank"><strong>Active Tuts Plus</strong></a>. It is an excellent walk through of the PureMVC implementation for AS3. It takes you from soup to nuts to build a working Flikr feed gallery. Anyone who is looking at FoxR but is light onÂ  Pure MVC knowledge or experience should check that out.</p>
<p><a href="http://active.tutsplus.com/tutorials/workflow/understanding-the-puremvc-open-source-framework/" target="_blank">Understanding the PureMVC Open Source Framework</a></p>
<p>And if you happen to be light on MVC in general, my former colleague <strong>Thaylin Burns</strong> put together a MVC walk through on his blog as well.</p>
<p><a title="MVC (Model-View-Controller) introduction simplified" href="http://thaylin.info/blog/2009/11/04/mvc-model-view-controller-introduction-simplified/">MVC (Model-View-Controller) introduction simplified</a>.</p>
<p>There is also a very simplified lesson by Colin Moock that some might find helpful as well: <a href="http://www.moock.org/lectures/mvc/">Colin Moock&#8217;s MVC Lecture</a>.</p>
<p>Enjoy and please give these authors feedback on their work.</p>
]]></content:encoded>
			<wfw:commentRss>http://foxr.aeoliandigital.com/archives/134/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mate, an alternative MVC Framework?</title>
		<link>http://foxr.aeoliandigital.com/archives/126</link>
		<comments>http://foxr.aeoliandigital.com/archives/126#comments</comments>
		<pubDate>Thu, 22 Oct 2009 15:33:26 +0000</pubDate>
		<dc:creator>jfox015</dc:creator>
				<category><![CDATA[MVC]]></category>
		<category><![CDATA[PureMVC]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[frameworks]]></category>

		<guid isPermaLink="false">http://foxr.aeoliandigital.com/?p=126</guid>
		<description><![CDATA[I just read an interesting blog post by John Blanco at Rapture in Venice called "Why I Switched from PureMVC to Mateâ€¦". I've not heard of Mate before so this was an introduction to a different type of MVC framework besides PureMVC.]]></description>
			<content:encoded><![CDATA[<p>I just read an interesting blog post by John Blanco at Rapture in Venice called &#8220;<a title="Permalink to: Why  I Switched from PureMVC to Mateâ€¦" rel="bookmark" href="http://raptureinvenice.com/blog/?p=45">Why  I Switched from PureMVC to Mateâ€¦</a>&#8220;. I&#8217;ve not heard of Mate before so this was an introduction to a different type of MVC framework besides PureMVC.</p>
<p>Despite reading this, I won&#8217;t be cutting the cord on PureMVC (seeing how I just switched over to it this summer) because it&#8217;s a tag based framework specifically for Flex. But it is good to be informed that there is another fish in the water in case it;s brought to my attention.</p>
]]></content:encoded>
			<wfw:commentRss>http://foxr.aeoliandigital.com/archives/126/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Critical Fix &#8211; 0.2.1 Alpha</title>
		<link>http://foxr.aeoliandigital.com/archives/117</link>
		<comments>http://foxr.aeoliandigital.com/archives/117#comments</comments>
		<pubDate>Wed, 21 Oct 2009 17:23:28 +0000</pubDate>
		<dc:creator>jfox015</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[FoxR]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://foxr.aeoliandigital.com/?p=117</guid>
		<description><![CDATA[Former colleague Richard Kelly identified a big issue today in the Date and Calendar components area. com.foxr.util.DateUtils.as was outright missing from the framework (migration issue when I rebuilt FoxR under PureMVC) and the Calendar components were not updated to support the changes I made to the TextElement text and string support that was revised in [...]]]></description>
			<content:encoded><![CDATA[<p>Former colleague Richard Kelly identified a big issue today in the Date and Calendar components area. <strong>com.foxr.util.DateUtils.as</strong> was outright missing from the framework (migration issue when I rebuilt FoxR under PureMVC) and the Calendar components were not updated to support the changes I made to the TextElement text and string support that was revised in the 0.2 release.</p>
<p>This is why I threw this out as an alpha to identify things like this. The 0.2.1 update is committed to SVN at the <a href="http://code.google.com/p/foxr/" target="_blank">Google Code site</a> and the 0.2 ZIP has also been updated in the <a href="http://foxr.aeoliandigital.com/releases">Releases </a>section of the site.</p>
<p>Thanks to Richard for the big heads up.</p>
]]></content:encoded>
			<wfw:commentRss>http://foxr.aeoliandigital.com/archives/117/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
