<?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>markstar &#187; Flex</title>
	<atom:link href="http://markstar.co.uk/blog/category/flashplatform/flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://markstar.co.uk/blog</link>
	<description>blogging about the flash platform</description>
	<lastBuildDate>Sat, 31 Jul 2010 09:16:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Twitter Search Demo using Robotlegs and Events</title>
		<link>http://markstar.co.uk/blog/2010/flashplatform/flex/twitter-search-demo-using-robotlegs/</link>
		<comments>http://markstar.co.uk/blog/2010/flashplatform/flex/twitter-search-demo-using-robotlegs/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 15:13:42 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Flash Platform]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[Robotlegs]]></category>
		<category><![CDATA[Demo]]></category>
		<category><![CDATA[Event Model]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://markstar.co.uk/blog/?p=261</guid>
		<description><![CDATA[I've had chance to play with Robotlegs this weekend and have really enjoyed it. This post shows a quick demo I've put together using Robotlegs and the Twitter Search API.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had chance to play with <a title="Robotlegs website" href="http://www.robotlegs.org/" target="_blank">Robotlegs</a> this weekend and have really enjoyed it. It&#8217;s really lightweight and you find that you spend more time coding rather than repeating the same tasks like you would do in other frameworks.</p>
<p>The first demo I put together was a simple <a title="TwitterSearch Demo" href="http://markstar.co.uk/flash/Robotlegs/TwitterSearch/TwitterSearch.html" target="_blank">Twitter Search application</a>, using the <a title="Twitter Search API documentation" href="http://apiwiki.twitter.com/Twitter-API-Documentation" target="_blank">Twitter Search API</a>. You can see the demo in all it&#8217;s glory by clicking the image below! View Source is enabled so you can download the source and have a play; you will need the Robotlegs SWC to compile though, you&#8217;ll find this on the <a title="Robotlegs website" href="http://www.robotlegs.org/" target="_blank">Robotlegs website</a>. If you have any feedback or questions please leave a comment below!<br />
<span id="more-261"></span></p>
<p style="text-align: center;"><a title="Click to view the Twitter Search demo" href="http://markstar.co.uk/flash/Robotlegs/TwitterSearch/TwitterSearch.html" target="_blank"><img class="size-full wp-image-264 aligncenter" title="Click to view the Twitter Search demo" src="http://markstar.co.uk/blog/wp-content/uploads/2010/03/TwitterSearchDemo.jpg" alt="Click to view the Twitter Search demo" width="300" height="400" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://markstar.co.uk/blog/2010/flashplatform/flex/twitter-search-demo-using-robotlegs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Code Formatting for Flex Builder 3</title>
		<link>http://markstar.co.uk/blog/2009/flashplatform/flex/code-formatting-for-flex-builder-3/</link>
		<comments>http://markstar.co.uk/blog/2009/flashplatform/flex/code-formatting-for-flex-builder-3/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 20:33:14 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Flash Platform]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Flex Builder 3]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Format]]></category>
		<category><![CDATA[Formatting]]></category>
		<category><![CDATA[Indent]]></category>
		<category><![CDATA[MXML]]></category>
		<category><![CDATA[Rearrange]]></category>

		<guid isPermaLink="false">http://markstar.co.uk/blog/?p=57</guid>
		<description><![CDATA[Learn how to install and use the code formatter plug-in for Flex Builder 3. The plug-in formats, indents and rearranges both MXML and ActionScript code.]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve been introduced to a code formatter for Flex Builder 3 and thought it was worth sharing. The plug-in formats, indents and rearranges both MXML and ActionScript code.</p>
<p style="text-align: center;"><a href="http://markstar.co.uk/blog/wp-content/uploads/2009/09/CodeFormattingForFlexBuilder3.jpg"><img class="alignnone size-full wp-image-64" title="Code Formatting for Flex Builder 3" src="http://markstar.co.uk/blog/wp-content/uploads/2009/09/CodeFormattingForFlexBuilder3.jpg" alt="Code Formatting for Flex Builder 3" width="592" height="294" /></a></p>
<h3>Downloading the plug-in</h3>
<p>There is a version of the plug-in <a title="Flex Formatter Project on Source Forge" href="http://sourceforge.net/projects/flexformatter/" target="_blank">available here</a>, but I haven&#8217;t installed it from there. Below I&#8217;ve included instructions on how to install the plug-in using the software updates feature in Flex Builder.<span id="more-57"></span></p>
<h3>Installing the plug-in via Software Updates</h3>
<ol>
<li>Launch Flex Builder 3 and go to <strong><em>Help</em></strong>&gt;<strong><em>Software Updates</em></strong>&gt;<strong><em>Find and install&#8230;</em></strong></li>
<li>Check the <strong><em>Search for new features to install</em></strong> option and click <strong><em>Next</em></strong></li>
<li>Now create a <strong><em>New Remote Site&#8230;</em></strong></li>
<li>Enter the following URL for the remote site and give it a name, such as <strong><em>Flex Code Formatter</em> </strong>and click <strong><em>Finish</em></strong>:<br />
<strong><em>http://flexformatter.googlecode.com/svn/trunk/FlexFormatter/FlexPrettyPrintCommandUpdateSite</em></strong></li>
<li>Browse the tree to find the code formatter plugin ( <strong><em>FlexPrettyPrintCommandFeature Feature 0.6.27</em></strong> ) and click <strong><em>Next</em></strong>.</li>
<li>Accept the license agreement and click <strong><em>Next</em></strong> then <strong><em>Finish</em></strong>.</li>
<li>Click <strong><em>Install All</em></strong> and restart Flex Builder 3. The plug-in is now installed and ready to use.</li>
</ol>
<h3>Using the plug-in</h3>
<p>Once Flex Builder has restarted you should notice a new toolbar with some black and white icons. This toolbar gives you access to the following features:</p>
<ul>
<li>Generating ASDoc comments for the file</li>
<li>Generating ASDoc comment for the current element</li>
<li>Format code</li>
<li>Indent code</li>
<li>Rearrage the code of the file</li>
</ul>
<p>There will also be a shortcut key set up for formatting code; the default is <strong><em>CTRL</em></strong>+<strong><em>SHIFT</em></strong>+<strong><em>F</em></strong>.</p>
<h3>Editing the Preferences</h3>
<p>To edit the preferences of the plugin go to <strong><em>Window</em></strong>&gt;<strong><em>Preferences</em></strong>. Then browse to <strong><em>Flex Formatting</em></strong> using the tree navigation on the left. There are a vast array of formatting and restructuring options available, so you should be able to find something to suit the way you code. It is also worth browsing the navigation tree to show the options for <strong><em>Auto Format</em></strong>; this will give you the option to format or indent code when you save.</p>
]]></content:encoded>
			<wfw:commentRss>http://markstar.co.uk/blog/2009/flashplatform/flex/code-formatting-for-flex-builder-3/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Using SWC Library assets dynamically in Flex</title>
		<link>http://markstar.co.uk/blog/2009/flashplatform/flex/using-swc-library-assets-dynamically-in-flex/</link>
		<comments>http://markstar.co.uk/blog/2009/flashplatform/flex/using-swc-library-assets-dynamically-in-flex/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 07:30:17 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Flash Platform]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[getClassByAlias()]]></category>
		<category><![CDATA[SWC]]></category>

		<guid isPermaLink="false">http://markstar.co.uk/blog/?p=11</guid>
		<description><![CDATA[Highlights a solution to a runtime error produced when trying to use Flash library assets from a SWC dynamically in an application.]]></description>
			<content:encoded><![CDATA[<p>I was working on a Flex project last week that dynamically used assets from a Flash library SWC and came across something I thought was worth sharing.</p>
<p style="text-align: center;"><a style="text-decoration: none;" title="Using SWC Library Assets Dynamically In Flex" href="http://markstar.co.uk/blog/wp-content/uploads/2009/07/UsingSWCLibraryAssetsDynamicallyInFlex.jpg"><img class="size-full wp-image-25" title="Using SWC Library Assets Dynamically In Flex" src="http://markstar.co.uk/blog/wp-content/uploads/2009/07/UsingSWCLibraryAssetsDynamicallyInFlex.jpg" alt="Using SWC Library Assets Dynamically In Flex" width="592" height="294" /></a></p>
<p>The application compiled correctly when using the assets within the code i.e. <em>var object:Asset = new Asset()</em>. However, when choosing to use the asset dynamically (with the use of <em>getClassByAlias()</em>) the application threw a runtime error. So, unless the asset was used within the application it was not compiled into the published application.</p>
<p>I found that by changing the link type of the SWC from &#8216;Merged into code&#8217; to &#8216;Runtime shared library (RSL)&#8217; I was able to use the asset dynamically within the application without the asset being used within the code.</p>
<p>Therefore, if you want to use Flash library assets from a SWC dynamically ensure that the link type of the SWC is set to &#8216;Runtime shared library&#8217;.</p>
<p>Does anyone have any comments or different solutions?</p>
]]></content:encoded>
			<wfw:commentRss>http://markstar.co.uk/blog/2009/flashplatform/flex/using-swc-library-assets-dynamically-in-flex/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>