<?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>zedia flash blog &#187; Flash Develop</title>
	<atom:link href="http://www.zedia.net/tag/flash-develop/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zedia.net</link>
	<description>Flash, ActionScript, SEO and everything in between</description>
	<lastBuildDate>Wed, 21 Jul 2010 17:07:49 +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>Trying FDT for a month</title>
		<link>http://www.zedia.net/2009/trying-fdt-for-a-month/</link>
		<comments>http://www.zedia.net/2009/trying-fdt-for-a-month/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 04:02:38 +0000</pubDate>
		<dc:creator>zedia.net</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[ActionScript editor]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[FDT]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Flash Develop]]></category>
		<category><![CDATA[Flex Builder]]></category>

		<guid isPermaLink="false">http://www.zedia.net/?p=495</guid>
		<description><![CDATA[Ya I will be leaving my beloved Flash Develop to try out FDT for a month. I have been hearing a lot of good things about it and the programing department has been pushing to get everybody on Eclipse. I have tried Flex Builder before (ok, it was version 2) but I was not very [...]]]></description>
			<content:encoded><![CDATA[<p>Ya I will be leaving my beloved <a title="Flash Develop" href="http://www.flashdevelop.org/wikidocs/index.php?title=Main_Page" target="_blank">Flash Develop</a> to try out <a title="FDT" href="http://www.fdt.powerflasher.com/developer-tools/fdt-3/home/" target="_blank">FDT</a> for a month. I have been hearing a lot of good things about it and the programing department has been pushing to get everybody on Eclipse. I have tried Flex Builder before (ok, it was version 2) but I was not very impressed. Every thing seemed complicated for nothing. What I really like about Flash Develop is that it is so simple. To get you going it take 10 minutes and it is more user friendly than Eclipse (it takes less step to do something simple like start a project).  Also it is easier to get Animators who are more designer in spirit to use it.</p>
<p>But I at least want to give it a try, so that is what I will be using (almost) exclusively for the next month. The month after I will try Flash Builder 4 and compare it. That way I will be able to make a good decision about wich editor to use.</p>
<p>I have started using FDT today and I have already bumped into two problems: first a simple trace doesn&#8217;t trace in the console even in debug mode (in the FCHS console and the FDB console whatever these are). Secondly the SWFViewer doesn&#8217;t seem to be the Debug player so I don&#8217;t see the runtime errors. These might be related problems and should be easy enough to fix, but it should be more obvious than it is right now.</p>
<p>If you know any tutorial about FDT, send them my way, I want to know everything I can about it during that month; I will read everything!</p>
<div id="facebook_like"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.zedia.net%2F2009%2Ftrying-fdt-for-a-month%2F&amp;layout=standard&amp;show-faces=false&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:550px; height:70px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.zedia.net/2009/trying-fdt-for-a-month/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Compile time variables in Flash Develop</title>
		<link>http://www.zedia.net/2009/compile-time-variables-in-flash-develop/</link>
		<comments>http://www.zedia.net/2009/compile-time-variables-in-flash-develop/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 19:00:34 +0000</pubDate>
		<dc:creator>zedia.net</dc:creator>
				<category><![CDATA[FlashDevelop]]></category>
		<category><![CDATA[ActionScript projects]]></category>
		<category><![CDATA[Compile-time variables]]></category>
		<category><![CDATA[Conditional compilation]]></category>
		<category><![CDATA[Flash Develop]]></category>
		<category><![CDATA[Flex Compiler]]></category>

		<guid isPermaLink="false">http://www.zedia.net/?p=482</guid>
		<description><![CDATA[That is something that I have been wanting for a long time but I just found out how to do it. So what is a compile time variable? It is a variable that you can do conditions on at compile time (if) and the compiler will only include a set of lines in the resulting [...]]]></description>
			<content:encoded><![CDATA[<p>That is something that I have been wanting for a long time but I just found out how to do it.</p>
<h3><strong>So what is a compile time variable?</strong></h3>
<p>It is a variable that you can do conditions on at compile time (if) and the compiler will only include a set of lines in the resulting swf. This can be usefull for debugging purpose or when you have multiple languages or versions in a site. Let&#8217;s look at an example:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>CONFIG::LANG == <span style="color: #ff0000;">&quot;en&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
  _pageHolder = <span style="color: #000000; font-weight: bold;">new</span> PageHolderEn<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span>
  _pageHolder = <span style="color: #000000; font-weight: bold;">new</span> PageHolderFr<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>In the previous code, if the compile time variable CONFIG::LANG is equal to &#8220;en&#8221;, than the line &#8220;_pageHolder = new PageHolderEn();&#8221; will be included in the final swf, otherwise it will be the other line. You can give a Boolean, int and String value (and probably other types too) to the variable.</p>
<h3>So how do you set the value of that compile time variable?</h3>
<p>Well there are a couple of examples out there about how to do so in <a title="Compile time variables in Flash" href="http://summitprojectsflashblog.wordpress.com/2008/10/11/compile-time-variables/" target="_blank">Flash CS4 IDE</a> or in <a title="Conditional compilation in Flex" href="http://permadi.com/wordpress2/?p=27" target="_blank">Flash(Flex) Builder</a>, but none in Flash Develop so that is what I am going to explain here. First if you do this in Flash Develop, it means you are either doing a Flex project or an ActionScript project (meanin you are compiling with the Flex compiler (is it still named like this?)). So once you have created your project, go in the Project Properties and in the Compiler Options tab, look for the Additional Compiler Options. Here is a screenshot of what it looks like:</p>
<p><img class="aligncenter size-full wp-image-483" title="compile-time" src="http://www.zedia.net/wp-content/uploads/2009/10/compile-time.jpg" alt="compile-time" width="372" height="414" /></p>
<p>What you need to add in there is this:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">-define+=CONFIG::LANG,<span style="color: #ff0000;">&quot;en&quot;</span></pre></div></div>

<p>Where CONFIG::LANG is your variable name and &#8220;en&#8221; is the value as a String.  For the variable name it seems to always be starting with CONFIG::, I don&#8217;t know if that is a convention or if that is needed so that the compiler knows its a compile time variable. I will need to do more reasearch on this. If you wanted to set the variable to a boolean you&#8217;d do this:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">-define+=CONFIG::LANG,<span style="color: #000000; font-weight: bold;">true</span></pre></div></div>

<p>And same principle for a int, you&#8217;d put just the number without the quotes.</p>
<p>Now in Flash Develop, the project properties are stored in a file with the .as3proj extention so if you don&#8217;t want to have to change the Additional Conpiler Option you can just copy the project file and rename it. In the new file change the compile time value and depending how you want to compile, you open the right project file.</p>
<p>Well, it&#8217;s as simple as this.</p>
<div id="facebook_like"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.zedia.net%2F2009%2Fcompile-time-variables-in-flash-develop%2F&amp;layout=standard&amp;show-faces=false&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:550px; height:70px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.zedia.net/2009/compile-time-variables-in-flash-develop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update on the SEO contest</title>
		<link>http://www.zedia.net/2008/update-on-the-seo-contest/</link>
		<comments>http://www.zedia.net/2008/update-on-the-seo-contest/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 03:27:48 +0000</pubDate>
		<dc:creator>zedia.net</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[Flash Develop]]></category>
		<category><![CDATA[Flex SEO Contest]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[SWFObject]]></category>

		<guid isPermaLink="false">http://www.zedia.net/2008/update-on-the-seo-contest/</guid>
		<description><![CDATA[I have set my self up for Flex application development and thanks to this post about how to use Flash Develop and Flex, I was able to do so quickly. Yesterday I had simply created the HTML pages that would hold my application, today I created the application itself. It is quite a simple application [...]]]></description>
			<content:encoded><![CDATA[<p>I have set my self up for Flex application development and thanks to this post about <a href="http://www.as3apex.com/as3-ide/getting-started-with-flashdevelop-and-flex-sdk-3/" title="Setting FLash Develop and Flex" target="_blank">how to use Flash Develop and Flex</a>, I was able to do so quickly.</p>
<p>Yesterday I had simply created the HTML pages that would hold my application, today I created the application itself. It is quite a simple application and it is clearly a Flex one because of the skin of the components ( a button and a textarea). This will serve as a base for what is to come. The next step is to create the deep-linking. It has already some kind of deep-linking in the sense that you can go directly to this <a href="http://www.fleximagically-searchable.com/fleximagically-searchable/" title="Fleximagically Searchable">Fleximagically Searchable page</a>. This page loads exactly the same swf than the page at the root of the domain, but I pass it a variable using SWFObject to tell it to load the content. If Google find any searchable content in any of those two pages, it means it comes from the dynamically loaded content because I removed everything in the HTML code except for the title of the page.</p>
<p>From what I did yesterday I am already getting some results, the new domain name I bought is scoring a ten (it is the tenth page for the term Fleximagically Searchable) and all the pages before it are blog posts (including one from this blog) that will not count in the contest so I guess I have my chances. Let&#8217;s see how it all evolves.</p>
<div id="facebook_like"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.zedia.net%2F2008%2Fupdate-on-the-seo-contest%2F&amp;layout=standard&amp;show-faces=false&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:550px; height:70px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.zedia.net/2008/update-on-the-seo-contest/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Flash IDE, FlashDevelop, SE&#124;PY</title>
		<link>http://www.zedia.net/2007/flash-ide-flashdevelop-se-py/</link>
		<comments>http://www.zedia.net/2007/flash-ide-flashdevelop-se-py/#comments</comments>
		<pubDate>Sat, 15 Sep 2007 23:29:11 +0000</pubDate>
		<dc:creator>zedia.net</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Develop]]></category>
		<category><![CDATA[Flash IDE]]></category>
		<category><![CDATA[SEPY]]></category>

		<guid isPermaLink="false">http://www.zedia.net/?p=4</guid>
		<description><![CDATA[While searching around for answers, I stumbled a couple of time on developers who didn&#8217;t use the actionScript editor that comes with Flash. As a matter of fact, before Flash CS3, the default editor wasn&#8217;t packed with options and was kinda simplistic. I was working on a project where I was up to 1000 lines [...]]]></description>
			<content:encoded><![CDATA[<p>While searching around for answers, I stumbled a couple of time on developers who didn&#8217;t use the actionScript editor that comes with Flash. As a matter of fact, before Flash CS3, the default editor wasn&#8217;t packed with options and was kinda simplistic. I was working on a project where I was up to 1000  lines of code so I said to myself, that&#8217;s right I need something that has more options. So here are the options I found:</p>
<p><strong>SE|PY</strong>: It&#8217;s the first one I found, I guess it&#8217;s been around the longest. It&#8217;s kinda cool, and really easy to customize. It was made by Alessandro Crugnola from <a href="http://www.sephiroth.it/" title="sephiroth.it" target="_blank">http://www.sephiroth.it/</a>  . If you&#8217;ve done Flash for some time, you surely ended up on this site one day. This is a good interface, but it has two major down sides: it looks kinda old and it is not in development anymore.</p>
<p><strong>FlashDevelop</strong>: I think FlashDevelop is the most promising interface out there. It looks great and has most of the feature that SE|PY has. It&#8217;s kinda hard to change the syntax color of the code, but that&#8217;s mostly it. It has a great structure for adding plugin so it might become really good in time. Another point I didn&#8217;t like was that for help about actionScript code it sends you to adobe liveDocs on the web which is awfully slow.</p>
<p><strong>Flash IDE</strong>: This is the default interface that comes with Flash. Up to Flash 8 I would say that you need another interface if you do a lot of actionScript coding. The thing is, that in Flash CS3 Adobe really put some time on the ActionScript editor and made it the better than even FlashDevelop. It now has code folding, and can fold mostly anywhere, not just functions (like in FlashDevelop). Help is easy and fast and it is integrated with the rest of the Flash interface.</p>
<p>So there it is, my review of the ActionScrip editors out there. My big winner is the Flash CS3 editor, but you have to watch closely for FlashDevelop development because it might become really interesting.</p>
<div id="facebook_like"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.zedia.net%2F2007%2Fflash-ide-flashdevelop-se-py%2F&amp;layout=standard&amp;show-faces=false&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:550px; height:70px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.zedia.net/2007/flash-ide-flashdevelop-se-py/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
