<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Wanna Know Flex</title>
	
	<link>http://www.wannaknowflex.com</link>
	<description>Flex Tips and gems of code...</description>
	<lastBuildDate>Thu, 16 Jun 2011 14:09:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/WannaKnowFlex" /><feedburner:info uri="wannaknowflex" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>WannaKnowFlex</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:browserFriendly></feedburner:browserFriendly><item>
		<title>FlexSpy – A FireBug for Flash</title>
		<link>http://www.wannaknowflex.com/2011/06/excellent-plugin/</link>
		<comments>http://www.wannaknowflex.com/2011/06/excellent-plugin/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 14:08:14 +0000</pubDate>
		<dc:creator>Shai Reznik</dc:creator>
				<category><![CDATA[Flash builder]]></category>
		<category><![CDATA[addons]]></category>

		<guid isPermaLink="false">http://www.wannaknowflex.com/2011/06/excellent-plugin/</guid>
		<description><![CDATA[I want to recommend you a great open source plugin I&#8217;ve encountered and used: 
FlexSpy
It&#8217;s basically a FireBug for Flash, but that really works and does the work without choking your browser.
One of the popular complaints about flash developing is that you have to compile in order to see the results of layout and styles.. [...]]]></description>
			<content:encoded><![CDATA[<p>I want to recommend you a great open source plugin I&#8217;ve encountered and used: </p>
<p><a href="http://code.google.com/p/fxspy/">FlexSpy</a></p>
<p>It&#8217;s basically a FireBug for Flash, but that really works and does the work without choking your browser.</p>
<p>One of the popular complaints about flash developing is that you have to compile in order to see the results of layout and styles.. With this you don&#8217;t ! <img src='http://www.wannaknowflex.com/flexblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Really Great plugin&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wannaknowflex.com/2011/06/excellent-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modularization of Flex Applications – Conclusions</title>
		<link>http://www.wannaknowflex.com/2011/02/modularization-of-flex-applications-conclusions/</link>
		<comments>http://www.wannaknowflex.com/2011/02/modularization-of-flex-applications-conclusions/#comments</comments>
		<pubDate>Mon, 07 Feb 2011 13:25:08 +0000</pubDate>
		<dc:creator>Shai Reznik</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Modularization]]></category>
		<category><![CDATA[rsls]]></category>

		<guid isPermaLink="false">http://www.wannaknowflex.com/?p=81</guid>
		<description><![CDATA[Hey guys,
I was in a Yakov Fain lecture about modularization of flex applications yesterday and it was great, the lecture was organized by Almog Koren, so Almog, Thanks!
As a matter of fact, I already saw this lecture on the internet, but this time I took notice of several new discoveries I wanted to share with [...]]]></description>
			<content:encoded><![CDATA[<p>Hey guys,</p>
<p>I was in a <a title="Farata Systems" href="http://flexblog.faratasystems.com/" target="_blank">Yakov Fain</a> lecture about modularization of flex applications yesterday and it was great, the lecture was organized by <a href="http://flashandflexisrael.groups.adobe.com/resources/1564" target="_blank">Almog Koren</a>, so Almog, Thanks!</p>
<p>As a matter of fact, I <a href="http://blip.tv/file/3201360" target="_blank">already saw this lecture on the internet</a>, but this time I took notice of several new discoveries I wanted to share with you.</p>
<h3 style="text-align: left;"><em><strong>Few Tips from the presentation</strong></em></h3>
<p><br/><br />
<strong>When loading modules -</strong></p>
<p>you don&#8217;t have to load RSL in the main app, only link it as such to the module itself<br />
<br/><br />
<strong>Merge into Code</strong> -</p>
<p>Yakov reminded us that in this linkage option, only classes I used will be compiled into the swf, for more information read my post on <a title="Flex Linkage – Difference between RSL and External" href="http://www.wannaknowflex.com/2010/05/flex-linkage-difference-between-rsl-and-external">Flex linkage types: Merge into code, RSL and External</a><br />
<br/><br />
<strong>Fonts slow the compilation &#8211; </strong></p>
<p>so always compile your css which embed the fonts as a separate SWF file, and load it dynamically.<br />
<br/><br />
<strong>Shared Events between modules </strong>-</p>
<p>When working with modules, apparently you can listen to and dispatch events from systemManager.loaderInfo.SharedEvents from the main <span style="color: #0000ff;"><strong>Application</strong></span>.</p>
<p>And on the<span style="color: #339966;"> <span style="color: #ff0000;"><strong>Module</strong></span></span> you can listen to and dispatch events from loaderInfo.ShareEvents</p>
<p>That way you can create a simple communication layer between modules and other modules, and between modules and the main application which loaded them.<br />
<br/><br />
<strong>Preloader as a flash content  &#8211; </strong></p>
<p>In his book &#8220;<a href="http://www.amazon.com/gp/product/059615416X?ie=UTF8&#038;tag=wannaknowflex-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=059615416X" target="_blank">Enterprise flex application</a><img src="http://www.assoc-amazon.com/e/ir?t=wannaknowflex-20&#038;l=as2&#038;o=1&#038;a=059615416X" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />&#8221; he gives and example of using a flash preloader swf who looks like the initial login page in your application, and on the background he loads the rsls while the user verify his details.</p>
<p>It&#8217;s a nice concept to think of, especially when you have lots of rsls to load in the preloading of the Application.<br />
<br/><br />
That&#8217;s is what I gathered from the lecture, <a title="Slides" href="http://myflex.org/presentations/FlexModularization_Israel.pdf" target="_blank">here are the slides</a></p>
<p>Hope it helps someone out there&#8230;.</p>
<p>Shai</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wannaknowflex.com/2011/02/modularization-of-flex-applications-conclusions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash Builder – Open Type (ctrl+shift+T) not working – Solved</title>
		<link>http://www.wannaknowflex.com/2010/12/flash-builder-open-type-problem-solved/</link>
		<comments>http://www.wannaknowflex.com/2010/12/flash-builder-open-type-problem-solved/#comments</comments>
		<pubDate>Wed, 15 Dec 2010 12:52:36 +0000</pubDate>
		<dc:creator>Shai Reznik</dc:creator>
				<category><![CDATA[Flash builder]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[solution]]></category>

		<guid isPermaLink="false">http://www.wannaknowflex.com/?p=73</guid>
		<description><![CDATA[I've searched a lot on the web to find a solution for this problem in Flash Builder 4, but no luck...

So after a few trials and erros, I've managed to restore this useful shortcut, but... ]]></description>
			<content:encoded><![CDATA[<p>Do you know the &#8220;Open Type&#8221; command (ctrl+shift+T) command in Flash Builder?</p>
<p>No? well.. you should!</p>
<p>It lets you open up framework source types like Button, Label etc&#8230;</p>
<p>Well, sometimes Flash Builder gets a little crazy and don&#8217;t let you open the Open Type</p>
<p>I&#8217;ve searched a lot on the web to find a solution for this problem in Flash Builder 4, but no luck&#8230;</p>
<p>So after a few trials and erros, I&#8217;ve managed to restore this useful shortcut, but&#8230; I did a mistake and didn&#8217;t check after each of my last steps I took if it is fixed&#8230; so you&#8217;ll have to tell me which one did it for you.. <img src='http://www.wannaknowflex.com/flexblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>The steps I did were:</strong></p>
<ol>
<li>Open <strong>Window</strong> -&gt; <strong>Preferences</strong>.</li>
<li>Open <strong>General </strong>-&gt; <strong>Keys</strong></li>
<li>Clicked &#8220;<strong>Restore Defaults</strong>&#8220;</li>
<li>Clicked &#8220;<strong>Apply</strong>&#8221; and &#8220;<strong>OK</strong>&#8220;</li>
<li>Back To the same keys screen</li>
<li>filtered the keys by &#8220;open type&#8221; string, so I will get only those 2 commands</li>
<li>Changed the shortcut to something else like &#8220;ctrl+shift+ A&#8221;</li>
<li>Clicked &#8220;<strong>Apply</strong>&#8221; and &#8220;<strong>OK</strong>&#8220;</li>
<li>Back To the same keys screen</li>
<li>Changed the shortcut back to &#8220;ctrl+shift+ T&#8221;</li>
<li>Did a restart to the Flash Builder</li>
</ol>
<p>This is the part that I didn&#8217;t check if it worked right away, so now its a good point to stop and check it (maybe that&#8217;s all you need)</p>
<p>If it doesn&#8217;t work, try:</p>
<ol>
<li>Opened <strong>Window </strong>-&gt; <strong>Perspective </strong>-&gt; <strong>Customize Perspective</strong></li>
<li>In &#8220;<strong>Command Groups Availability</strong>&#8221; -&gt; Checked the  &#8220;<strong>Java Navigation</strong>&#8220;</li>
<li>Clicked &#8220;<strong>OK</strong>&#8221; and then  clicked &#8220;<strong>Cancel</strong>&#8220;</li>
<li>Went back to the <strong>Customize Perspective</strong> -&gt; &#8220;<strong>Command Groups Availability</strong>&#8221; -&gt; Unchecked the &#8220;<strong>Flash Navigation</strong>&#8220;</li>
<li>Clicked &#8220;<strong>OK</strong>&#8221; and then  clicked &#8220;<strong>Cancel</strong>&#8220;</li>
</ol>
<p>And please tell me when it started working for you, so I&#8217;ll update this post&#8230;</p>
<p>Hope this is helpful&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wannaknowflex.com/2010/12/flash-builder-open-type-problem-solved/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Installing Ant On Flash Builder 4</title>
		<link>http://www.wannaknowflex.com/2010/08/installing-ant-on-flash-builder-4/</link>
		<comments>http://www.wannaknowflex.com/2010/08/installing-ant-on-flash-builder-4/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 07:32:55 +0000</pubDate>
		<dc:creator>Shai Reznik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wannaknowflex.com/?p=68</guid>
		<description><![CDATA[I was searching the web for some time try to find how I can install easily and quickly ANT on Flash Builder 4.
Luckily I ran into this blog post about Installing Ant On Flash Builder 4
Thanks again to zoltanb (the blogger).
Quick and easy, Enjoy!
]]></description>
			<content:encoded><![CDATA[<p>I was searching the web for some time try to find how I can install easily and quickly ANT on Flash Builder 4.</p>
<p>Luckily I ran into this blog post about <a title="Install Ant In Flash Builder 4" href="http://www.zoltanb.co.uk/Flash-Articles/fb4-standalone-how-to-install-ant-in-flash-builder-4-premium.php">Installing Ant On Flash Builder 4</a></p>
<p>Thanks again to zoltanb (the blogger).</p>
<p>Quick and easy, Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wannaknowflex.com/2010/08/installing-ant-on-flash-builder-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash Profiler Problems with builder 4.01 and player 10.1</title>
		<link>http://www.wannaknowflex.com/2010/07/flash-profiler-problems-with-builder-4-01-and-player-10-1/</link>
		<comments>http://www.wannaknowflex.com/2010/07/flash-profiler-problems-with-builder-4-01-and-player-10-1/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 14:29:28 +0000</pubDate>
		<dc:creator>Shai Reznik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wannaknowflex.com/?p=62</guid>
		<description><![CDATA[Problem:
I&#8217;ve encountered a strange problem since I&#8217;ve updated my builder.
For some reason the profiler didn&#8217;t work and showed me this error:
&#8220;Unable to connect to the application to fetch profile data&#8221;
Solution:
Well, after countless of hours search for a solution, I arrived to this forum and did what the suggest at the end of the conversation &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem:</strong></p>
<p>I&#8217;ve encountered a strange problem since I&#8217;ve updated my builder.</p>
<p>For some reason the profiler didn&#8217;t work and showed me this error:</p>
<p>&#8220;Unable to connect to the application to fetch profile data&#8221;</p>
<p><strong>Solution:</strong></p>
<p>Well, after countless of hours search for a solution, I arrived to <a href="http://forums.adobe.com/message/2991377?tstart=0">this forum</a> and did what the suggest at the end of the conversation &#8211; Uninstalling flash player 10.1 and installing flash player 10 instead.</p>
<p>It worked&#8230; finally !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wannaknowflex.com/2010/07/flash-profiler-problems-with-builder-4-01-and-player-10-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>unable to export SWC oem</title>
		<link>http://www.wannaknowflex.com/2010/07/unable-to-export-swc-oem/</link>
		<comments>http://www.wannaknowflex.com/2010/07/unable-to-export-swc-oem/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 16:15:36 +0000</pubDate>
		<dc:creator>Shai Reznik</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[solution]]></category>

		<guid isPermaLink="false">http://www.wannaknowflex.com/?p=49</guid>
		<description><![CDATA[I&#8217;ve encountered a strange error:
&#8220;unable to export SWC oem&#8221;
I&#8217;ve found that it&#8217;s a problem in the .flexLibProperties&#8217;s  tags.
The solution is to do the following steps:

Open flexLibProperties (you can open using ctrl+shift+r)
Delete all the &#60;resourceEntry&#62; tags under &#60;includeResources&#62;
Go to properties-&#62;build-path-&#62;assets and select all
Recompile your project

That should do it&#8230;
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve encountered a strange error:</p>
<p>&#8220;unable to export SWC oem&#8221;</p>
<p>I&#8217;ve found that it&#8217;s a problem in the .flexLibProperties&#8217;s  tags.</p>
<p>The solution is to do the following steps:</p>
<ol>
<li>Open flexLibProperties (you can open using ctrl+shift+r)</li>
<li>Delete all the &lt;resourceEntry&gt; tags under &lt;includeResources&gt;</li>
<li>Go to properties-&gt;build-path-&gt;assets and select all</li>
<li>Recompile your project</li>
</ol>
<p>That should do it&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wannaknowflex.com/2010/07/unable-to-export-swc-oem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex Linkage – Difference between RSL and External</title>
		<link>http://www.wannaknowflex.com/2010/05/flex-linkage-difference-between-rsl-and-external/</link>
		<comments>http://www.wannaknowflex.com/2010/05/flex-linkage-difference-between-rsl-and-external/#comments</comments>
		<pubDate>Thu, 06 May 2010 09:03:21 +0000</pubDate>
		<dc:creator>Shai Reznik</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Flash builder]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[External]]></category>
		<category><![CDATA[Library Projects]]></category>
		<category><![CDATA[Linkage]]></category>
		<category><![CDATA[RSL]]></category>

		<guid isPermaLink="false">http://www.wannaknowflex.com/?p=40</guid>
		<description><![CDATA[In my last post about Working With Flex Library Projects, I&#8217;ve wrote about the importance of dividing your project into different libraries so you could share common elements between different applications or modules.
Today I wanna talk about the different types of linkage options you have when linking an external library project or swc to your [...]]]></description>
			<content:encoded><![CDATA[<p>In my last post about <a href="http://www.wannaknowflex.com/2010/04/working-with-flex-library-projects/">Working With Flex Library Projects</a>, I&#8217;ve wrote about the importance of dividing your project into different libraries so you could share common elements between different applications or modules.</p>
<p>Today I wanna talk about the different types of linkage options you have when linking an external library project or swc to your flex project / library.</p>
<p>As you know or may not know, you have 3 different linkage types in flex:</p>
<ul>
<li> <strong>Merged Into Code</strong></li>
<li><strong>External</strong></li>
<li><strong>RSL</strong> (Runtime Shared Library)</li>
</ul>
<p>So, what is the difference?</p>
<p>While googling on this subject I came across this post: <a href="http://victorrasputnis.sys-con.com/node/295397/mobile">Working with Large Applications</a> which explains quite deeply the whole concept of RSLs and linkage, although a bit long for someone who was looking for a quick answer.</p>
<p>So I thought I would write a simple straight forward explanation:</p>
<p>A library in it&#8217;s deployment is a SWC.</p>
<p>A SWC combines of a <strong>Library.swf </strong>with a xml of all the class definitions of the library, called: <strong>&#8220;Catalog.xml</strong>&#8221;</p>
<p>When you link a library to a project or another library, you sometimes load the actual <strong>Library.swf</strong> depending on the linkage type, but you always load it&#8217;s <strong>catalog.xml</strong> file into the main application&#8217;s <strong>ApplicationDomain</strong>.</p>
<p>&#8220;<strong>ApplicationDomain</strong>&#8221; is the storage of all the class definitions of an application, and all of the classes it is allow to refer in build and in runtime.<br />
<br/></p>
<h3><strong>So, here is a summery of the difference between the linkage types:</strong></h3>
<p><strong>Merged into code:</strong> loads the library&#8217;s catalog.xml to the ApplicationDomain and compiles it&#8217;s library.swf into the main application swf. <strong>BUT</strong> , And this is a big one &#8211; <span style="text-decoration: underline;">Only the classes you use in the library will be compiled !!</span></p>
<p>That means that if you don&#8217;t use a certian component, it won&#8217;t be included in the catalog.xml and you can&#8217;t call it at runtime.<span style="text-decoration: underline;"><br />
</span></p>
<p><strong>RSL:</strong> loads the library&#8217;s catalog.xml to the ApplicationDomain (unlike &#8220;merge into code&#8221;, this one includes all the classes) and also loads the swf into memory only at the start of the runtime , so you could reach a class definition at runtime, and create an instance.</p>
<p><strong>External:</strong> loads the library&#8217;s catalog.xml to the ApplicationDomain and doesn&#8217;t load the swf of the library at runtime, this option expects a preloading of the library swf into the ApplicationDomain.</p>
<p>Lets say you have 3 projects:</p>
<ul>
<li><strong><span style="color: #008000;">MainProject</span> </strong> (Flex Project)</li>
<li><strong><span style="color: #ff0000;">Lib1</span> </strong>(Library Project)</li>
<li><strong><span style="color: #0000ff;">Lib2</span> </strong>(Library Project)</li>
</ul>
<p>If <span style="color: #ff0000;"><strong>Lib1</strong></span> is linked to <span style="color: #0000ff;"><strong>Lib2</strong></span> via<strong> <em>External</em></strong><em> Linkage</em>, <span style="color: #0000ff;"><strong>Lib2</strong></span> must be loaded into memory by <span style="color: #008000;"><strong>MainProject</strong></span> before <span style="color: #008000;"><strong>MainProject</strong></span> loads <span style="color: #ff0000;"><strong>Lib1</strong></span>, using RSL linkage for example.</p>
<p>If not, on runtime you will get an error of missing or undefined class definitions, when you try to load classes from Lib2.</p>
<p>Linking as external between library projects saves you both compiling and loading time, just remember to preload them as RSLs in your main application first&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wannaknowflex.com/2010/05/flex-linkage-difference-between-rsl-and-external/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Working With Flex Library Projects</title>
		<link>http://www.wannaknowflex.com/2010/04/working-with-flex-library-projects/</link>
		<comments>http://www.wannaknowflex.com/2010/04/working-with-flex-library-projects/#comments</comments>
		<pubDate>Sun, 18 Apr 2010 13:50:29 +0000</pubDate>
		<dc:creator>Shai Reznik</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Flash builder]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Library Projects]]></category>
		<category><![CDATA[RSL]]></category>
		<category><![CDATA[Seperation]]></category>

		<guid isPermaLink="false">http://www.wannaknowflex.com/?p=28</guid>
		<description><![CDATA[Hello one and a half users !  
Today&#8217;s topic is Flex Library Projects&#8230; and why should you be interested in using them..
Well, libraries have several use cases:

Reduce Download Time
You divide your code into logical library struture, for example:

CommonComponents Library
CoreArchitecture Library

Now lets say, several projects share the same common components,
if you compile the libraries as [...]]]></description>
			<content:encoded><![CDATA[<p>Hello one and a half users ! <img src='http://www.wannaknowflex.com/flexblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Today&#8217;s topic is <a title="Flex Library Projects" href="http://livedocs.adobe.com/flex/3/html/help.html?content=rsl_09.html">Flex Library Projects</a>&#8230; and why should you be interested in using them..</p>
<p>Well, libraries have several use cases:<br />
<br/><br/><br />
<strong>Reduce Download Time</strong></p>
<p>You divide your code into logical library struture, for example:</p>
<ul>
<li>CommonComponents Library</li>
<li>CoreArchitecture Library</li>
</ul>
<p>Now lets say, several projects share the same common components,</p>
<p>if you compile the libraries as RSL the client will download the compiled RSL (swf) only once,</p>
<p>And next time he downloads any projects which uses this RSL it will be much faster.<br />
<br/><br />
<strong>Reducing Build time</strong></p>
<p>When you&#8217;re building large applications, you have to keep in mind that the larger the app SWF file, also the longer it takes to build it in Flash Builder.</p>
<p>So when you are working on smaller specific library projects, and you make changes to code in one project, only that one is being complied again and not all of the others.</p>
<p><br/></p>
<p><strong>Reuse of Components</strong></p>
<p>When sharing common components over several projects / libraries, it is a best practice to export all of those recurring components into a library project, and share that SWC over all the relevant project.</p>
<p>Also, when you&#8217;re working on a team, or maybe sharing code with another team at your company, library projects makes a great solution for reducing the conflicts, and for easier testing.</p>
<p>So if you aren&#8217;t working with Flex library projects via RSL or External linkage, start rethinking your strategy&#8230; It will probably save you a lot of compiling and developing time, and it will save your client downloading time.<br />
<br/><br/><br />
If you have other advantages to add, please feel free to comment.</p>
<p>Shai</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wannaknowflex.com/2010/04/working-with-flex-library-projects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MVC – The Power Of Seperation</title>
		<link>http://www.wannaknowflex.com/2010/04/mvc-the-power-of-seperation/</link>
		<comments>http://www.wannaknowflex.com/2010/04/mvc-the-power-of-seperation/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 12:44:21 +0000</pubDate>
		<dc:creator>Shai Reznik</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[Actionscript]]></category>

		<guid isPermaLink="false">http://www.wannaknowflex.com/?p=11</guid>
		<description><![CDATA[When I first started writing Flex applications, I had no idea about the MVC concept and it&#8217;s importance.
You see, I made a transition from the old HTML/ javascript/ ASP to the exciting world of RIA, and felt very confused when my applications got larger.
If you are a beginner, or don&#8217;t know about MVC, it is [...]]]></description>
			<content:encoded><![CDATA[<p>When I first started writing Flex applications, I had no idea about the MVC concept and it&#8217;s importance.</p>
<p>You see, I made a transition from the old HTML/ javascript/ ASP to the exciting world of RIA, and felt very confused when my applications got larger.</p>
<p>If you are a beginner, or don&#8217;t know about MVC, it is important the you <a title="MVC" href="http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller" target="_blank">read about it</a>, and than try to implement it when you are coding new components in actionscript.</p>
<p>Try to think about your application in the following way:</p>
<p><strong>Views</strong> (components like comboBox and List), can change applications like old T-shirts, so you write them with no knowledge about the data or logic of a specific application</p>
<p><strong>Controller</strong> (usually commands) &#8211; Is the logic of the application, and usually specific to that application, it contains all of the actions on the model (data) and the views (change states and such).</p>
<p><strong>Model </strong>(the data of the app) &#8211; Usually stays the same and is application specific.</p>
<p>So, the major thing you want to take out of this concept is the <span style="text-decoration: underline;">usability of views</span>.</p>
<p>Write components and views with clear interfaces so they will know only what to render information to the user, but not where the data is stored and how to manipulate it.</p>
<p>to read more about this pattern, <a href="http://www.adobe.com/devnet/flash/articles/mv_controller.html">here is a good article</a>.</p>
<p>Hope this helps,</p>
<p>Shai</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wannaknowflex.com/2010/04/mvc-the-power-of-seperation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First Post</title>
		<link>http://www.wannaknowflex.com/2010/03/first-post/</link>
		<comments>http://www.wannaknowflex.com/2010/03/first-post/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 13:26:15 +0000</pubDate>
		<dc:creator>Shai Reznik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[first post]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[welcome]]></category>

		<guid isPermaLink="false">http://www.wannaknowflex.com/?p=3</guid>
		<description><![CDATA[Welcome random visitor who just were curious enough to check out what was on the first post&#8230;
Obviously no one knows this blog exists right now, but maybe in a few months it will attract some readers.
I will try to write tiny bits of useful info I stumble upon while working on flex.
In order to be [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome random visitor who just were curious enough to check out what was on the first post&#8230;</p>
<p>Obviously no one knows this blog exists right now, but maybe in a few months it will attract some readers.</p>
<p>I will try to write tiny bits of useful info I stumble upon while working on flex.</p>
<p>In order to be productive, I&#8217;m going to keep this posts short and useful (I hope).</p>
<p>So welcome again, and see ya soon.</p>
<p>Shai</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wannaknowflex.com/2010/03/first-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

