<?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>Forest and the Trees &#187; FDT</title>
	<atom:link href="http://www.forestandthetrees.com/category/fdt/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.forestandthetrees.com</link>
	<description>Data Visualization with Flex and Flash</description>
	<lastBuildDate>Fri, 11 Jun 2010 15:35:57 +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>Word Wrap in Eclipse</title>
		<link>http://www.forestandthetrees.com/2006/11/29/word-wrap-in-eclipse/</link>
		<comments>http://www.forestandthetrees.com/2006/11/29/word-wrap-in-eclipse/#comments</comments>
		<pubDate>Wed, 29 Nov 2006 19:12:32 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[FDT]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.forestandthetrees.com/?p=99</guid>
		<description><![CDATA[How to install a plug-in to enable word wrapping in Eclipse. Handy. Now if I could find a way to drag text around (and Ctrl-drag text).]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.brajeshwar.com/archives/2006/08/word-wrap-in-eclipse/">How to install a plug-in to enable word wrapping in Eclipse.</a> Handy.</p>
<p>Now if I could find a way to drag text around (and Ctrl-drag text). </p>
]]></content:encoded>
			<wfw:commentRss>http://www.forestandthetrees.com/2006/11/29/word-wrap-in-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up FDT and SOS</title>
		<link>http://www.forestandthetrees.com/2006/11/06/setting-up-fdt-and-sos/</link>
		<comments>http://www.forestandthetrees.com/2006/11/06/setting-up-fdt-and-sos/#comments</comments>
		<pubDate>Mon, 06 Nov 2006 15:18:30 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[FDT]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.forestandthetrees.com/?p=89</guid>
		<description><![CDATA[I&#8217;ve been using Eclipse with FDT for Flash development for a while now. FDT is great. But, getting it running can be a bit of a headache. Here&#8217;s a list of tutorials that I&#8217;ve found helpful. If you follow these tutorials in order, you should be able to get up and running. 1. Elite Media&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://www.eclipse.org/">Eclipse </a>with <a href="http://fdt.powerflasher.com/flashsite/flash.htm">FDT </a>for Flash development for a while now. FDT is great. But, getting it running can be a bit of a headache. Here&#8217;s a list of tutorials that I&#8217;ve found helpful. If you follow these tutorials in order, you should be able to get up and running.</p>
<p>1. <a href="http://elitemedia.blogspot.com/2005/09/installing-eclipse-mtasc-fdt-in.html">Elite Media&#8217;s getting started</a>. I now use <a href="https://sdlc4b.sun.com/ECom/EComActionServlet;jsessionid=B285378756487CCCC68C227077A5B574">Java 5</a> and <a href="http://www.eclipse.org/downloads/">Eclipse 3.2</a>. </p>
<p>2. Next check out Sam Rivello&#8217;s talk.  <a href="http://fdt.powerflasher.com/links/files/Benefits_of_the_Flash_Development_Toolkit_FDT_External_Actionscript_Editor.zip">Docs </a>and <a href="http://www.laflash.org/forum/showthread.php?p=5791#post5791">breeze prez</a>. I didn&#8217;t make it through the breeze, but the docs are very helpful for setting up the Eclipse environment.</p>
<p>3. Then you&#8217;ll need a way to trace for debugging. There are a few options to do this. I use <a href="http://sos.powerflasher.de/english/english.html">SOS</a>. Daniel Heidecke gives a <a href="http://blog.diefirma.de/2006-02-22/howto-fdt-mtasc-and-sos/">tutorial on using the SOS debugger here</a>. This example also goes over how to use Flash assets in FDT. Here is the code I always use for setting up SOS (I always you this class as the entry point for apps). After using this code, just use trace(&#8216;text to trace&#8217;) like you would in the Flash IDE.</p>
<p><code>class Main {<br />
	private static var sock : XMLSocket;<br />
	//main function for MTASC<br />
	public static function main() : Void {<br />
		Stage.align = "TL";<br />
		Stage.scaleMode = "noScale";<br />
		//disable trace before sending to client - otherwise can cause a security error<br />
		enableTrace();<br />
                //start your app here.....e.g....<br />
               var myApp:MyApp=new MyApp();<br />
	}<br />
	private static function enableTrace():Void{<br />
		// connect to sos<br />
		sock = new XMLSocket();<br />
		sock.connect("localhost",4444);<br />
		trace("connected");<br />
	}<br />
	//REMEMBER:  add  -trace "Main.myTrace" to the MTASC args<br />
	public static function myTrace(obj : Object, fullclass : String, file : String, line : Number) : Void {<br />
		sock.send("msg: " + obj + "\nclass: " + fullclass + "\nline: " + line + "\n\n");<br />
	}<br />
}</code></p>
<p>That should be enough to get started. After that, take a look at Xavi Bemeula&#8217;s <a href="http://www.actionscript.com/Article/tabid/54/ArticleID/Optimizing-Your-Workflow-with-Eclipse-and-FDT/Default.aspx">tutorial on optimizing FDT</a>. It has lots of Eclipse and FDT development tips.</p>
<p>Finally more helpful <a href="http://fdt.powerflasher.com/links/">links here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.forestandthetrees.com/2006/11/06/setting-up-fdt-and-sos/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
