<?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>GUYA.NET &#187; Flash Builder 4</title>
	<atom:link href="http://blog.guya.net/category/flash-builder-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.guya.net</link>
	<description>Flash and Everything Else</description>
	<lastBuildDate>Tue, 29 Nov 2011 15:42:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Exotic Flash Builder 4 Tips and Tricks</title>
		<link>http://blog.guya.net/2010/10/03/exotic-flash-builder-4-tips-and-tricks/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=exotic-flash-builder-4-tips-and-tricks</link>
		<comments>http://blog.guya.net/2010/10/03/exotic-flash-builder-4-tips-and-tricks/#comments</comments>
		<pubDate>Sun, 03 Oct 2010 13:47:54 +0000</pubDate>
		<dc:creator>guya</dc:creator>
				<category><![CDATA[Adobe Flex]]></category>
		<category><![CDATA[Flash Builder 4]]></category>
		<category><![CDATA[Flash General]]></category>
		<category><![CDATA[Flex 3]]></category>

		<guid isPermaLink="false">http://blog.guya.net/2010/10/03/exotic-flash-builder-4-tips-and-tricks/</guid>
		<description><![CDATA[The Flash Builder is built on Eclipse, you know, hence many of Eclipse stuff will naturally comply, also, these tips will mostly work the same in Flex Builder 3 and Eclipse. -&#62; Browse to any file or directory It’s essential &#8230; <a href="http://blog.guya.net/2010/10/03/exotic-flash-builder-4-tips-and-tricks/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The Flash Builder is built on Eclipse, you know, hence many of Eclipse stuff will naturally comply, also, these tips will mostly work the same in Flex Builder 3 and Eclipse.</p>
<p><strong><font size="3">-&gt; Browse to any file or directory</font></strong></p>
<p>It’s essential to be able to easily browse to the resource you’re currently looking at. There should have been a built in way to do this.</p>
<p>1. Click on, <strong>Run</strong> –&gt; <strong>External Tools</strong> -&gt; <strong>External Tools Configuration</strong> (Alternatively, click on the Favorites icon and select &quot;External Tools Configuration&quot;)</p>
<p><a href="http://blog.guya.net/wp-content/uploads/2010/10/image.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://blog.guya.net/wp-content/uploads/2010/10/image_thumb.png" width="266" height="137" /></a> </p>
<p>2. Inside the &quot;External Tools Dialog&quot; -&gt; Select &quot;<strong>Program</strong>&quot; -&gt; click on the &quot;<strong>New Launch Configuration</strong>&quot; icon. </p>
<p><a href="http://blog.guya.net/wp-content/uploads/2010/10/image1.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://blog.guya.net/wp-content/uploads/2010/10/image_thumb1.png" width="294" height="193" /></a> </p>
<p>3. Inside the &quot;Main&quot; tab (Default) set: </p>
<ul>
<li><strong>Name</strong>: Explorer </li>
<li><strong>Location</strong>: c:windowsexplorer.exe </li>
<li><strong>Working Directory</strong>: c:windows </li>
<li><strong>Arguments</strong>: /select,&quot;${resource_loc}&quot; </li>
</ul>
<p><a href="http://blog.guya.net/wp-content/uploads/2010/10/image2.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://blog.guya.net/wp-content/uploads/2010/10/image_thumb2.png" width="429" height="302" /></a> </p>
<p>4. Go to the &quot;Build&quot; tab and <u>uncheck</u> &quot;<strong>Build before launch</strong>&quot; </p>
<p><a href="http://blog.guya.net/wp-content/uploads/2010/10/image3.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://blog.guya.net/wp-content/uploads/2010/10/image_thumb3.png" width="261" height="67" /></a></p>
<p>5. Go to the &quot;Common&quot; tab, look for &quot;Display in favorites menu&quot; and check &quot;<strong>External Tools</strong>&quot; </p>
<p align="center"><a href="http://blog.guya.net/wp-content/uploads/2010/10/image4.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://blog.guya.net/wp-content/uploads/2010/10/image_thumb4.png" width="372" height="192" /></a> </p>
<p>You can now select any file or directory from the “Package Explorer” and browse straight to it’s location in windows explorer.</p>
<p><a href="http://blog.guya.net/wp-content/uploads/2010/10/image5.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://blog.guya.net/wp-content/uploads/2010/10/image_thumb5.png" width="138" height="59" /></a> </p>
<p><strong><font size="3">-&gt; Extending with batch files – kill all IE processes</font></strong></p>
<p>Flash Builder 4 can be extended using batch files (Shell Scripts on the Mac). This example uses a batch file to kill all opened IE processes before launching a new debug session.</p>
<p>There are a few reasons to debug a Flex app in IE. Firstly, some users still use it, and secondly I don’t want the precious tabs that are opened on my other useful browsers to be bothered. Occasionally, IE processes are left running in the background even though debug session was ended. Sometimes I simply didn’t closed the browser before running a new session. Both of these cases lead to the consuming of needed memory and slows down the system.</p>
<p>A batch file is merely a text file with a <strong>.bat</strong> extension.</p>
<ol>
<li>Create a new text file. </li>
<li>
<div align="justify">Edit this file with any text editor –&gt; Copy paste this line into it: <strong>taskkill /F /IM &quot;iexplore.exe&quot;</strong>&#160; -&gt; Save this file as <strong>kill_iexplore.bat</strong> (Double clicking on this file will kill all IE processes)</div>
</li>
<li>Click on, <strong>Run</strong> –&gt; <strong>External Tools</strong> -&gt; <strong>External Tools Configuration</strong> </li>
<li>Inside the &quot;External Tools Dialog&quot; -&gt; Select &quot;<strong>Program</strong>&quot; -&gt; click on the &quot;<strong>New Launch Configuration</strong>&quot; icon. </li>
<li>Inside the &quot;Main&quot; tab (Default) set:      <br /><strong>Name</strong>: Kill Internet Explorer       <br /><strong>Location</strong>: c:kill_iexplore.bat       <br />(depending on were the file is saved)
<ul></ul>
</li>
<li>Go to the &quot;Build&quot; tab and <u>uncheck</u> &quot;<strong>Build before launch</strong>&quot; </li>
<li>Go to the &quot;Common&quot; tab, look for &quot;Display in favorites menu&quot; and check &quot;<strong>External Tools</strong>&quot; </li>
</ol>
<p>&#8211; In Order to kill all IE processes before launching a new debug session </p>
<ol>
<li>Right-Click on the flex project –&gt; Select “<strong>Properties</strong>” </li>
<li>In the properties dialog select “<strong>Builders</strong>” –&gt; Click on “<strong>Import</strong>” and select “<strong>Kill Internet Explorer”</strong> from the list. </li>
</ol>
<p> <a href="http://blog.guya.net/wp-content/uploads/2010/10/image6.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://blog.guya.net/wp-content/uploads/2010/10/image_thumb6.png" width="346" height="124" /></a>
<p><strong><font size="3">-&gt; Link with Editor</font></strong></p>
<p>This one is very helpful but easily overlooked, it’ll make the Package Explorer and the editor view synchronized.</p>
<p>Click on this icon to make your life better.</p>
<p><a href="http://blog.guya.net/wp-content/uploads/2010/10/image7.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.guya.net/wp-content/uploads/2010/10/image_thumb7.png" width="135" height="65" /></a> </p>
<p><strong><font size="3">-&gt; Some Important shortcuts</font></strong> (For Mac CTRL == CMD, ALT == Option)</p>
<table border="1" cellspacing="0" cellpadding="2" width="450">
<tbody>
<tr>
<td valign="top" width="157"><strong>Ctrl+Shift+T</strong></td>
<td valign="top" width="293">Find any class SDK included</td>
</tr>
<tr>
<td valign="top" width="157"><strong><strong>Ctrl+Shift</strong>+R</strong></td>
<td valign="top" width="293">Find any resource/file (wont find SDK classes)</td>
</tr>
<tr>
<td valign="top" width="157"><strong><strong><strong>Ctrl</strong></strong>+3</strong></td>
<td valign="top" width="293">Finds everything, literally everything &#8211; files, commands, views (<strong><u>Amazing, try it, use it</u></strong>)</td>
</tr>
<tr>
<td valign="top" width="157"><strong><strong><strong>Ctrl</strong></strong>+Alt+Up/Down</strong></td>
<td valign="top" width="293">Duplicate a line or a block of code</td>
</tr>
<tr>
<td valign="top" width="157"><strong>Alt+Up/Down</strong></td>
<td valign="top" width="293">Reorder a line or a block of code</td>
</tr>
<tr>
<td valign="top" width="157"><strong><strong><strong>Ctrl</strong></strong>+D</strong></td>
<td valign="top" width="293">Delete a line or a block of code</td>
</tr>
<tr>
<td valign="top" width="157"><strong><strong><strong>Ctrl</strong></strong>+<strong><strong>Shift</strong></strong>+L+L</strong></td>
<td valign="top" width="293">Open Configuration</td>
</tr>
<tr>
<td valign="top" width="157"><strong>Ctrl+K</strong></td>
<td valign="top" width="293">Find next (like F3)</td>
</tr>
</tbody>
</table>
<p><strong>Less important shortcuts</strong></p>
<table border="1" cellspacing="0" cellpadding="2" width="450">
<tbody>
<tr>
<td valign="top" width="160"><strong>Ctrl+O</strong></td>
<td valign="top" width="290">Current class outline</td>
</tr>
<tr>
<td valign="top" width="160"><strong><strong><strong>Ctrl</strong></strong>+<strong><strong>Shift</strong></strong>+G</strong></td>
<td valign="top" width="290">Finds all references in the workspace</td>
</tr>
<tr>
<td valign="top" width="160"><strong><strong><strong>Ctrl</strong></strong>+<strong><strong>Shift</strong></strong>+L</strong></td>
<td valign="top" width="290">Shows all shortcuts (key binding)</td>
</tr>
<tr>
<td valign="top" width="160"><strong><strong><strong>Ctrl</strong></strong>+M</strong></td>
<td valign="top" width="290">Maximize the selected view</td>
</tr>
<tr>
<td valign="top" width="160"><strong><strong><strong>Ctrl</strong></strong>+J</strong></td>
<td valign="top" width="290">Quick Search without the search dialog (click ESC when done)</td>
</tr>
<tr>
<td valign="top" width="160"><strong><strong><strong>Ctrl</strong></strong>+<strong><strong>Shift</strong></strong>+X</strong></td>
<td valign="top" width="290">To upper case</td>
</tr>
<tr>
<td valign="top" width="160"><strong><strong><strong>Ctrl</strong></strong>+<strong><strong>Shift</strong></strong>+Y</strong></td>
<td valign="top" width="290">To lower case</td>
</tr>
<tr>
<td valign="top" width="160"><strong><strong><strong>Ctrl</strong></strong>+I</strong></td>
<td valign="top" width="290">Auto indent selected code</td>
</tr>
</tbody>
</table>
<p>&#160;</p>
<p>P.S. Why exotic?! It made you look didn’t it. And beside, it is somewhat exotic.</p>
<p>P.S.S. At first I thought about writing a short post with only the first tip, but, thinking about it, I think I’ll make this an ever updating page. So if you have any other tip you like to share please write about it in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.guya.net/2010/10/03/exotic-flash-builder-4-tips-and-tricks/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Flash Player 10.1 Global Error Handling Examples and the Flex 3.x Issue</title>
		<link>http://blog.guya.net/2010/09/13/flash-player-10-1-global-error-handling-examples-and-the-flex-3-x-issue/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=flash-player-10-1-global-error-handling-examples-and-the-flex-3-x-issue</link>
		<comments>http://blog.guya.net/2010/09/13/flash-player-10-1-global-error-handling-examples-and-the-flex-3-x-issue/#comments</comments>
		<pubDate>Mon, 13 Sep 2010 09:29:47 +0000</pubDate>
		<dc:creator>guya</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Adobe Flex]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash Builder 4]]></category>
		<category><![CDATA[Flash General]]></category>

		<guid isPermaLink="false">http://blog.guya.net/2010/09/13/flash-player-10-1-global-error-handling-examples-and-the-flex-3-x-issue/</guid>
		<description><![CDATA[We all welcomed this addition to the Flash Player 10.1. The ability to catch all exceptions inside the player has lots of benefits, from proper logging on to not annoying users that has the debug player. There are some code &#8230; <a href="http://blog.guya.net/2010/09/13/flash-player-10-1-global-error-handling-examples-and-the-flex-3-x-issue/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We all welcomed this addition to the Flash Player 10.1. The ability to catch all exceptions inside the player has lots of benefits, from proper logging on to not annoying users that has the debug player.</p>
<p>There are some code examples of how to implement this feature, and indeed it was a breeze adding it for pure Flash and to Flex 4.x projects. But, somehow I had trouble making it work for Flex 3.x project. I know it’s a player dependent but still something in the Flex 3.x framework killed this functionality.</p>
<p>Anyhow, eventually it did worked for me on the Flex 3.x, but I couldn’t make it to work when even 1 of the libraries, except playerglobal.swc, <strong>is</strong> <strong>external or RSL</strong>. I guess there is no escape from monkeying with the RSL loader to see if I can find a solution there.</p>
<p>I’ve mad these examples available, in case you need a complete example and/or also struggling with this feature on Flex 3.x. Also, in these examples I didn’t force the user to update the Flash Player and used a compiler argument -target-player=10.1.0 instead of modifying the html wrapper.</p>
<p>All examples are <a title="Flash Player 10.1 Global Error Handling (GEH) Examples" href="http://guya.net/blogstuff/geh/" target="_blank">viewable here</a>, you can right-click on “View Source” or download the complete Flash Builder 4 projects (for Flex Builder 3 project, look at the comments).</p>
<p><a title="GEH Pure Flash Project" href="http://guya.net/blogstuff/geh/projects/GlobalErrFlash.zip" target="_blank">GEH Pure Flash</a></p>
<p><a title="GEH Flex 4.1 Project" href="http://guya.net/blogstuff/geh/projects/GlobalErrFlex4.fxp" target="_blank">GEH Flex 4.1</a></p>
<p><a title="GEH Flex 3.5 Project" href="http://guya.net/blogstuff/geh/projects/GolbalErrFlex3_5.fxp" target="_blank">GEH Flex 3.5</a></p>
<p>Note: No need for the FP 10.1 playerglobal.swc to be inside <em>C:Program FilesAdobeAdobe Flash Builder 4sdks4.1.0frameworkslibsplayer10.1 </em>I’ve put it inside the libs folder.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.guya.net/2010/09/13/flash-player-10-1-global-error-handling-examples-and-the-flex-3-x-issue/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>So what is Flex then, again?!</title>
		<link>http://blog.guya.net/2009/06/03/so-what-is-flex-then-again/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=so-what-is-flex-then-again</link>
		<comments>http://blog.guya.net/2009/06/03/so-what-is-flex-then-again/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 00:17:00 +0000</pubDate>
		<dc:creator>guya</dc:creator>
				<category><![CDATA[Flash Builder 4]]></category>
		<category><![CDATA[Flash Catalyst]]></category>
		<category><![CDATA[Flash General]]></category>
		<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://blog.guya.net/2009/06/03/so-what-is-flex-then-again/</guid>
		<description><![CDATA[With the release of the new Flash Builder 4 beta yesterday, it’s my chance, again, to congrat Adobe on the name change. Yeah I know this is old news, Flex builder has been rebranded to Flash Builder. I just wanna &#8230; <a href="http://blog.guya.net/2009/06/03/so-what-is-flex-then-again/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>With the <a href="http://labs.adobe.com/technologies/flashbuilder4" target="_blank">release</a> of the new <a title="What&#39;s new in Flash Builder 4 beta" href="http://www.adobe.com/devnet/flex/articles/flex4builder_whatsnew.html" target="_blank">Flash Builder 4</a> beta yesterday, it’s my chance, again, to congrat Adobe on the name change. </p>
<p>Yeah I know this is old news, Flex builder has been rebranded to Flash Builder. I just wanna join the people who welcomed it.   <br />Flex sounded more serious then Flash so, it served it&#8217;s purpose as a marketing term for showing the maturity of the Flash platform. Confused already?!     <br />I know a lot of people were and probably still are. Even seasoned Flash/Flex developers weren’t sure want is going on.     <br />I&#8217;ve heard comments like &#8211; “Flex is what competing with SilverLight and not Flash.” Which is obviously wrong.</p>
<p>I really wonder why it’s so difficult to understand, it’s not that complicated. If you feel like you still don’t get it then, <a title="The Flash Flex name game" href="http://www.chuckstar.com/blog/?p=293" target="_blank">read this</a>.</p>
<p>Of course <a title="name and shame" href="http://olegfilipchuk.com/2009/05/18/name-and-shame/" target="_blank">some</a><a title="A big mistake: Flex Builder is now Flash Builder" href="http://riapriority.com/en/blogs/index.php/constantiner/flex-builder-is-now-flash-builder" target="_blank"> people</a> think this change is a terrible mistake, these are mostly the people who the name Flex was meant to attract and will rather die in pain then to say they&#8217;re Flash developers. – You can still be a Flex developer, you know!    <br />Some raise none important questions,&#160; to say the least, like &#8211; <a title="Quick Question for Adobe: What Logo Will &quot;Flash Builder&quot; Use?" href="http://blogs.4point.com/taylor.bastien/2009/05/quick-question-for-adobe-what-logo-will-flash-builder-use.html" target="_blank">will the new logo retain it’s colors</a>? – yes it does, yes it does.</p>
<p>I mostly like the change because, it reduces the pain of trying to explain common people what is Flex.    <br />- “There is the Flex Builder and the Flex framework.” Here you probably lost most of them already. And you end with &#8211; “but anyway everything is compiled into Flash.” &#8211; “Aha, so what is Flex then, again?!” </p>
<p><a title="Enter Builder" href="http://www.insideria.com/2009/05/enter-builder.html" target="_blank">Here</a> is a screencast about the name change that also showoff the new builder.</p>
<p>Anyway it’s time to get busy with the new toys:</p>
<p><a title="Adobe Flash Builder 4 beta" href="http://labs.adobe.com/technologies/flashbuilder4/" target="_blank">Get Flash Builder 4 Beta</a></p>
<p><a title="What&#39;s new in Flash Builder 4 beta" href="http://www.adobe.com/devnet/flex/articles/flex4builder_whatsnew.html" target="_blank">What&#8217;s new in Flash Builder 4 beta</a></p>
<p><a title="What&#39;s new in Flex 4 SDK beta" href="http://www.adobe.com/devnet/flex/articles/flex4sdk_whatsnew.html" target="_blank">What&#8217;s new in Flex 4 SDK beta</a></p>
<p><a title="Adobe Flash Catalyst" href="http://labs.adobe.com/technologies/flashcatalyst/">Get Flash Catalyst</a></p>
<p><a title="Tutorial and Demonstration Videos" href="http://labs.adobe.com/technologies/flash/videos/">Flash Builder 4, Flex SDK4 and Flash Catalyst tutorial and demonstration videos</a></p>
<p>gotoAndLearn() Flash Catalyst and Flex 4: <a title="Flash Catalyst and Flex 4: Part 1" href="http://www.gotoandlearn.com/play?id=110">Part 1</a>, <a title="Flash Catalyst and Flex 4: Part 2" href="http://www.gotoandlearn.com/play?id=111">Part 2</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.guya.net/2009/06/03/so-what-is-flex-then-again/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

