<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>H1DD3N.R350URC3 &#187; Tutorial</title>
	<atom:link href="http://blog.hexagonstar.com/tag/tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hexagonstar.com</link>
	<description>turn-based glory and pixel pleasure</description>
	<lastBuildDate>Sat, 10 Dec 2011 02:45:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Setting up Eclipse for Flash Development</title>
		<link>http://blog.hexagonstar.com/setting-up-eclipse-for-flash-development/</link>
		<comments>http://blog.hexagonstar.com/setting-up-eclipse-for-flash-development/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 18:49:31 +0000</pubDate>
		<dc:creator>sascha</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[Random Picks]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Ant]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Editor]]></category>
		<category><![CDATA[FDT]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[MXML]]></category>
		<category><![CDATA[No blue Legos here!]]></category>
		<category><![CDATA[Steve Jobs sucks]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.hexagonstar.com/?p=1615</guid>
		<description><![CDATA[This guide explains how to set up a Flash and Flex development environment with Eclipse, FDT, Flash Builder and a couple of other editors that you want for ActionScript coding and Flash development with style! This guide is based on Windows because that&#8217;s what I&#8217;m using but I&#8217;m sure you Mac and Linux guys can [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-1683" title="tufdesetupbanner" src="http://blog.hexagonstar.com/wp-content/uploads/tufdesetupbanner.jpg" alt="" width="510" height="160" /></p>
<p>This guide explains how to set up a Flash and Flex development environment with Eclipse, FDT, Flash Builder and a couple of other editors that you want for ActionScript coding and Flash development with style! This guide is based on Windows because that&#8217;s what I&#8217;m using but I&#8217;m sure you Mac and Linux guys can figure out the parts that differ on your OS! Let&#8217;s get started &#8230;</p>
<p><span id="more-1615"></span></p>
<hr /><strong>INGREDIENTS</strong></p>
<p><strong><br />
</strong></p>
<ul>
<li><strong>Java Runtime</strong> &#8211; In case you don&#8217;t have it installed yet. Choose either the <a href="http://www.java.com/en/download/manual.jsp" target="_blank">Standard Java Runtime from Sun</a> or  &#8211; my recommendation &#8211; the <a href="http://www.oracle.com/technology/software/products/jrockit/index.html" target="_blank">JRockit Runtime from Oracle</a>. The latter is a highly optimized version of the Java Runtime. It&#8217;s free but you have to register an account at Oracle to download it.</li>
<li><a href="http://download.eclipse.org/eclipse/downloads/" target="_blank"><strong>Eclipse Platform Runtime Binary</strong></a> &#8211; We want the bare bones version without all the additional junk. We&#8217;re going to add the stuff we need later. Don&#8217;t worry! It&#8217;ll be a smooth ride if you follow this guide.</li>
<li><a href="http://www.fdt.powerflasher.com/developer-tools/fdt-3/home/" target="_blank"><strong>Powerflasher FDT</strong></a> &#8211; The best tool for ActionScript coding &#8230; with a price tag! But you don&#8217;t want to skimp on professional tools for professional work, do you?! We&#8217;re going to install this from within Eclipse later!</li>
<li><a href="http://labs.adobe.com/technologies/flashbuilder4/" target="_blank"><strong>Flash Builder PlugIn</strong></a> &#8211; I&#8217;d list this as optional since the only advantage of it over FDT is currently it&#8217;s visual editor. You don&#8217;t want to code ActionScript in this once you&#8217;ve used FDT, believe me!</li>
<li> <strong>Other Eclipse PlugIns: HTML-, JavaScript-, XML-, CSS- Editors, Apache Ant (via JDT)</strong>. These are all tools we need every now and then. Gratifyingly, the Eclipse project provides excellent versions of all these.</li>
<li><strong>Even more Eclipse PlugIns:</strong> <a href="http://subclipse.tigris.org/" target="_blank"><strong>Subclipse</strong></a> and <strong><a href="http://www.eclipse.org/mylyn/" target="_blank">Mylyn</a></strong>. Both optional! Subclipse for accessing SVN repositories and Mylyn as a great coding task tool. Both get installed later via Eclipse.</li>
</ul>
<p><strong>Other Tools you might need/want:</strong></p>
<ul>
<li><a href="http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK" target="_blank"><strong>Flex SDK</strong></a> &#8211; FDT ships with it&#8217;s own Flex SDK but they are usually a step behind the latest version so I prefer to use SDKs that stand on their own regardless of what FDT ships. Be sure to pick the &#8216;Adobe Flex SDK&#8217;, not the &#8216;Open Source Flex SDK&#8217; since that one is missing a few things. Also you might want to have several different SDKs installed like for example Flex 3.x and Flex 4 which you can target individually from FDT. If you want to use Ant build files later to build your projects it&#8217;s a good idea to place the SDKs in a clean and easy folder hierarchy, e.g. let&#8217;s say I have Flex SDK 3.5 and 4.0 on my system then I would put them under <em>C:\Users\username\Applications\FlexSDK\3.5.0</em> and <em>C:\Users\username\Applications\FlexSDK\4.0.0</em>. I remember having trouble with spaces in path names when I experimented with <a href="http://labs.adobe.com/technologies/alchemy/" target="_blank">Alchemy</a> hence I decided to not put the SDKs into a subfolder in &#8216;Program Files&#8217;.</li>
<li><strong><a href="http://www.adobe.com/support/flashplayer/downloads.html" target="_blank">Flash Player Runtimes</a></strong> &#8211; Debug versions, release versions, browser plugins and whatnot. I typically disregard all the versions that come with any Flex SDK or Flash IDE and copy the newest version into a folder that always stays the same (for example <em>C:/Program Files/Adobe/Flash Player/Debug/FlashPlayer.exe</em> and <em>C:/Program Files (x86)/Adobe/Flash Player/Release/FlashPlayer.exe</em>) because it can get messy if you have X different SDK versions plus the  Flash IDE, plus Flash Builder etc. installed that all come with their own runtimes.</li>
<li><strong><a href="http://www.adobe.com/products/air/" target="_blank">Adobe AIR</a></strong> &#8211; because Flash development would be only half the fun without it!</li>
<li><a href="http://www.adobe.com/products/flash/" target="_blank"><strong>Adobe Flash</strong></a> &#8211; The ol&#8217; Flash IDE. If you code with this you will become impotent but it&#8217;s still great for putting visual assets together and use these as SWC&#8217;s with FDT.</li>
<li><a href="http://blog.hexagonstar.com/downloads/alcon/" target="_blank"><strong>Alcon</strong></a> &#8211; My own little debugging and logging tool. There&#8217;s a good choice of similar loggers out there but Alcon still serves me well. Suit yourself.</li>
</ul>
<hr /><strong>INSTALLATION</strong></p>
<p><strong><br />
</strong></p>
<ol>
<li><strong>Java Runtime</strong><br />
This should be straightforward! Choose the one you prefer from the links above and install. If you go for the JRockit one, you might want to set an environment variable (under Windows) named JAVA_HOME that points to your JRockit runtime path. For example I have my JRockit installed in <em>C:\Program Files (x86)\Java\jrrt</em>, (under Windows 7) open the Start menu, from there navigate to <em>Control Panel/System and Security/System</em>, click the <em>Advanced system settings</em> link on the left of the window, in the <em>System Properties</em> dialog click the <em>Environment Variables</em> button, then click the <em>New&#8230;</em> button under <em>System variables</em> and enter <em>JAVA_HOME</em> as the <em>Variable name</em> and <em>C:\Program Files (x86)\Java\jrrt\jre</em> (in my example) as the <em>Variable value</em>. You might have to reboot or at least relogin for this setting to take effect.</li>
<li><strong>Eclipse</strong><br />
Download the <a href="http://download.eclipse.org/eclipse/downloads/" target="_blank">Eclipse Platform Runtime Binary</a> (currently v3.5.2, ~47MB) and unpack it. Copy the Eclipse folder to where you like, typically something like  <em>C:\Program Files\Eclipse</em> but I prefer to have my installation under <em>C:\Users\username\Applications\Eclipse</em>. The reason for this is that under Windows with UAC turned on Eclipse will create an additional folder in your user location where it stores all your installed PlugIns so you end up with two locations in that things get installed. This led to discrepancies more than once for me before due to ambiguous PlugIn installs. Very, very annoying so eventually I decided to keep it simple and have it in a non-UAC protected location.  The <em>C:\Users\username\Applications</em> folder is my place for all applications that have trouble with UAC.<br />
Either way, you have your Eclipse where you want it, next step is to edit the <em>eclipse.ini</em>. Your default eclipse.ini will look similar to this:</p>
<pre>-startup
plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Xms40m
-Xmx256m</pre>
<p>And this is how it &#8216;should&#8217; look after you edit it:</p>
<pre>-vm "C:\Program Files (x86)\Java\jrrt\jre\bin\javaw.exe"
-startup
plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-XX:MaxGCPauseMillis=10
-XX:MaxPermSize=128m
-XX:PermSize=64m
-XX:+UseParallelGC
-Xms128m
-Xmx1024m</pre>
<p>If you don&#8217;t use JRockit you can skip the first line, if you do use JRockit you need to adapt the first line to point to  your JRockit jawaw.exe!<br />
The -XX:MaxGCPauseMillis=10, -XX:MaxPermSize=128m, -XX:PermSize=64m and -XX:+UseParallelGC lines are not mandatory but they improve performance (or so I&#8217;ve heard!). Just be sure to set Xms and Xmx high enough, to at least 128 and 512, but better 1024 (Eclipse and FDT need LOADS of RAM!).<br />
Next fire up Eclipse and choose your Workspace location. Eclipse will present itself with its nice and warm intro screen &#8230;<br />
<a href="http://blog.hexagonstar.com/wp-content/uploads/eclipse_intro_screen.jpg" rel="lightbox[1615]"><img class="aligncenter size-large wp-image-1644" title="eclipse_intro_screen" src="http://blog.hexagonstar.com/wp-content/uploads/eclipse_intro_screen-1024x698.jpg" alt="" width="490" height="334" /></a></li>
<li><strong>JDT &amp; Ant</strong><br />
Click through to the Workbench (the arrow on the right) and from the menu choose <em>Help/Install New Software&#8230;</em> then in the Install window  where it says &#8220;Work with:&#8221; choose the Galileo update site (<em>Galileo &#8211; http://download.eclipse.org/releases/galileo</em>) and in the tree list that shows up, unfold the <em>Programming Languages</em> branch and check <em>Eclipse Java Development Tools</em>. Then click the <em>Next</em> button and follow the install procedure. Restart Eclipse when it asks you to do so after the installation.<br />
<a href="http://blog.hexagonstar.com/wp-content/uploads/eclipse_001.jpg" rel="lightbox[1615]"><img class="aligncenter size-large wp-image-1653" title="eclipse_001" src="http://blog.hexagonstar.com/wp-content/uploads/eclipse_001-490x455.jpg" alt="" width="490" height="455" /></a></li>
<li><strong>HTML-, JavaScript-, XML- and CSS- Editors</strong><strong><br />
</strong>This is the exact same procedure as in step 3 with the difference that you unfold the <em>Web, XML, and Java EE Development</em> category and check the <em>Eclipse Web Developer Tools</em>, <em>Eclipse XML Editors and Tools</em> and the <em>JavaScript Developer Tools</em>.<br />
<a href="http://blog.hexagonstar.com/wp-content/uploads/eclipse_002.jpg" rel="lightbox[1615]"><img class="aligncenter size-large wp-image-1658" title="eclipse_002" src="http://blog.hexagonstar.com/wp-content/uploads/eclipse_002-490x442.jpg" alt="" width="490" height="442" /></a></li>
<li><strong>Subclipse</strong><br />
Next things next! For Subclipse we need to add the update URL to Eclipse. Open The Eclipse Install window again, click the <em>Add&#8230;</em> button and enter <em>Subclipse 1.6</em> as the name and <em>http://subclipse.tigris.org/update_1.6.x</em> as the location (or you might wanna check the <a href="http://subclipse.tigris.org/" target="_blank">official Subclipse site</a> for any newer update URLs) &#8230;<br />
<a href="http://blog.hexagonstar.com/wp-content/uploads/eclipse_003.jpg" rel="lightbox[1615]"><img class="aligncenter size-large wp-image-1668" title="eclipse_003" src="http://blog.hexagonstar.com/wp-content/uploads/eclipse_003-490x205.jpg" alt="" width="490" height="205" /></a>&#8230; Hit OK and choose the required Subclipse components from the tree list. You need at least the parts that are marked as required but I also pick <em>Integration for Mylyn</em>, the <em>SVNKit Library</em>, <em>SVNKit Client Adapter</em> and the <em>JNA Library</em>. Can&#8217;t hurt to have them on board! After that click Next ansd from there on the procedure is very much the same as before with step 3 and 4.<br />
<a href="http://blog.hexagonstar.com/wp-content/uploads/eclipse_004.jpg" rel="lightbox[1615]"><img class="aligncenter size-large wp-image-1671" title="eclipse_004" src="http://blog.hexagonstar.com/wp-content/uploads/eclipse_004-469x490.jpg" alt="" width="469" height="490" /></a></li>
<li><strong>Mylyn</strong><br />
We can install Mylyn and all its dependencies again from the Galileo update site just as above under step 3 and 4. You&#8217;ll find Mylyn in the <em>Collaboration</em> category. I&#8217;ll go for <em>Mylyn Task List</em>, <em>Mylyn Task-Focused Interface</em>, <em>Mylyn WikiText</em> and <em>Mylyn Bridge: Eclipse IDE</em>. There are some other bridges for other Languages if you want them but since FDT has no support for Mylyn yet there&#8217;s nothing for ActionScript. However we can still put Mylyn to good use for our ActionScript programming, we just don&#8217;t get the same task-focused integration as with Java or C++.<br />
<a href="http://blog.hexagonstar.com/wp-content/uploads/eclipse_005.jpg" rel="lightbox[1615]"><img class="aligncenter size-large wp-image-1673" title="eclipse_005" src="http://blog.hexagonstar.com/wp-content/uploads/eclipse_005-436x490.jpg" alt="" width="436" height="490" /></a></li>
<li><strong>FDT</strong><br />
Time to install the FDT trial! We need to enter the update site just as with Subclipse in step 5. For the update site enter <em>FDT</em> as name and <em>http://fdt.powerflasher.com/update/</em> as the location (or check the <a href="http://www.fdt.powerflasher.com/developer-tools/fdt-3/download/" target="_blank">Powerflasher website</a> in case the URL changed). Pick the FDT version(s) that you want to install from the tree list, hit <em>Next</em> and go drink a coffee! Installing FDT will take a couple of minutes. Don&#8217;t forget to restart Eclipse after install!<br />
<a href="http://blog.hexagonstar.com/wp-content/uploads/eclipse_006.jpg" rel="lightbox[1615]"><img class="aligncenter size-large wp-image-1675" title="eclipse_006" src="http://blog.hexagonstar.com/wp-content/uploads/eclipse_006-490x427.jpg" alt="" width="490" height="427" /></a></li>
<li><strong>Flash Builder PlugIn</strong><br />
At last we install Flash Builder! This step is wholly optional! If you don&#8217;t have any use for Flash Builder&#8217;s visual editor I actually recommend to skip this step and instead enjoy a more lightweight Eclipse without Flash Builder.<br />
Head over to Adobe and download the Flash Builder PlugIn trial version (at the time of this writing it&#8217;s the Flash Builder 4 beta 2 which can be found at the <a href="http://labs.adobe.com/technologies/flashbuilder4/" target="_blank">Adobe Labs</a>). You might be required to register at Adobe to download the trial.<br />
Next quit your Eclipse and start the downloaded Flash Builder installer. Go through the installation steps and when it asks for the Eclipse install choose <em>Plug into another copy of Eclipse</em> and enter the path to your freshly prepared Eclipse location &#8230;<br />
<a href="http://blog.hexagonstar.com/wp-content/uploads/flashbuilder_001.jpg" rel="lightbox[1615]"><img class="aligncenter size-large wp-image-1678" title="flashbuilder_001" src="http://blog.hexagonstar.com/wp-content/uploads/flashbuilder_001-490x355.jpg" alt="" width="490" height="355" /></a>&#8230; continue the installation, then go drink another coffee, installing Flash Builder takes long!</li>
<li><strong>Bonus Step</strong><br />
Download <a href="http://blog.hexagonstar.com/wp-content/uploads/splash.bmp" target="_blank" rel="lightbox[1615]">this slick Splash screen</a> and replace the unlucky default Eclipse Splash screen with it by copying it to your Eclipse/plugins/org.eclipse.platform_x.x.xxx&#8230; folder. <img src='http://blog.hexagonstar.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
<a href="http://blog.hexagonstar.com/wp-content/uploads/splash.bmp" rel="lightbox[1615]"><img class="aligncenter size-full wp-image-1680" title="splash" src="http://blog.hexagonstar.com/wp-content/uploads/splash.bmp" alt="" /></a></li>
</ol>
<p>And that&#8217;s all for now! With this setup you have your one-stop-shop for Flash and Flex development at your fingertips! In the next part I will try to guide through some configuring of Eclipse, in particular on how to use FDT and Flash Builder on the same project.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hexagonstar.com/setting-up-eclipse-for-flash-development/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Setting up Eclipse for Flash Developers</title>
		<link>http://blog.hexagonstar.com/eclipse-for-flash-devs/</link>
		<comments>http://blog.hexagonstar.com/eclipse-for-flash-devs/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 17:19:07 +0000</pubDate>
		<dc:creator>sascha</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[FDT]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://blog.hexagonstar.com/?p=665</guid>
		<description><![CDATA[I&#8217;ve been using Eclipse and FDT for several years now to develop Flash (and Flex) applications but I never really managed to set up Eclipse to exactly fit my needs. Either some desired tools were missing or I installed plug-ins that slowed down Eclipse with a truck load of stuff that I never need. So [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using Eclipse and FDT for several years now to develop Flash (and Flex) applications but I never really managed to set up Eclipse to exactly fit my needs. Either some desired tools were missing or I installed plug-ins that slowed down Eclipse with a truck load of stuff that I never need.</p>
<p>So today I finally figured out how to install the plug-ins that I really need and nothing else (well &#8230; almost nothing else). The following guide describes how you can set up your own custom Eclipse tailored for Flash/Flex development which features FDT plus Subclipse, a HTML, CSS, JavaScript and XML Editor and then some. The CSS Editor becomes especially useful for Flex Stylesheets.</p>
<p><span id="more-665"></span><strong> </strong></p>
<hr /><strong>UPDATE: This guide is now outdated! I recommend to head over to my newest guide of</strong> <a href="http://blog.hexagonstar.com/setting-up-the-ultimate-flash-development-environment/" target="_self"><strong>Setting up the Ultimate Flash Development Environment</strong></a>!</p>
<hr />
<ol>
<li>First I recommend to wipe your standard Sun Java runtime and install JRockit instead. JRockit is a highly optimized Java runtime from Oracle which is free and can be downloaded <a href="http://www.oracle.com/technology/software/products/jrockit/index.html" target="_blank">here</a>. I recommend getting the &#8216;Real-Time&#8217; version (you have to register at their site to be able to download but I&#8217;d say it&#8217;s worth it).<br />
You might also want to add a system variable under Windows named JAVA_HOME that points to the JRockit runtime path if you want the Flex SDK compiler to make use of JRockit.</li>
<li>Go to <a href="http://www.eclipse.org/downloads/" target="_blank">eclipse.org</a> and download the &#8220;Eclipse IDE for Java Developers&#8221; (~85MB). Currently the latest version of Eclipse Ganymede is v3.4.2. The reason I choose the Java Dev distribution is because it is not as loaded as the Classic version or some other versions (we don&#8217;t need Plug-In development do we?!) but it contains some niceties which can be very useful for us, notably Mylyn, a decent XML editor and a cool Snippets plug-in which can be useful even though we already get the Templates feature with FDT.<br />
<strong>Note for Vista users:</strong> If you&#8217;re under Windows Vista and use UAC like me, I recommend <strong>not</strong> to put the Eclipse folder into your Program Files. If you do this Eclipse will split up your installation and put all your additional plug-ins into a sub folder in your user folder. And so far I&#8217;ve always ran into troubles with this when updating Plug-ins at a later time. Instead I&#8217;ve created a folder named &#8216;Applications&#8217; in my user folder into which I install all applications that have trouble with Vista&#8217;s UAC, and so Eclipse is placed there as well (e.g. C:UsersusernameApplicationsEclipse).</li>
<li>Next edit your <strong>eclipse.ini</strong> to something like the following:
<pre>-vm "C:Program Files (x86)/Java/jrrt/jre/bin/javaw.exe"
-showsplash
-framework
pluginsorg.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar
-vmargs
-Xms768M
-Xmx768M
-XX:PermSize=256M
-XX:MaxPermSize=512M
-XX:+UseParallelGC</pre>
<p>&#8230; of course you need to correct the path to the JRockit runtime and you might need to change Xms/Xmx as your system fits, however a minimum of 512MB is recommended for use with FDT. (While you&#8217;re at it, you might wanna replace the splash.bmp file in Eclipse/plugins/ org.eclipse.platform_x.x.xxx.vxxxxxxxxxxxx which <a href="http://kg.mango12.com/misc/splash3.png" target="_blank" rel="lightbox[665]">this</a> one).</li>
<li>Install Subclipse by adding the Subclipse update URL from the <a href="http://subclipse.tigris.org/servlets/ProjectProcess;jsessionid=8023915D3AB7320031DEB03FFD7E666C?pageID=p4wYuA" target="_blank">Subclipse website</a> to your Eclipse Help/Software Updates dialog. I recommend the 1.4.x release as in the 1.6.x release SVNKit seems not to be supported at the time of this writing. Be sure to install &#8230;
<ul>
<li>Subclipse</li>
<li>Client Adapter</li>
<li>Native Library Adapter</li>
<li>JNA Library</li>
<li>SVNKit Client Adapter</li>
<li>SVNKit Library</li>
</ul>
<p>&#8230; and &#8211; if you want &#8211; Subclipse Integration for Mylyn and Subversion Revision Graph. Restart Eclipse after install.</li>
<li>Next up is Aptana, or at least the parts that we want from it. By default Aptana comes with a freight full of web dev stuff that we as Flash deveopers probably wont ever need. However I find it useful to have a decent HTML, CSS and Javascript editor at hand.<br />
Grab the Aptana update URL from their <a href="http://aptana.com/studio/download/thanks?platform=plugin&amp;os=false&amp;ev=3.4" target="_blank">site</a> (probably <strong>http://update.aptana.com/update/studio/3.4</strong> ) and proceed the same way as with Subclipse. Aptana will first install a bootstrap installer after which Eclipse is restarted and then starts with the real installation. At that point you are able to choose which components of Aptana you want to install. I choose the following &#8230;</p>
<ul>
<li>Aptana Editor Infrastructure</li>
<li>HTML Editor</li>
<li>CSS Editor</li>
<li>Javascript Editor</li>
</ul>
<p>Let it download and install those parts. After install and Eclipse restart for some strange reason Aptana will continue to nag us with the install dialog to install other parts of the Aptana package (probably the Aptana Web Development Tools). But we don&#8217;t want all that baggage, right?! To get rid of the install nag, press cancel, quit Eclipse and then do the following &#8230;</p>
<ul>
<li>navigate to Eclipse/features and delete or move the<br />
<strong>com.aptana.ide.feature.eclipseXX. aptana.bootstrap _X.X.X.XXXXX-XXXXXXXX</strong> folder.</li>
<li>navigate to Eclipse/plugins and delete or move the files:<br />
<strong>com.aptana.ide.eclipseXX.aptana.bootstrap_X.X.X.XXXXX.jar</strong><br />
<strong>com.aptana.ide.server.portal_X.X.X.XXXXXX.jar</strong><br />
<strong>org.mortbay.jetty_X.X.XX.vXXXXXXXXXXXX.jar</strong></li>
</ul>
<p>Removing the first three parts kills the install nag. The last file is not really necessary to delete but doing so prevents a feature of Aptana that establishes a HTML preview server even though we only want to build Flash projects.</li>
<li>At last we install our main tool, FDT. Get the update URL from the <a href="http://solutions.powerflasher.com/products/fdt-3-actionscript-editor/how-to-install-fdt/" target="_blank">FDT website</a>, add it to your Eclipse Software Updates dialog as usual and proceed to install. I choose the latest beta which is at <strong>http://fdt.powerflasher.com/update_beta/</strong>. Installing FDT might take a while as the package is quite large, including a shipped version of the Flex SDK.</li>
<li>Finished! Enjoy your light-weight (in Eclipse terms) setup and start coding your soul out! I hope this guide was useful for anyone to get their Eclipse install right! However I&#8217;m by no means an Eclipse expert so if you got any hints or improvement notes to make the install even better let us know!</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.hexagonstar.com/eclipse-for-flash-devs/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>Tutorial: Creating a Galaxy in Photoshop</title>
		<link>http://blog.hexagonstar.com/galaxy-tutorial/</link>
		<comments>http://blog.hexagonstar.com/galaxy-tutorial/#comments</comments>
		<pubDate>Sat, 19 Jul 2008 15:13:34 +0000</pubDate>
		<dc:creator>sascha</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Random Picks]]></category>
		<category><![CDATA[Artwork]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Sci-Fi]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.hexagonstar.com/?p=459</guid>
		<description><![CDATA[In this tutorial I will explain how to create a relatively realistic looking galaxy with Photoshop. I was searching the web up- and downwards to find any tutorials that could tell me how to get a similar fantastic result. There are like 100.000 planet tutorials out there and the few tutorials which were about creating [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-485" title="galaxy" src="http://blog.hexagonstar.com/wp-content/uploads/galaxy_banner.jpg" alt="" width="500" height="200" /></p>
<p>In this tutorial I will explain how to create a relatively realistic looking galaxy with Photoshop. I was searching the web up- and downwards to find any tutorials that could tell me how to get a similar fantastic result. There are like 100.000 planet tutorials out there and the few tutorials which were about creating a galaxy where either very basic or the result looked like everything but a realistic galaxy. The galaxy I wanted should have looked massive and intricate &#8230; just like the real ones but with a slightly more artistic touch. I’ve needed a galaxy that I could use as a star map for a space-themed roleplaying game design and the image you see above is a part of the result. Let’s go try to do such one &#8230;</p>
<p><span id="more-459"></span></p>
<p>There’s a lot to do to create such a Behemoth so let’s get started! I’ve used Photoshop CS3 for this but it should be possible to create this with CS2 and CS1 as well since none of the really new Photoshop features are required. If I do use any of the newer features then there is a way to get the same result in an earlier version, just not with the comfort the latest version offers.</p>
<h3>Preparations</h3>
<p><strong>1.</strong> Create a new image in Photoshop. The size is up to you but the larger the better, I’ve used a fairly large size of 2800 x 2800 pixels. If you use a smaller resolution be sure to adapt the values I&#8217;m using to your image size. Make sure that Color Mode is RGB and the Background Contents is set to transparent. Name the empty layer “background” and fill it with black.</p>
<p><strong>2.</strong> Create a new layer and also fill it with black, press ‘D’ to reset the foreground and background color to black and white. Choose <em>Filter/Render/Fibers</em> with a Variance of 20 and a Strength of 4. Then press Ctrl+T to activate the Transform Tool and in the tool’s parameter panel press the Chain symbol to link the width and height values that you now set to 200%. Then enter a rotation value of 45° and commit the transformation. The result can be seen here &#8230;</p>
<p><a href="http://blog.hexagonstar.com/wp-content/uploads/galaxy_tutorial_01.jpg" rel="lightbox[459]"><img class="aligncenter size-medium wp-image-538" title="galaxy tutorial image 1" src="http://blog.hexagonstar.com/wp-content/uploads/galaxy_tutorial_01-208x220.jpg" alt="" width="208" height="220" /></a></p>
<p><strong>3.</strong> Duplicate the fibers layer and transform the new layer again, this time you only need to change the rotation value to 90° and leave the size values like they are. Commit and after that change the new layer’s blend mode to Soft Light.</p>
<p><strong>4.</strong> Select the two fiber layers and merge them with Ctrl+E, then go to <em>Image/Adjustments/Levels</em> (or just press Ctrl+L) and enter a value of 70 in the first box, leave the others at 1.00 and 255. Also make sure that Channel is set to RGB. Press Ok. With this we thinned out the white fibers slightly.</p>
<p><strong>5.</strong> Currently the image is larger than what we see because we scaled the fiber layer up earlier so let’s get rid of the stuff outside the image area &#8230; press Ctrl+A to select all on the fibers layer and cut-paste it back which creates a new layer. After that delete the old fibers layer and rename the new one to “base”.</p>
<p><strong>6.</strong> Here comes our secret weapon &#8230; go to <em>Filters/Brush Strokes/Spatter</em> and enter a Radius of 25 and a Smoothness of 15. This filter is mostly responsible for the nice wiggly look of the spiral arms later. Now choose <em>Filters/Distort/Twirl</em> with an angle between 500 and 800. This parameter determines how twisted your galaxy will be. I want something with a lot of &#8216;tracks&#8217; between the spiral arms so I choose 800.</p>
<p><a href="http://blog.hexagonstar.com/wp-content/uploads/galaxy_tutorial_02.jpg" rel="lightbox[459]"><img class="aligncenter size-medium wp-image-539" title="galaxy tutorial image 2" src="http://blog.hexagonstar.com/wp-content/uploads/galaxy_tutorial_02-220x205.jpg" alt="" width="220" height="205" /></a></p>
<p><strong>7.</strong> The result gives us a whirl with nicely diverse dark and bright lines. Now create a circular selection around it. While dragging hold the Alt key and Shift key to expand the selection around it’s center and keep the aspect ratio. You can also hold then Space key to drag the selection around while doing this. When you got that press Shift+Ctrl+I to invert the selection and then hit Delete to remove the areas around the whirl.</p>
<p><strong>8.</strong> With the selection still active choose <em>Select/Modify/Expand</em> with a value of 100 and after that <em>Select/Modify/Feather</em> with a value of 40 pixels. Press Delete two times to smooth out the border of our whirl and then press Ctrl+D to deselect all. Here’s the result. It still looks like everything but a galaxy, don’t worry, we will get to it &#8230;</p>
<p><a href="http://blog.hexagonstar.com/wp-content/uploads/galaxy_tutorial_03.jpg" rel="lightbox[459]"><img class="aligncenter size-medium wp-image-540" title="galaxy tutorial image 3" src="http://blog.hexagonstar.com/wp-content/uploads/galaxy_tutorial_03-219x220.jpg" alt="" width="219" height="220" /></a></p>
<h3>Creating the Structure</h3>
<p><strong>9.</strong> Let’s start shaping our galaxy out of this what looks like a messed up vinyl record. This part is where it’s getting interesting. First duplicate the &#8220;base&#8221; layer, name the new layer &#8220;outer galaxy&#8221; and hide the original layer, we keep it to create more diverse layers later. Use <em>Filter/Brush Strokes/Spatter</em> with the same values like before, Spray Radius 25 and Smoothness 15 and after that give the layer a Gaussian Blur with a Radius of 1 to smooth out the noise that Spatter generated. Then apply <em>Filter/Sharpen/Sharpen</em> to regain some sharpness.</p>
<p><a href="http://blog.hexagonstar.com/wp-content/uploads/galaxy_tutorial_04.jpg" rel="lightbox[459]"><img class="aligncenter size-medium wp-image-542" title="galaxy tutorial image 4" src="http://blog.hexagonstar.com/wp-content/uploads/galaxy_tutorial_04-220x120.jpg" alt="" width="220" height="120" /></a></p>
<p><strong>10.</strong> Now we are going to remove the black areas from this layer and also thin out the structure slightly &#8230; Choose <em>Select/Color Range</em> and pick the black color from the outer area of the image, then crank the fuzziness fully up to 200. Click Ok and then press Alt+Ctrl+D and set Feather to 2 pixel. Again hit Ok and press Delete 4 or 5 times to thin out the black areas between the spiral arms. It can be helpful here to hide the selection edges (<em>View/Show/Selection Edges</em>). Don&#8217;t forget to press Ctrl+D to clear the selection after that. Here&#8217;s how it looks so far &#8230;</p>
<p><a href="http://blog.hexagonstar.com/wp-content/uploads/galaxy_tutorial_05.jpg" rel="lightbox[459]"><img class="aligncenter size-medium wp-image-543" title="galaxy tutorial image 5" src="http://blog.hexagonstar.com/wp-content/uploads/galaxy_tutorial_05-216x220.jpg" alt="" width="216" height="220" /></a></p>
<p><strong>11.</strong> Next let’s create some glow. Duplicate the “outer galaxy″ layer, rename the duplicate to “glow” and move it under the original layer. Use Gaussian Blur with a Radius of 50 and set the opacity to 60%. Also now set the opacity of the “outer galaxy″ layer to 50%.</p>
<p><strong>12.</strong> If you check out some astronomical photos of galaxies you’ll notice that they get more dense toward their center so let’s do that too! Duplicate the “base” layer, rename it to “inner galaxy 1”, move it up to the top and press Ctrl+T and transform-scale this layer down to 70%. You can enter the values in the tool’s parameter palette and the resized layer content will stay centered perfectly. After that use the Spatter Filter again like you did before on the &#8220;outer galaxy&#8221; layer. Use Gaussian Blur with 1 pixel radius, then sharpen once and then again thin out the black areas like you did before in step 10 with the Color Range selection tool, just this time only press Delete two or three times. Set the layer&#8217;s blend mode to Screen and the opacity to around 55%.</p>
<p><strong>13.</strong> We need to fatten up our galaxy a little more. Let’s create three more layers as in step 12, always take the &#8220;base&#8221; layer as the source and every time scale them down a tad more and increase their opacity. I&#8217;ve used scale 50% and opacity 80% on the next layer named “inner galaxy 2″, then scale 38% and opacity 90% on “inner galaxy 3″ and scale 32% and opacity 95% on “inner galaxy 4″.</p>
<p><strong>14.</strong> Not bad but it looks kind of dull right now so let’s add some contrasting highlights! Duplicate the “outer galaxy&#8221; layer and rename the new one to “highlights”, then set it’s blend mode to Screen and it&#8217;s opacity to 100%. Press Ctrl+L and enter 160 in the left box. Press Ok and our highlights are finished. Here’s a preview of the current stage and the existing layers &#8230;</p>
<p><a href="http://blog.hexagonstar.com/wp-content/uploads/galaxy_tutorial_06.jpg" rel="lightbox[459]"><img class="aligncenter size-medium wp-image-544" title="galaxy tutorial image 6" src="http://blog.hexagonstar.com/wp-content/uploads/galaxy_tutorial_06-220x215.jpg" alt="" width="220" height="215" /></a></p>
<h3>My God, it&#8217;s full of stars!</h3>
<p><strong>15.</strong> Let&#8217;s add a bunch of stars next! Creating diverse and realistic looking star fields is a whole topic unto itself so I&#8217;m not going into detail here how to create one. I recommend checking out <a href="http://gallery.artofgregmartin.com/tuts_arts/making_a_star_field.html" target="_blank">this tutorial</a> by Greg Martin to create some really fantastic star fields. For the sake of brevity I&#8217;ve prepared a star field template which you can download <a href="http://files.hexagonstar.com/images/textures/galaxy_starfield.png" target="_blank" rel="lightbox[459]">here</a>.<br />
Create a new layer named &#8220;stars&#8221;, copy the star field image into it and set the blend mode of this layer to Screen. Then Ctrl-Click on the &#8220;outer galaxy&#8221; layer to create a selection of it. Switch to Quick Mask Mode and draw with a black soft brush in the areas of the image where you want to have stars left. Leave Quick Mask Mode again, press Ctrl+Shift+I to invert the selection and then &#8211; with the &#8220;stars&#8221; layer still selected &#8211; hit Delete to remove all stars that are not within the selection. Increase the Brightness of the stars by 50 with <em>Image/Adjustments/Brightness-Contrast</em>. Finally let&#8217;s remove most of the black area that is still on the stars layer. Choose <em>Select/Color Range</em>, pick up the black color from the outer areas and decrease Fuzziness to something around 70, click OK and hit Delete twice and clear the selection. The following image shows the selection in Quick Mask Mode and the result of this stage &#8230;</p>
<p><a href="http://blog.hexagonstar.com/wp-content/uploads/galaxy_tutorial_07.jpg" rel="lightbox[459]"><img class="aligncenter size-medium wp-image-545" title="galaxy tutorial image 7" src="http://blog.hexagonstar.com/wp-content/uploads/galaxy_tutorial_07-219x107.jpg" alt="" width="219" height="107" /></a></p>
<p><strong>16.</strong> We still have a strange looking hole in the centre where galaxies normally have an immense cluster of gas and stars so we are going to create the galactic core now &#8230; Create a new layer, name it &#8220;core&#8221; and grab the Brush Tool with a large, soft brush and a white color. A 600 pixel brush works well for this image size. Click seven to eight times in the middle of the galaxy then increase the size of the brush to 900 and click four more times. Finished is our core!</p>
<h3>Coloring</h3>
<p><strong>17.</strong> So far our galaxy is only black and white and we could have went from the beginning with colors but to make things easier I went without colors so far. Now there are many ways to go about coloring the image. For example we could grab a stylus and graphics tablet and hand-draw colors into the galaxy by using a brush with various blend modes or we could color layer by layer. That&#8217;s what I&#8217;m going to do now.<br />
Select any of the galaxy layers and press Ctrl+B to bring up the Balance palette and change the colors to your liking. You might want to go for the shadows and leave the highlight untouched to get a better look. You could also duplicate layers, blur them slighly and color these instead or in addition to their original layer. Or you could merge several of the galaxy layers together and color them at once which can look quite good.</p>
<h3>Changing Perspective</h3>
<p><strong>18.</strong> Currently we are looking top-down onto the galaxy but what if we want to look at it like seen from a window of a spaceship that approaches the galaxy (remember the last scene from Empire Strikes Back?!)? We will change the perspective of the image. The Distort tool under <em>Edit/Transform</em> is what we want for this! Try to distort the image like on the following screenshot. You only actually need to move around the upper and lower left corners. You can flatten your image for this or put all the layers into a layer folder and use the Distort tool on that folder which works as well.</p>
<p><a href="http://blog.hexagonstar.com/wp-content/uploads/galaxy_tutorial_08.jpg" rel="lightbox[459]"><img class="aligncenter size-medium wp-image-546" title="galaxy tutorial image 8" src="http://blog.hexagonstar.com/wp-content/uploads/galaxy_tutorial_08-220x192.jpg" alt="" width="220" height="192" /></a></p>
<p><strong>19.</strong> This looks a lot better but something seems not right. The whole thing looks more like a flat disc than a voluminous star cluster so we are going to bulge out the core of the galaxy to make it look more realistic. Photoshop&#8217;s Liquify tool is actually perfect for this. Time to flatten your layers together now (except the background), then enter Liquify over the Filter menu, select the Forward Warp Tool and a relatively large brush (350) and off you go. Start bulging out the core towards the top-left like in the following image and after that you might want to choose a smaller brush size and reconstruct the area above the upper edge of the core with the Reconstruct Tool.</p>
<p><a href="http://blog.hexagonstar.com/wp-content/uploads/galaxy_tutorial_10.jpg" rel="lightbox[459]"><img class="aligncenter size-medium wp-image-547" title="galaxy tutorial image 10" src="http://blog.hexagonstar.com/wp-content/uploads/galaxy_tutorial_10-219x156.jpg" alt="" width="219" height="156" /></a></p>
<p>That&#8217;s basically it! Of course these steps are not set in stone. You could experiment with different values or use the Liquify tool early on the base layer to add slight irregularities etc. Your imagination is the limit! Here&#8217;s the resulting image and the other galaxy from that you already saw a piece earlier &#8230;</p>
<p><a href="http://blog.hexagonstar.com/wp-content/uploads/galaxy_01.jpg" rel="lightbox[459]"><img class="aligncenter size-full wp-image-548" title="galaxy 1" src="http://blog.hexagonstar.com/wp-content/uploads/galaxy_01.jpg" alt="" width="500" height="327" /></a></p>
<p><a href="http://blog.hexagonstar.com/wp-content/uploads/galaxy_02.jpg" rel="lightbox[459]"><img class="aligncenter size-full wp-image-549" title="galaxy 2" src="http://blog.hexagonstar.com/wp-content/uploads/galaxy_02.jpg" alt="" width="500" height="327" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hexagonstar.com/galaxy-tutorial/feed/</wfw:commentRss>
		<slash:comments>74</slash:comments>
		</item>
	</channel>
</rss>

