<?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>mclelun &#187; Tutorial</title>
	<atom:link href="http://www.mclelun.com/blog/tag/tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mclelun.com/blog</link>
	<description>I am a colorblind multimedia designer + developer</description>
	<lastBuildDate>Tue, 31 Jan 2012 14:36:42 +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>FlashDevelop Stage3D Away3D</title>
		<link>http://www.mclelun.com/blog/2011/08/flashdevelop-stage3d-away3d/</link>
		<comments>http://www.mclelun.com/blog/2011/08/flashdevelop-stage3d-away3d/#comments</comments>
		<pubDate>Wed, 24 Aug 2011 18:58:19 +0000</pubDate>
		<dc:creator>mclelun</dc:creator>
				<category><![CDATA[Scripting and Coding]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[ActionScript3]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.mclelun.com/blog/?p=206</guid>
		<description><![CDATA[Adobe just released Flash Player 11 beta 2 earlier this month and their &#8220;Molehill&#8221; 3D API is now known as &#8220;Stage 3D&#8220;. My old blog entry about setting up Flash Player Incubator with Away3D and Molehill is not applicable now, so I have to write a new entry on this topic. Install Flash Player 11 [...]]]></description>
			<content:encoded><![CDATA[<p>Adobe just released <a title="Flash Player 11 Beta " href="http://labs.adobe.com/technologies/flashplatformruntimes/flashplayer11/" target="_blank">Flash Player 11 beta 2</a> earlier this month and their &#8220;Molehill&#8221; 3D API is now known as &#8220;<a title="Stage 3D" href="http://labs.adobe.com/technologies/flashplatformruntimes/features/stage3d.html" target="_blank">Stage 3D</a>&#8220;. My old blog entry about setting up <a title="Flash Molehill" href="http://www.mclelun.com/blog/2011/03/flashdevelop-molehill-away3d/" target="_blank">Flash Player Incubator with Away3D and Molehill</a> is not applicable now, so I have to write a new entry on this topic.</p>
<p><span id="more-206"></span></p>
<h3>Install Flash Player 11 Beta 2</h3>
<p>To view Flash Stage 3D content, you will need to install the beta version of flash player 11.</p>
<ul>
<li>Download and install <a title="Flash Player 11 Beta 2" href="http://labs.adobe.com/downloads/flashplayer11.html" target="_blank">Flash Player 11 Beta 2</a>.</li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110825_stage3d_00.jpg" alt="flash stage3d" /></p>
<h3>Setup FlashDevelop 4 with Flex 4.5 and Away3D 4</h3>
<p>To publish Flash Stage3D content, you will need the new Flex 4.5 SDK. In my case, I will be using FlashDevelop 4 and Away3D 4.</p>
<ul>
<li>Download and install <a href="http://www.java.com/en/download/" target="_blank">Java runtime</a>.</li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110825_stage3d_01.jpg" alt="flash stage3d" /></p>
<ul>
<li>Download and install <a href="http://www.flashdevelop.org/community/viewtopic.php?f=11&amp;t=8421" target="_blank">FlashDevelop 3.3.4</a></li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110825_stage3d_02.jpg" alt="flash stage3d" /></p>
<ul>
<li>Download and extract <a title="Flex 4.5 SDK" href="http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4.5" target="_blank">Flex 4.5 SDK</a>. When you installing FlashDevelop 4, It will give you an option download this SDK too.</li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110825_stage3d_03.jpg" alt="flash stage3d" /></p>
<ul>
<li>Download and extract <a title="Away3D Core FP11" href="https://github.com/away3d/away3d-core-fp11" target="_blank">Away3D Core FP11</a></li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110825_stage3d_04.jpg" alt="flash stage3d" /></p>
<ul>
<li>Download <a href="http://labs.adobe.com/downloads/flashplayer11.html" target="_blank">flashplayer11_b2_playerglobal_080811.swc</a> and rename it to <strong>playerglobal.swc</strong></li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110825_stage3d_05.jpg" alt="flash stage3d" /></p>
<ul>
<li>Copy <strong>playerglobal.swc</strong> to <strong>[Flex 4.5 SDK Path]frameworks&gt;libs&gt;player&gt;11.0</strong> folder. FlashDevelop 4 will create this folder for you when setting up, if not create the folder and put the SWC here.</li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110825_stage3d_06.jpg" alt="flash stage3d" /></p>
<ul>
<li>Download and extract <a title="Away3D Core FP11 Examples" href="https://github.com/away3d/away3d-examples-broomstick" target="_blank">Away3D Core FP11 Examples</a></li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110825_stage3d_07.jpg" alt="flash stage3d" /></p>
<ul>
<li>Launch FlashDevelop and start a new AS3 Flex 4 Project. Set your project folder to Away3D examples folder you extract earlier. A warning message about folder not empty and template files will pop up, click OK to copy them. FlashDevelop will then generate the index file for you.</li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110825_stage3d_08.jpg" alt="flash stage3d" /></p>
<ul>
<li>Go to <strong>Tools&gt;Program Settings&gt;AS3 Context&gt;Installed Flex SDKs</strong>. Fill in the location where you extract Flex 4.5 SDK.</li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110825_stage3d_09.jpg" alt="flash stage3d" /></p>
<ul>
<li>Go to <strong>Project&gt;Properties&gt;Class Paths</strong>. Click <strong>Add Class Path</strong> and browse to the location where you extract Away3D 4. Remember to target the<strong></strong> sub folder name <strong>src</strong>, not the main folder.</li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110825_stage3d_10.jpg" alt="flash stage3d" /></p>
<ul>
<li>Go to <strong>Project&gt;Properties&gt;Output&gt;Platform</strong>. Make sure it is <strong>Flash Player 11.0</strong>.</li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110825_stage3d_11.jpg" alt="flash stage3d" /></p>
<ul>
<li>Go to <strong>Project&gt;Properties&gt;Output&gt;Test Project</strong>. Select <strong>Open document</strong> from dropdown list. Click <strong>Edit</strong> button and type <strong>bin\index.html</strong></li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110825_stage3d_12.jpg" alt="flash stage3d" /></p>
<ul>
<li>Go to <strong>Project&gt;Properties&gt;Compiler Options&gt;Additional Compiler Options</strong>. Key in <strong>-swf-version=13</strong></li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110825_stage3d_13.jpg" alt="flash stage3d" /></p>
<ul>
<li>Done. Right click on any of Away3D example source files which can be found at <strong>src</strong> folder, choose<strong> Set Document Class</strong>, compile and profit!</li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110825_stage3d_14.jpg" alt="flash stage3d" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mclelun.com/blog/2011/08/flashdevelop-stage3d-away3d/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Tower of Hanoi Flash FLA Source</title>
		<link>http://www.mclelun.com/blog/2011/07/tower-of-hanoi-flash-fla-source/</link>
		<comments>http://www.mclelun.com/blog/2011/07/tower-of-hanoi-flash-fla-source/#comments</comments>
		<pubDate>Sun, 31 Jul 2011 15:45:24 +0000</pubDate>
		<dc:creator>mclelun</dc:creator>
				<category><![CDATA[Scripting and Coding]]></category>
		<category><![CDATA[ActionScript3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Game]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.mclelun.com/blog/?p=195</guid>
		<description><![CDATA[It had been a while since I did any programming work, so I start up Flash and did this little game known as &#8220;Tower of Hanoi&#8220;. Probably a famous example for programming students. The Tower of Hanoi or Towers of Hanoi is a mathematical game or puzzle. It consists of three rods, and a number [...]]]></description>
			<content:encoded><![CDATA[<p>It had been a while since I did any programming work, so I start up Flash and did this little game known as &#8220;<a href="http://www.mclelun.com/labs/#as3toh" title="Tower of Hanoi">Tower of Hanoi</a>&#8220;. Probably a famous example for programming students.</p>
<p><span id="more-195"></span></p>
<blockquote><p>The Tower of Hanoi or Towers of Hanoi is a mathematical game or puzzle. It consists of three rods, and a number of disks of different sizes which can slide onto any rod. The puzzle starts with the disks in a neat stack in ascending order of size on one rod, the smallest at the top, thus making a conical shape. The objective of the puzzle is to move the entire stack to another rod.</p></blockquote>
<h3>Game rules</h3>
<p>The description from wiki might sound confusing, but the game is actually quite simple. Let&#8217;s look at the pictures that I quickly draw. The game start with 3 rods, A,B and C. Initially, all disks are stack on rod A, and you have to move all the disk in ascending order on rod C to win.<br />
<img src="http://www.mclelun.com/img/blog/110731_toh_01.gif" alt="tower of hanoi" /></p>
<p>Of course, there are few criteria or rules when moving the disk around. First, only 1 disk can be move at a time. Second, only the top most disk can be move. Third, disk can only be placed on top of a larger disk.</p>
<p><img src="http://www.mclelun.com/img/blog/110731_toh_02.gif" alt="tower of hanoi" /></p>
<h3>Gameplay Programming</h3>
<p>After looking at the game rules, you will find out that how easy the game logic can be script. Use 3 arrays to represent the 3 rods, which contain list of values that represent all the disks. The bigger the disk, the larger the number (or the other way round, depend on how you do the condition statement later). Then, use array/stack PUSH and POP function to &#8220;move the disk around&#8221;. In this case, the PUSH and POP function work exactly like what we want, removing and adding items from the top of the array/stack. Last, just do a condition check to see if a disk can be move on to another rod base on target rod top most disk size. To check the top most disk size, just POP it.</p>
<p><img src="http://www.mclelun.com/img/blog/110731_toh_03.gif" alt="tower of hanoi" /></p>
<h3>Recursive Solution</h3>
<p>The puzzle can be solve by using a recursive function using the following algorithm. Assume N equals to total number of disks.<br />
STEP 1) move DISKS N−1 from A to B.<br />
STEP 2) move DISK N from A to C.<br />
STEP 3) move DISKS N−1 from B to C.</p>
<p><img src="http://www.mclelun.com/img/blog/110731_toh_04.gif" alt="tower of hanoi" /></p>
<h3>Play The Game</h3>
<p>You can play &#8220;<a href="http://www.mclelun.com/labs/#as3toh" title="Tower of Hanoi">Tower of Hanoi</a>&#8221; in my labs page. I have include the recursive puzzle solving function as well.</p>
<p><a href="http://www.mclelun.com/labs/#as3toh" title="Tower of Hanoi" target="_blank"><img src="http://fc09.deviantart.net/fs71/f/2011/306/a/6/tower_of_hanoi_lab_by_mclelun-d4etbju.gif" alt="tower of hanoi flash game" /></a></p>
<h3>Download</h3>
<p>If anyone is interested, here is the Flash CS4 source files. Code might not be most optimized and tidy, but can be a good starting point for your project. This source is without graphics and music.<br />
<a href="http://www.mclelun.com/conlabs/as3toh/as3toh.zip">Tower of Hanoi FLA Source &#8211; 20KB</a></p>
<h3>Reference</h3>
<p><a href="http://en.wikipedia.org/wiki/Tower_of_Hanoi" title="wiki">Tower of Hanoi Wikipedia Entry</a><br />
<a href="http://www.cs.cmu.edu/~cburch/survey/recurse/hanoiimpl.html" title="Recursion">Recursion: Towers of Hanoi</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mclelun.com/blog/2011/07/tower-of-hanoi-flash-fla-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FlashDevelop Molehill Away3D</title>
		<link>http://www.mclelun.com/blog/2011/03/flashdevelop-molehill-away3d/</link>
		<comments>http://www.mclelun.com/blog/2011/03/flashdevelop-molehill-away3d/#comments</comments>
		<pubDate>Thu, 03 Mar 2011 16:04:29 +0000</pubDate>
		<dc:creator>mclelun</dc:creator>
				<category><![CDATA[Scripting and Coding]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[ActionScript3]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.mclelun.com/blog/?p=158</guid>
		<description><![CDATA[Adobe just released the preview versions of Flash Player Incubator which support low level 3D API codenamed Molehill several days ago. After a bit of google, I managed to setup FlashDevelop to publish Molehill content. Below are the brief steps on how to setup everything. Adobe just released Flash Player 11 beta 2 earlier this [...]]]></description>
			<content:encoded><![CDATA[<p>Adobe just released the preview versions of <a href="http://labs.adobe.com/wiki/index.php/Flash_Player_Incubator#Flash_Player_11.2C0.2C0.2C58_Incubator_Release_Notes" target="_blank">Flash Player Incubator</a> which support low level 3D API codenamed <a href="http://labs.adobe.com/technologies/flashplatformruntimes/incubator/features/molehill.html" target="_blank">Molehill</a> several days ago. After a bit of google, I managed to setup FlashDevelop to publish Molehill content. Below are the brief steps on how to setup everything.</p>
<p><span id="more-158"></span></p>
<h3>Adobe just released Flash Player 11 beta 2 earlier this month and their “Molehill” 3D API is now known as “Stage 3D“. This blog entry is not applicable now, so please refer to my new blog entry about this topic <a title="FlashDevelop Stage3D Away3D" href="http://www.mclelun.com/blog/2011/08/flashdevelop-stage3d-away3d/" target="_blank">FlashDevelop Stage3D Away3D</a>.</h3>
<p>&nbsp;</p>
<h3>Install Flash Player Incubator</h3>
<p>To view Flash Molehill content, you will need to install the alpha version of new flash player.</p>
<ul>
<li>Download and install <a href="http://labs.adobe.com/downloads/flashplatformruntimes_incubator.html" target="_blank">Flash Player Incubator</a></li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110303_molehill_00.jpg" alt="flash molehill" /></p>
<h3>Setup FlashDevelop with Flex Hero Framework and Away3D</h3>
<p>To publish Flash Molehill content, you will need the new Flex Hero SDK. In my case, I will be using FlashDevelop and Away3D.</p>
<ul>
<li>Download and install <a href="http://www.java.com/en/download/" target="_blank">Java runtime</a>.</li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110303_molehill_01.jpg" alt="flash molehill" /></p>
<ul>
<li>Download and install <a href="http://www.flashdevelop.org/community/viewtopic.php?f=11&amp;t=7943&amp;sid=e35db504f85d5f71b9608e15e95eca5f" target="_blank">FlashDevelop 3.3.4</a></li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110303_molehill_02.jpg" alt="flash molehill" /></p>
<ul>
<li>Download and extract <a href="http://away3d.com/downloads" target="_blank">Away3D Version 4.0.0 Alpha (Broomstick)</a>.</li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110303_molehill_03.jpg" alt="flash molehill" /></p>
<ul>
<li>Download and extract <a href="http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+Hero" target="_blank">Flex HERO SDK build 4.5.0.19786</a>.</li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110303_molehill_04.jpg" alt="flash molehill" /></p>
<ul>
<li>Download <a href="http://labs.adobe.com/wiki/index.php/Flash_Player_Incubator#Authoring_for_Flash_Player_11.2C0.2C0.2C58_Incubator" target="_blank">flashplayer_inc_playerglobal_022711.swc</a> and rename it to <strong>playerglobal.swc</strong></li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110303_molehill_05.jpg" alt="flash molehill" /></p>
<ul>
<li>Copy <strong>playerglobal.swc</strong> to <strong>[Flex Hero SDK Path]frameworks\libs\player\10.1</strong>. You will need to create the <strong>10.1</strong> folder</li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110303_molehill_06.jpg" alt="flash molehill" /></p>
<ul>
<li>Launch FlashDevelop and start a new AS3 Project. You can set your project folder to Away3D examples, if you downloaded them.</li>
</ul>
<ul>
<li>Go to <strong>Tools&gt;Program Settings&gt;AS3 Context&gt;Flex SDK Location</strong>. Fill in the location where you extract Flex Hero SDK.</li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110303_molehill_07.jpg" alt="flash molehill" /><br />
<img src="http://www.mclelun.com/img/blog/110303_molehill_08.jpg" alt="flash molehill" /></p>
<ul>
<li>Go to <strong>Project&gt;Properties&gt;Class Paths</strong>. Click <strong>Add Class Path</strong> and browse to the location where you extract Away3D 4.</li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110303_molehill_09.jpg" alt="flash molehill" /></p>
<ul>
<li>Go to <strong>Project&gt;Properties&gt;Output&gt;Platform</strong>. Change <strong>Target</strong> to <strong>Flash Player 10.1</strong>.</li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110303_molehill_10.jpg" alt="flash molehill" /></p>
<ul>
<li>Go to <strong>Project&gt;Properties&gt;Output&gt;Test Movie</strong>. Select <strong>Open document</strong> from dropdown list. Click <strong>Edit</strong> button and type in FlashDevelop output location, usually <strong>bin\index.html</strong></li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110303_molehill_11.jpg" alt="flash molehill" /></p>
<ul>
<li>Go to <strong>Project&gt;Properties&gt;Compiler Options&gt;Additional Compiler Options</strong>. Key in <strong>-swf-version=13</strong></li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110303_molehill_12.jpg" alt="flash molehill" /></p>
<ul>
<li>Add <strong>wmode: &#8220;direct&#8221;</strong> parameter for swfobject in the output HTML which usually at <strong>[Project Path]bin\index.html</strong>. Software fallback will be used if you do not include this parameter.</li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110303_molehill_13.jpg" alt="flash molehill" /></p>
<ul>
<li>Done. Right click on any of Away3D example source files which can be found at <strong>[Project Path]src</strong>, choose <strong>Always compile</strong> and GO!</li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110303_molehill_14.jpg" alt="flash molehill" /></p>
<h3>Problem?</h3>
<ul>
<li>If you get error message like <strong>Type was not found</strong> or <strong>Call to a possibly undefined method</strong>. In FlashDevelop, open the <strong>libs</strong> folder in the project file list, right click and select <strong>Add To Library</strong> for both <strong>lib_simplegui.swc</strong> and <strong>MinimalComps_0_9_9.swc</strong></li>
<li>If you get an error about <strong>LZMA Decoder</strong>, download it <a href="http://code.google.com/p/apparat/downloads/detail?name=apparat-1.0-RC9-bin.zip" target="_blank">here</a>. Then extract it to <strong>[Project Path]libs</strong>. In FlashDevelop, select <strong>apparat-lzma-decoder-1.0-RC9.swc</strong> in the project file list, right click and select <strong>Add To Library</strong>.</li>
<li>If you cant view the MD5 and MD2 examples, most probably the assets path is wrong. Just copy the <strong>assets</strong> folder from <strong>[Project Path]srcassets</strong> to <strong>[Project Path]bin</strong></li>
</ul>
<p><img src="http://www.mclelun.com/img/blog/110303_molehill_15.jpg" alt="flash molehill" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mclelun.com/blog/2011/03/flashdevelop-molehill-away3d/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Pipit 4th Anniversary Wish Art</title>
		<link>http://www.mclelun.com/blog/2010/10/pipit-4th-anniversary-wish-art/</link>
		<comments>http://www.mclelun.com/blog/2010/10/pipit-4th-anniversary-wish-art/#comments</comments>
		<pubDate>Thu, 07 Oct 2010 16:37:47 +0000</pubDate>
		<dc:creator>mclelun</dc:creator>
				<category><![CDATA[Art and Design]]></category>
		<category><![CDATA[Illustration]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Vector]]></category>

		<guid isPermaLink="false">http://www.mclelun.com/blog/?p=59</guid>
		<description><![CDATA[I received emails from peoples asking me how I did all my artworks. So, I am going to do a quick run through on how I did this &#8220;Pipit Anniversary Wish Art&#8221;. It is not meant to be a in-depth tutorial, but it will give you a clear view on how I did my artworks. [...]]]></description>
			<content:encoded><![CDATA[<p>I received emails from peoples asking me how I did all my artworks. So, I am going to do a quick run through on how I did this &#8220;Pipit Anniversary Wish Art&#8221;. It is not meant to be a in-depth tutorial, but it will give you a clear view on how I did my artworks.</p>
<p><span id="more-59"></span></p>
<p><img src="http://www.mclelun.com/img/blog/101007_pipit_06.jpg" alt="pipit final" /></p>
<h3>Quick Sketch</h3>
<p>Before drawing anything, I always try to visualize on how the final artwork going to look like. Some peoples will start to do rough sketch to generate ideas. Some peoples will look for references. So, it depend on what work best for you. After getting a brief idea, I will then do a quick sketch to see if I am happy to proceed with it.<br />
<img src="http://www.mclelun.com/img/blog/101007_pipit_00.jpg" alt="pipit idea" /></p>
<p>If I can see where I am heading to with it, I will clean up and refine the lines of the sketch. The lines doesn&#8217;t need to be super clean as we are just using it as guidance to trace the image into vector format.<br />
<img src="http://www.mclelun.com/img/blog/101007_pipit_01.jpg" alt="pipit sketch" /></p>
<h3>Tracing</h3>
<p>Most people will use Illustrator for vector tracing, but I am doing it in Flash. If you are doing it for print, you should trace it in Illustrator since that the standard file format for printing. Beside that, I will also lower down the opacity of the sketch and use a blue color line while tracing. This make it easier for me to see the vector line.<br />
<img src="http://www.mclelun.com/img/blog/101007_pipit_02.jpg" alt="pipit trace" /></p>
<h3>Base Color</h3>
<p>After finish tracing, I start to put in the base color for the vector. For a color blind person like me, I always use reference images for color scheme. In this case, I google some pipit bird photos and use color picker to pick the color from it.<br />
<img src="http://www.mclelun.com/img/blog/101007_pipit_03.jpg" alt="pipit color" /></p>
<h3>Outlines</h3>
<p>Some people prefer vector art without outlines, some prefer dark bold outline. There is no wrong or right, it is just different style of vector art. In this artwork, I will proceed with a bold black color outline. It still look a bit ugly in this stage, but will start to look way better after the next step.<br />
<img src="http://www.mclelun.com/img/blog/101007_pipit_04.jpg" alt="pipit black line" /></p>
<h3>Highlight and Shadow</h3>
<p>Some vector art skip this step completely. But for the type of vector art I am doing, it always look better with the shading. In this case, I imagine there is a light source on top left, so everything will be brighter on top left, darker on bottom right. With this two band of color shading, the artwork will start to look a bit like cell shaded 3D.<br />
<img src="http://www.mclelun.com/img/blog/101007_pipit_05.jpg" alt="pipit shading" /></p>
<h3>Optional step</h3>
<p>We can always import our artwork into Photoshop to do some final touch up although it won&#8217;t be a pure vector art anymore. In my case, I added the wood texture background, frame the artwork inside polaroid image and did some color adjustment. I can still do the background and polaroid in vector, but for what? Adding them in Photoshop look way nicer.</p>
<p><a href="http://mclelun.deviantart.com/art/pipit-4th-anniversary-181510107"><img src="http://www.mclelun.com/img/blog/101007_pipit_07.jpg" alt="pipit touchup" /></a></p>
<p>I didn&#8217;t really go deep into each of these steps but I will try to do a more detail tutorial soon. In the mean time, I hope you will learn something from this brief tutorial.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mclelun.com/blog/2010/10/pipit-4th-anniversary-wish-art/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FlashDevelop and Flex</title>
		<link>http://www.mclelun.com/blog/2010/06/flashdevelop-and-flex/</link>
		<comments>http://www.mclelun.com/blog/2010/06/flashdevelop-and-flex/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 17:29:42 +0000</pubDate>
		<dc:creator>mclelun</dc:creator>
				<category><![CDATA[Scripting and Coding]]></category>
		<category><![CDATA[ActionScript3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.mclelun.com/blog/?p=35</guid>
		<description><![CDATA[I wrote about how to setup FlashDevelop with Flex Framework last time, but all my old blog entries are taken down when I revamp this site. So, this is just a reblog of the old entry with some minor changes. Hopefully it will be easier to follow this time. Introduction FlashDevelop is an open source [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote about how to setup FlashDevelop with Flex Framework last time, but all my old blog entries are taken down when I revamp this site. So, this is just a reblog of the old entry with some minor changes. Hopefully it will be easier to follow this time.</p>
<p><span id="more-35"></span></p>
<h3>Introduction</h3>
<p>FlashDevelop is an open source script editor which primary use for editing ActionScript (Can be use for XML, HTML, CSS… etc as well). Flex is a free open source framework use for compiling Flash SWF. Both of them are free and open source, so it is good for those who want to learn ActionScript without purchasing Adobe Flash.</p>
<h3>Steps to Setup</h3>
<p>Below is a brief steps on how to setup FlashDevelop with Flex Framework.</p>
<ul>
<li>Download and install <a href="http://www.java.com/en/download/">Java runtime</a>.</li>
<li>Download and install <a href="http://www.flashdevelop.org/community/viewforum.php?f=11">FlashDevelop</a>.</li>
<li>Download and extract <a href="http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4">Flex SDK</a>.</li>
<li>Launch FlashDevelop.</li>
<li>Go to <strong>Tools&gt;Program Settings&gt;AS3 Context&gt;Flex SDK Location</strong>. Fill in the location where you extract flex SDK.</li>
<li>Go to<strong> Tools&gt;Program Settings&gt;Flash Viewer&gt;External Player Path</strong>. Fill in the location of the debug Flash player 10. It is include in the flex SDK package in this location <strong>\runtimes\player\10\win.</strong></li>
<li>Done. You can compile flash10 stuff now. Just create a new project, and edit the Main.as in the src folder</li>
</ul>
<h3>Different Flex Framework Version</h3>
<p>You can use different version of Flex Framework for different projects. Just set a custom path in the project properties at</p>
<ul>
<li><strong>Project&gt;Properties&gt;Compiler Options&gt;Custom Path to Flex SDK</strong></li>
</ul>
<p>This will be useful to test if your project got screw with a new Flex SDK release without affecting other projects.</p>
<h3>Using Preloader</h3>
<p>If you want a preloader in your AS3 project, just start a new project and choose &#8220;<strong>AS3 Project with Preloader</strong>&#8220;. You will want to add in your own script inside the &#8220;<strong>progress</strong>&#8221; function. You can check how many percents of content are loaded by using the following script.</p>
<p><code>percent = e.bytesLoaded / e.bytesTotal * 100</code></p>
<h3>Free Adobe Flash Builder 4 Standard</h3>
<p>Actually Adobe is providing free copies of Flash Builder 4 Standard to students, event attendees, and people who are jobless now. You can get your copy in this <a href="http://www.adobe.com/devnet/flex/free/">page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mclelun.com/blog/2010/06/flashdevelop-and-flex/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

