<?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/"
	>

<channel>
	<title>Alexandru Ghiura</title>
	<atom:link href="http://ghalex.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://ghalex.com/blog</link>
	<description>Flex Blog</description>
	<pubDate>Thu, 09 Dec 2010 21:10:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Code formatting for Adobe Flex - Flex Formatter</title>
		<link>http://ghalex.com/blog/code-formatting-for-adobe-flex-flex-formatter</link>
		<comments>http://ghalex.com/blog/code-formatting-for-adobe-flex-flex-formatter#comments</comments>
		<pubDate>Thu, 09 Dec 2010 21:10:17 +0000</pubDate>
		<dc:creator>Alexandru Ghiura</dc:creator>
		
		<category><![CDATA[Flash Builder]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[Flex Builder]]></category>

		<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://ghalex.com/blog/?p=464</guid>
		<description><![CDATA[After using Flash Builder for a log time I think everyone has a lot of custom settings for the workspace they use so whenever you put a fresh OS or just reinstall Flash Builder first think you do is setting up the workspace and I think everyone has his own special thinks to setup. Me [...]]]></description>
			<content:encoded><![CDATA[<p>After using Flash Builder for a log time I think everyone has a lot of custom settings for the workspace they use so whenever you put a fresh OS or just reinstall Flash Builder first think you do is setting up the workspace and I think everyone has his own special thinks to setup. Me for example I install subclipse, setup some custom key shorcuts, edit some perspectives and much more but I think the most useful plugin and a plugin that all of my colleagues use is <strong>Flex Formatter,</strong> this plugin it&#8217;s a must and I install this all the time, again and again and they do the same.</p>
<p>So because of this, most of the time people ask me: From where to download <strong>Flex Formatter</strong> ? How do I install <strong>Flex Formatter</strong> ? Can I share my format settings ? so I decided to write the answer to all this questions in a blog article.</p>
<h3>From where to download <span>Flex Formatter ?</span></h3>
<p><span><strong>Answer: </strong>You can download a .zip of Flex Formatter from : </span><a href="http://sourceforge.net/projects/flexformatter/">http://sourceforge.net/projects/flexformatter/</a></p>
<h3>How do I install <span>Flex Formatter ?</span></h3>
<p><span><strong>Answer: </strong>After you have download the .zip  archive all you have to do is to copy all the three .jar files from the archive in the Adobe Flash Builder plugins directory. For example in my case I had to copy the three files here <strong>&#8220;C:\Program Files\Adobe\Adobe Flash Builder 4\plugins\</strong>&#8220;.</span></p>
<h3>Can I share my format settings ?</h3>
<p><strong>Answer:</strong> Yes<br />
The formatting settings I use is :  <a href="http://ghalex.com/blog/wp-content/uploads/2010/12/format.properties">format.properties</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ghalex.com/blog/code-formatting-for-adobe-flex-flex-formatter/feed</wfw:commentRss>
		</item>
		<item>
		<title>Using AMF and RemoteObject without services-config.xml</title>
		<link>http://ghalex.com/blog/using-amf-and-remoteobject-without-services-configxml</link>
		<comments>http://ghalex.com/blog/using-amf-and-remoteobject-without-services-configxml#comments</comments>
		<pubDate>Sat, 23 Jan 2010 11:31:30 +0000</pubDate>
		<dc:creator>Alexandru Ghiura</dc:creator>
		
		<category><![CDATA[AMFPHP]]></category>

		<category><![CDATA[AS3]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[amf]]></category>

		<category><![CDATA[service-config]]></category>

		<guid isPermaLink="false">http://ghalex.com/blog/?p=427</guid>
		<description><![CDATA[This article will be very short but I hope it will be very useful. The goal of this article is to show you how to use a RemoteObject without service-config.xml. The example in this post will be very simple, we will connect to a AMFPHP service and get a hello message from it.
First let&#8217;s see [...]]]></description>
			<content:encoded><![CDATA[<p>This article will be very short but I hope it will be very useful. The goal of this article is to show you how to use a <strong>RemoteObject</strong> without <strong>service-config.xml</strong>. The example in this post will be very simple, we will connect to a AMFPHP service and get a hello message from it.</p>
<p>First let&#8217;s see the service:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">// hello.php</span>
<span style="color: #000000; font-weight: bold;">class</span> Hello
<span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> sayHello<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">&quot;Hello back!&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Now in Flex all we have to do is to load a XML file ( channel.xml ) and read the channel from it:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
</pre></td><td class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">protected</span> <span style="color: #339966; font-weight: bold;">function</span> addedToStageHandler<span style="color: #000000;">&#40;</span> event <span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
<span style="color: #000000;">&#123;</span>
&nbsp;
	<span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">loader</span> <span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">URLLoader</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">URLLoader</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
	<span style="color: #004993;">loader</span>.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span> <span style="color: #004993;">Event</span>.<span style="color: #004993;">COMPLETE</span>, completeHandler <span style="color: #000000;">&#41;</span>;
	<span style="color: #004993;">loader</span>.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span> <span style="color: #004993;">IOErrorEvent</span>.<span style="color: #004993;">IO_ERROR</span>, ioErrorHandler <span style="color: #000000;">&#41;</span>;
	<span style="color: #004993;">loader</span>.<span style="color: #004993;">load</span><span style="color: #000000;">&#40;</span> <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">URLRequest</span><span style="color: #000000;">&#40;</span> <span style="color: #990000;">&quot;channel.xml&quot;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;
&nbsp;
<span style="color: #000000;">&#125;</span>
&nbsp;
<span style="color: #0033ff; font-weight: bold;">protected</span> <span style="color: #339966; font-weight: bold;">function</span> completeHandler<span style="color: #000000;">&#40;</span> event <span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
<span style="color: #000000;">&#123;</span>
&nbsp;
	<span style="color: #009900;">// Load info from XML</span>
	<span style="color: #6699cc; font-weight: bold;">var</span> xml <span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">XML</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">XML</span><span style="color: #000000;">&#40;</span> event.<span style="color: #004993;">target</span>.<span style="color: #004993;">data</span> <span style="color: #000000;">&#41;</span>;
	<span style="color: #6699cc; font-weight: bold;">var</span> amfEndpoint <span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">String</span> = xml..channel.<span style="color: #000000;">&#40;</span> @id == <span style="color: #990000;">&quot;my-amfphp&quot;</span> <span style="color: #000000;">&#41;</span>.@endpoint;
&nbsp;
&nbsp;
	<span style="color: #009900;">// Create a AMF channel</span>
	<span style="color: #6699cc; font-weight: bold;">var</span> channel <span style="color: #000000; font-weight: bold;">:</span>AMFChannel = <span style="color: #0033ff; font-weight: bold;">new</span> AMFChannel<span style="color: #000000;">&#40;</span> <span style="color: #990000;">&quot;my-amf&quot;</span>, amfEndpoint <span style="color: #000000;">&#41;</span>;
&nbsp;
&nbsp;
	<span style="color: #009900;">// Add channel to our RemoteObject</span>
	rmtObj.channelSet = <span style="color: #0033ff; font-weight: bold;">new</span> ChannelSet<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
	rmtObj.channelSet.addChannel<span style="color: #000000;">&#40;</span> channel <span style="color: #000000;">&#41;</span>;
&nbsp;
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>Now if you use the loaded channel for all your RemoteObjects you don&#8217;t have to compile again your application if you decide to change your AMF endpoint, all you have to do is to edit the channel.xml file.</p>
<p>This is very useful when you upload your application to a server, you don&#8217;t have to compile again the application to work on different servers all you have to do is to use different channel.xml.</p>
<p>You can download the code <a href="http://ghalex.com/blog/examples/HelloService/srcview/helloservice.zip" target="_blank">here ( click to download )</a>.</p>
<p>And this is all. If you have any questions post them here.</p>
]]></content:encoded>
			<wfw:commentRss>http://ghalex.com/blog/using-amf-and-remoteobject-without-services-configxml/feed</wfw:commentRss>
		</item>
		<item>
		<title>Adobe Community Professionals 2010</title>
		<link>http://ghalex.com/blog/adobe-community-professionals-2010</link>
		<comments>http://ghalex.com/blog/adobe-community-professionals-2010#comments</comments>
		<pubDate>Tue, 19 Jan 2010 20:14:03 +0000</pubDate>
		<dc:creator>Alexandru Ghiura</dc:creator>
		
		<category><![CDATA[Community]]></category>

		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://ghalex.com/blog/?p=411</guid>
		<description><![CDATA[I&#8217;m happy to announce that from 2010 I am an Adobe Community Professional in Flex. I really appreciate the recognition from the Adobe and I will try to contribute  more this year for the development of the community.
Formerly known and recognised as an A.C.E (Adobe Community Expert), the name has been changed to A.C.P to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m happy to announce that from 2010 I am an <a href="http://www.adobe.com/communities/experts/" target="_blank">Adobe Community Professional</a> in Flex. I really appreciate the recognition from the Adobe and I will try to contribute  more this year for the development of the community.</p>
<p>Formerly known and recognised as an A.C.E (<a href="http://www.adobe.com/communities/experts/" target="_blank">Adobe Community Expert</a>), the name has been changed to A.C.P to ensure that the Adobe Certified Experts and Adobe Community Professionals are recognised separately.</p>
<p>This year, 300 developers and community members were awarded the ACP title, 59 of which were from<br />
the Flex programme.</p>
<p>As you know, the Adobe Community Experts Program is a community based program made up of Adobe customers who share their product expertise with the world-wide Adobe community. The Adobe Community Experts&#8217; mission is to provide high caliber peer-to-peer communication educating and improving the product skills of Adobe customers worldwide.</p>
<p>A full list of 2010 Community Professionals can be found here:<br />
<a title="http://lizfrederick.blogspot.com/2010/01/new-acps-for-2010.html" onclick="pageTracker._trackPageview('/outgoing/lizfrederick.blogspot.com/2010/01/new-acps-for-2010.html?referer=http://www.google.com/search?hl=en&amp;source=hp&amp;q=Adobe+Community+Professionals&amp;btnG=Google+Search&amp;aq=f&amp;oq=&amp;aqi=g10');" href="http://lizfrederick.blogspot.com/2010/01/new-acps-for-2010.html" target="_blank">http://lizfrederick.blogspot.com/2010/01/new-acps-for-2010.html</a></p>
<p>I&#8217;d like to thank to my friends for the support.</p>
<p>And this is the badge <img src='http://ghalex.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> :</p>
<p><img class="alignnone size-full wp-image-418" title="acp_logo" src="http://ghalex.com/blog/wp-content/uploads/2010/01/acp_logo.gif" alt="acp_logo" width="180" height="63" /></p>
]]></content:encoded>
			<wfw:commentRss>http://ghalex.com/blog/adobe-community-professionals-2010/feed</wfw:commentRss>
		</item>
	</channel>
</rss>

