<?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>Axelology &#187; Flex Builder Tips</title>
	<atom:link href="http://www.axelscript.com/category/flex-builder-tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.axelscript.com</link>
	<description>Axel Jensen on Flex, Coldfusion and... other stuff</description>
	<lastBuildDate>Thu, 29 Dec 2011 17:03:26 +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>Improving compile times with runtime css</title>
		<link>http://www.axelscript.com/2008/10/03/improving-compile-times-with-runtime-css/</link>
		<comments>http://www.axelscript.com/2008/10/03/improving-compile-times-with-runtime-css/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 19:36:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Air]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Flex Builder Tips]]></category>
		<category><![CDATA[VideoBlog]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/?p=170</guid>
		<description><![CDATA[This post is a video showing how embedding fonts and images can have a drastic effect on compile times.  It goes on in the video to show a possible way to improve those compile times with runtime css. Here is the zip of the Project &#8211; SOURCE The Problem When you embed a lot of [...]]]></description>
			<content:encoded><![CDATA[<p>This post is a video showing how embedding fonts and images can have a drastic effect on compile times.  It goes on in the video to show a possible way to improve those compile times with runtime css.</p>
<p>Here is the zip of the Project &#8211; <a href="http://axelscript.com/wp-content/Examples/RuntimeCSS/RuntimeCSS.zip" target="_blank">SOURCE</a></p>
<h4>The Problem</h4>
<p>When you embed a lot of fonts you immediately hurt your compile times.  In the video I go about showing you how just embedding a few fonts can&#8217;t hurt your compile times, I have about 8 fonts embedded and 2 of them with bold font embeddings as well.  This slowed down my compile time to 8 seconds, with barely any mxml, it&#8217;s all css and embedding fonts that caused the issue.  This post goes to show you how to create a separate project to hold your css and how to include it as runtime css in your original project.</p>
<p><span id="more-170"></span></p>
<h4>A (possible) Solution</h4>
<p>The solution is to create a separate project to hold you css and embedded assets, the reason for this is most the time in your development cycle once you are done setting up the style it just sets there&#8230; and then you work on the logic of the application&#8230;</p>
<p>So what you do is create a separate project put your css and the embedded assets in the seperate project, and set its output folder to be the actual project&#8217;s html-template folder, then you right-click the css file and make sure &#8220;Compile CSS to SWF&#8221; is checked.  This tells flexbuilder to compile a swf just for the css file&#8230; NOTE: you may have to make a change to the css file to get it to output the swf.</p>
<p>Once the file is a swf, and the output folder is your destination project you simply use StyleManager.loadStyleDeclarations(&#8216;somecss.swf&#8217;); to load your css on the &#8220;initialize&#8221; event of the main application mxml file.</p>
<p>To also help improve compile times you can try using unicode ranges for you font as well, and only embedding what you need <a href="http://www.axelscript.com/2008/08/20/using-unicode-ranges-for-fonts-because-of-compile-times/" target="_blank">Using unicode ranges for fonts</a></p>
<p>Please see the video for more details</p>
<p> Here is the zip of the Project - <a href="http://axelscript.com/wp-content/Examples/RuntimeCSS/RuntimeCSS.zip" target="_blank">SOURCE</a></p>
<h4>THE VIDEO </h4>
<p>(be patient, it takes a minute to load)<br />
            <object id="csSWF" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="498" codebase="http://active.macromedia.com/flash7/cabs/ swflash.cab#version=9,0,28,0"><param name="src" value="http://www.axelscript.com/wp-content/Examples/RuntimeCSS/runtimeCSS.swf"/><param name="bgcolor" value="#1a1a1a"/><param name="quality" value="best"/><param name="allowScriptAccess" value="always"/><param name="allowFullScreen" value="true"/><param name="scale" value="showall"/><param name="flashVars" value="autostart=false"/><embed name="csSWF" src="http://www.axelscript.com/wp-content/Examples/RuntimeCSS/runtimeCSS.swf" width="640" height="498" bgcolor="#1a1a1a" quality="best" allowScriptAccess="always" allowFullScreen="true" scale="showall" flashVars="autostart=false" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object></p>
<img src="http://www.axelscript.com/?ak_action=api_record_view&id=170&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/10/03/improving-compile-times-with-runtime-css/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Flex Builder Tip &#8211; MY NAVIGATOR WONT SHOW UP I HAVE AN ERROR</title>
		<link>http://www.axelscript.com/2008/03/11/flex-builder-tip-my-navigator-wont-show-up-i-have-an-error/</link>
		<comments>http://www.axelscript.com/2008/03/11/flex-builder-tip-my-navigator-wont-show-up-i-have-an-error/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 18:46:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flex Builder Tips]]></category>
		<category><![CDATA[Flex Builder]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/2008/03/11/flex-builder-tip-my-navigator-wont-show-up-i-have-an-error/</guid>
		<description><![CDATA[Our power went out last night, and when I left work yesterday, I wanted to comeback later, and continue working, so I left some code up with flex builder open, and when the power went out, my computer rebooted&#8230; No huge surprise so far&#8230; but when I started flex builder back up my navigator was [...]]]></description>
			<content:encoded><![CDATA[<p>Our power went out last night, and when I left work yesterday, I wanted to comeback later, and continue working, so I left some code up with flex builder open, and when the power went out, my computer rebooted&#8230;</p>
<p>No huge surprise so far&#8230; but when I started flex builder back up my navigator was showing some sort of error&#8230;. some eclipse error, that I fixed before writing down the error&#8230;</p>
<p>I remembered something I learned from using cfeclipse and debugging some of the update issues I have had, and I remembered you can start eclipse with a &#8220;-clean&#8221; argument from the command line, and it will reinitialize the cached classes&#8230;</p>
<p>so I opened up the command line and browsed to the FlexBuilder folder (&#8216;c:\Program Files\Adobe\Flex Builder 2\FlexBuilder.exe -clean&#8217;)</p>
<p>now all is well&#8230; simple fix&#8230;</p>
<img src="http://www.axelscript.com/?ak_action=api_record_view&id=107&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/03/11/flex-builder-tip-my-navigator-wont-show-up-i-have-an-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing the filenames in Flex Builder html templates</title>
		<link>http://www.axelscript.com/2008/02/20/changing-the-filenames-in-flex-builder-html-templates/</link>
		<comments>http://www.axelscript.com/2008/02/20/changing-the-filenames-in-flex-builder-html-templates/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 20:51:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Flex Builder Tips]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/2008/02/20/changing-the-filenames-in-flex-builder-html-templates/</guid>
		<description><![CDATA[I have been wondering how to do this for a while, and here is a fantastic post on this subject. You need to do a couple of things&#8230; the first is this post: it explains what you need to rename your file to for the flex builder to see what to do. morearty.com/blog &#8230; First [...]]]></description>
			<content:encoded><![CDATA[<p>I have been wondering how to do this for a while, and here is a fantastic post on this subject.</p>
<p>You need to do a couple of things&#8230; the first is this post:</p>
<p>it explains what you need to rename your file to for the flex builder to see what to do.</p>
<p><a href="http://www.morearty.com/blog/2006/12/11/changing-the-filenames-in-flex-builder-html-templates/" target="_blank">morearty.com/blog &#8230; First Post</a></p>
<p>and the second is this post&#8230; it explains how to change the run url, and debug url.</p>
<p><a href="http://www.morearty.com/blog/2006/05/23/flex-builder-ctrl-click-to-access-a-lanch-configs-properties/" target="_blank">morearty.com/blog &#8230; Second Post</a></p>
<img src="http://www.axelscript.com/?ak_action=api_record_view&id=86&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/02/20/changing-the-filenames-in-flex-builder-html-templates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make the Flex .swf file transparent (CUSOMIZING THE TEMPLATE)</title>
		<link>http://www.axelscript.com/2008/02/13/make-the-flex-swf-file-transparent-cusomizing-the-template/</link>
		<comments>http://www.axelscript.com/2008/02/13/make-the-flex-swf-file-transparent-cusomizing-the-template/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 20:48:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Flex Builder Tips]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/2008/02/13/make-the-flex-swf-file-transparent-cusomizing-the-template/</guid>
		<description><![CDATA[I was assigned with a task to make a working example of using google maps, and I really wanted to use flex 2.0. I want my movie to cover the full screen, and then i want to use CSS to overlay on top of the .swf file to make it appear as though, my google [...]]]></description>
			<content:encoded><![CDATA[<p class="body"> 		I was assigned with a task to make a working example of using google maps, and I really wanted to use flex 2.0.  I want my movie to cover the full screen, and then i want to use CSS to overlay on top of the .swf file to make it appear as though, my google maps is showing within my .swf file.<span id="more-52"></span><br />
I&#8217;ve done about an hours worth of research, and I&#8217;ve found out how to make my .swf file transparent, but now I&#8217;m running into problems with Internet explorer 6.0 not making the .swf file transparent.</p>
<p>First.  In your flex project, open up the file &#8220;html-template/index.template.html&#8221;</p>
<p>THIS IS WHERE ALL OF YOUR CUSTOM JAVASCRIPT goes, that way when you compile, it doesn&#8217;t overwrite your contents&#8230;</p>
<p>open up that file, and you&#8217;ll see little (+)(plus) signs on the left of the code, where it is hidden, just collapse all of the code&#8230; i&#8217;ve customized my code, so i&#8217;m not sure what line it&#8217;s on, but I know it&#8217;s in the vicinity of line 105</p>
<p class="code">// Version check for the Flash Player that has the ability to start Player Product Install (<span style="color: #0000ff">6</span>.0r65)<br />
var hasProductInstall = DetectFlashVer(<span style="color: #0000ff">6</span>,<span style="color: #0000ff"> 0</span>,<span style="color: #0000ff"> 65</span>);</p>
<p>(above is the first line of code in the comment)</p>
<p>This comment is actually processed, and ran.</p>
<p>I added the line</p>
<p class="code"><span style="color: #0000ff">&#8220;name&#8221;</span>, <span style="color: #0000ff">&#8220;${application}&#8221;</span>,<br />
<span style="color: #0000ff">&#8220;allowScriptAccess&#8221;</span>,<span style="color: #0000ff">&#8220;sameDomain&#8221;</span>,<br />
<span style="color: #0000ff">&#8220;wmode&#8221;</span>,<span style="color: #0000ff">&#8220;transparent&#8221;</span>,<span style="color: #808080"><em> //&lt;&#8212;this line i added</em></span></p>
<p>I also added it, in the (else) statement that follows it.</p>
<p>That seemed to work for firefox, but not in IE.  I&#8217;m now chasing down why the problem is not working, and i&#8217;ll post on that later.</p>
<img src="http://www.axelscript.com/?ak_action=api_record_view&id=52&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/02/13/make-the-flex-swf-file-transparent-cusomizing-the-template/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I DON&#8217;T have coldfusion installed on my LOCAL machine what do i do!</title>
		<link>http://www.axelscript.com/2008/02/13/i-dont-have-coldfusion-installed-on-my-local-machine-what-do-i-do/</link>
		<comments>http://www.axelscript.com/2008/02/13/i-dont-have-coldfusion-installed-on-my-local-machine-what-do-i-do/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 20:48:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Flex Builder Tips]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/2008/02/13/i-dont-have-coldfusion-installed-on-my-local-machine-what-do-i-do/</guid>
		<description><![CDATA[After some pretty extensive research, I was able to find a good blog post about a similar subject&#8230; The problem&#8230; HERE IS A TUTORIAL say you want to develop on a remote machine, say a mapped drive? or something along those lines&#8230; but when you go to create your flex project all you get is [...]]]></description>
			<content:encoded><![CDATA[<p class="body"> 		After some pretty extensive research, I was able to find a good blog post about a similar subject&#8230;   The problem&#8230;</p>
<p><span id="more-51"></span><br />
<a href="http://axelscript.com/wp-content/cfwtExamples/files/RemoteProject.doc" target="_blank">HERE IS A TUTORIAL </a></p>
<p>say you want to develop on a remote machine, say a mapped drive? or something along those lines&#8230; but when you go to create your flex project all you get is this error</p>
<h2>&#8220;Invalid server root.  Server root must contain a WEB-INF/flex folder.&#8221;</h2>
<p>WHAT DO YOU DO?</p>
<p>I&#8217;m not sure if this is technically correct or the downsides to this, all i know is that i couldn&#8217;t even get started until this was done&#8230; Please take a look at the tutorial and follow the steps&#8230; if your having the same issue, and find a different way, or more proper way to fix it, please post a comment, and we can exchange links&#8230;.</p>
<p>Axel</p>
<p>also look at</p>
<p><a href="http://www.kenreiss.com/blog/index.cfm/2006/8/10/Flex-20-with-CFMX-702--SUCCESS" target="_blank">http://www.kenreiss.com/blog/index.cfm/2006/8/10/Flex-20-with-CFMX-702&#8211;SUCCESS</a></p>
<img src="http://www.axelscript.com/?ak_action=api_record_view&id=51&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/02/13/i-dont-have-coldfusion-installed-on-my-local-machine-what-do-i-do/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install Flex Builder 2 CF Extensions</title>
		<link>http://www.axelscript.com/2008/02/09/how-to-install-flex-builder-2-cf-extensions/</link>
		<comments>http://www.axelscript.com/2008/02/09/how-to-install-flex-builder-2-cf-extensions/#comments</comments>
		<pubDate>Sat, 09 Feb 2008 22:08:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Flex Builder Tips]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/2008/02/09/how-to-install-flex-builder-2-cf-extensions/</guid>
		<description><![CDATA[I recently installed Flex Builder 2, and wanted to install the coldfusion extensions, but ran into some issues&#8230; when i installed, the installer asked me if i would like to view the instructions on how to install the coldfusion extensions, but when i clicked yes, nothing happened&#8230;. I did some research and found out how [...]]]></description>
			<content:encoded><![CDATA[<p class="body">I recently installed Flex Builder 2, and wanted to install the coldfusion extensions, but ran into some issues&#8230;</p>
<p> when i installed, the installer asked me if i would like to view the instructions on how to install the coldfusion extensions, but when i clicked yes, nothing happened&#8230;.</p>
<p><span id="more-17"></span><br />
I did some research and found out how to install them</p>
<p>If you installed the Demo from Adobe, these steps should work.</p>
<p>1. Start Flex Builder 2</p>
<p>2. Click on Help &gt; Software Updates &gt; Click &#8220;Find and Install&#8221; &gt; Click &#8220;Search for new features to install&#8221; &gt; Click Next &gt; click &#8220;New Archived Site&#8221; &gt; Browse to</p>
<p>C:\WINDOWS\Downloaded Installations\Adobe Flex Builder 2\ColdFusion Extensions for Flex Builder</p>
<p>You will find 2 files in there, a html file that gives more instructions on how to install, and a .zip file that starts with CF_FB_****.zip file (forgive me i renamed mine to be</p>
<p>ColdFusion_FlexBuilder_Feature.zip</p>
<p>because i was confused by the instructions in the html file.</p>
<p>but when you click on &#8220;New Archived site&#8221; you run through a wizard that lets you select a .zip file&#8230; and then you keep clicking next&#8230;</p>
<p>This was written for guidance purposes&#8230; and not the exact steps&#8230;</p>
<img src="http://www.axelscript.com/?ak_action=api_record_view&id=17&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/02/09/how-to-install-flex-builder-2-cf-extensions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

