<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>flex &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/flex/</link>
	<description>Feed of posts on WordPress.com tagged "flex"</description>
	<pubDate>Tue, 24 Nov 2009 14:33:18 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[FunFX Tutorial]]></title>
<link>http://michaelangela.wordpress.com/2009/11/24/funfx-tutorial/</link>
<pubDate>Tue, 24 Nov 2009 14:30:56 +0000</pubDate>
<dc:creator>michaelangela</dc:creator>
<guid>http://michaelangela.wordpress.com/2009/11/24/funfx-tutorial/</guid>
<description><![CDATA[Just for future reference&#8230; this is some nice stuff indeed! Testing your Flex app with new FunF]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Just for future reference&#8230; this is some nice stuff indeed!</p>
<p><a href="http://martincik.com/?p=20">Testing your Flex app with new FunFX &#124; Ladislav Martincik &#8211; Personal website</a><br />
<blockquote></blockquote>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=82396146-3cc9-866b-9a66-47d25127cab6" /></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Flex Functional Testing]]></title>
<link>http://michaelangela.wordpress.com/2009/11/24/flex-functional-testing/</link>
<pubDate>Tue, 24 Nov 2009 14:28:02 +0000</pubDate>
<dc:creator>michaelangela</dc:creator>
<guid>http://michaelangela.wordpress.com/2009/11/24/flex-functional-testing/</guid>
<description><![CDATA[See the syntax example on the page for a quick reference. Wow&#8230;&nbsp; that&#8217;s pretty cool.]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>See the syntax example on the page for a quick reference. Wow&#8230;&#160; that&#8217;s pretty cool. </p>
<p><a href="http://funfx.rubyforge.org/">.::FunFX &#8211; Functional Testing of Flex applications</a><br />
<blockquote>FunFX is created as a framework that will enable you to drive a Flex application through a web browser. FunFX together with for instance Test::Unit or rSpec creates a great to for testing and asserting the functionality of a Flex application. </p></blockquote>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=1e7015ab-dcef-8f97-a601-27ada21e5df5" /></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Using LocalConnectionAppender with MiniDebug applications.]]></title>
<link>http://log5f.wordpress.com/2009/11/24/using-localconnectionappender-with-minidebug-applications/</link>
<pubDate>Tue, 24 Nov 2009 14:03:19 +0000</pubDate>
<dc:creator>max.rozdobudko</dc:creator>
<guid>http://log5f.wordpress.com/2009/11/24/using-localconnectionappender-with-minidebug-applications/</guid>
<description><![CDATA[LocalConnectionAppender can be easy configured for using with debug applications which developed for]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>LocalConnectionAppender can be easy configured for using with debug applications which developed for <a href="http://livedocs.adobe.com/flex/3/langref/mx/logging/targets/MiniDebugTarget.html">MiniDebugTarget</a> of <a href="http://livedocs.adobe.com/flex/3/html/help.html?content=logging_01.html">Flex Logging Framework</a>.</p>
<p>For this You just set parameters <code>connectionName </code> to <em>_mdbtrace</em> and <code>methodName</code> to <em>trace</em> in configuration of this appender.</p>
<p>This is example log5f.properties config:</p>
<pre class="brush: xml;">
&#60;configuration xsi:noNamespaceSchemaLocation=&#34;log5f.properties.xsd&#34; xmlns:xsi=&#34;http://www.w3.org/2001/XMLSchema-instance&#34; xmlns:log5j=&#34;http://log5f.org&#34;&#62;
  &#60;root level=&#34;ALL&#34; appenders=&#34;minidebug&#34;/&#62;
  &#60;appender name=&#34;minidebug&#34; class=&#34;org.log5f.appenders.LocalConnectionAppender&#34;&#62;
    &#60;param name=&#34;layout&#34; value=&#34;org.log5f.layouts.PatternLayout&#34; type=&#34;Class&#34;&#62;
      &#60;param name=&#34;conversionPattern&#34; value=&#34;%d{ABSOLUTE} [%p] %C{0}.%M %m&#34; type=&#34;String&#34;/&#62;
    &#60;/param&#62;
    &#60;param name=&#34;connectionName&#34; value=&#34;_mdbtrace&#34; type=&#34;String&#34;/&#62;
    &#60;param name=&#34;methodName&#34; value=&#34;trace&#34; type=&#34;String&#34;/&#62;
  &#60;/appender&#62;
&#60;/configuration&#62;
</pre>
<p>Now all log messages from application sends to MiniDebug&#8217;s based applications, for <a href="http://log5f.googlecode.com/svn/trunk/Examples/Flex/Test/index.html">example</a> this outputs in <a href="http://code.google.com/p/flex-developer-tools/">Flex Console</a>:</p>
<div id="attachment_178" class="wp-caption aligncenter" style="width: 460px"><a href="http://log5f.wordpress.com/files/2009/05/sample-appender-flexconsole.jpg"><img class="size-full wp-image-178" title="sample-appender-flexconsole" src="http://log5f.wordpress.com/files/2009/05/sample-appender-flexconsole.jpg" alt="LocalConnectionAppender in action" width="450" height="180" /></a><p class="wp-caption-text">Log messages in Flex Console.</p></div>
<p style="text-align:center;">
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Top Sites in Kenya]]></title>
<link>http://phlexdev.wordpress.com/2009/11/24/top-sites-in-kenya/</link>
<pubDate>Tue, 24 Nov 2009 12:12:11 +0000</pubDate>
<dc:creator>phlexdev</dc:creator>
<guid>http://phlexdev.wordpress.com/2009/11/24/top-sites-in-kenya/</guid>
<description><![CDATA[The fiber optics connections to Asia(Seacom and TEAMS) finally arrived in Kenya. Question is, what t]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } -->The fiber optics connections to Asia(Seacom and TEAMS) finally arrived in Kenya. Question is, what technologies are used by the websites that receive the highest hits? I decided to do some digging, and here is a quick snapshot of the results:</p>
<table>
<tbody>
<tr>
<th>Site</th>
<th>Server Side Lang.</th>
<th>CMS</th>
<th>CSS</th>
<th>Javascript</th>
</tr>
<tr>
<td><a href="http://www.nation.co.ke/">Daily Nation</a></td>
<td>-</td>
<td>-</td>
<td>YAML framework</td>
<td>Mootools<br />
plugin_js</td>
</tr>
<tr>
<td><a href="http://home.co.ke/">@Home Portal Kenya</a></td>
<td>PHP</td>
<td>Joomla</td>
<td>-</td>
<td>Mootools</td>
</tr>
<tr>
<td><a href="http://standardmedia.co.ke/">Standard Media</a></td>
<td>PHP</td>
<td>-</td>
<td align="left">Dynamic Drive DHTML code library</td>
<td>-</td>
</tr>
<tr>
<td><a href="http://capitalfm.co.ke/">Capital FM</a></td>
<td>PHP</td>
<td>-</td>
<td>-</td>
<td align="left">Prototype<br />
Scriptaculous<br />
Mioplanet News Ticker<br />
Google Maps integration</td>
</tr>
<tr>
<td><a href="http://www.patauza.co.ke/">PataUza</a></td>
<td>PHP</td>
<td>-</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
<td><a href="http://safaricom.co.ke/">Safaricom</a></td>
<td>PHP</td>
<td>-</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
<td><a href="http://haiya.co.ke/">Haiya</a></td>
<td>PHP</td>
<td>Drupal</td>
<td>-</td>
<td>jQuery</td>
</tr>
</tbody>
</table>
<p>Clearly, PHP currently rules on the server side, possibly because of its cost implications and the availability of quality CMS with which it easily integrates. I expect to see more of ASP and Ruby based sites as the developer community grows.</p>
<p>Exploitation of available Javascript utilities is limited, with jQuery and Mootools being used to add a few effects for the menus. I would expect more sites to have AJAX to enrich the user experience using such libraries as Ext Js or even Prototype.js.</p>
<p>As far as the duel between Adobe Flex and Microsoft Silverlight is concerned, no front runners have emerged so far.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Flex Formatter Plugin]]></title>
<link>http://subeesh.wordpress.com/2009/11/24/flex-formatter-plugin/</link>
<pubDate>Tue, 24 Nov 2009 09:50:42 +0000</pubDate>
<dc:creator>subeesh</dc:creator>
<guid>http://subeesh.wordpress.com/2009/11/24/flex-formatter-plugin/</guid>
<description><![CDATA[Flex Formatter is an Eclipse Plugin to provide source code formatting for Adobe Flex code (i.e. Acti]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="https://sourceforge.net/projects/flexformatter/">Flex Formatter</a> is an Eclipse Plugin to provide source code formatting for Adobe Flex code (i.e. Actionscript and MXML).</p>
<p>It can</p>
<ul>
<li>Formate code</li>
<li>Indent Code</li>
<li>Generate ASDoc comments</li>
<li>Rearrange AS Code</li>
</ul>
<p>Here is the screenshot tour of the installation process in Flex Builder 3</p>
<p><strong>Step 1: </strong>Begin the installation from the Flex Builder Help menu item.</p>
<p><a href="http://subeesh.wordpress.com/files/2009/11/12.jpg"><img class="aligncenter size-full wp-image-178" title="1" src="http://subeesh.wordpress.com/files/2009/11/12.jpg" alt="" width="581" height="345" /></a></p>
<p><strong>Step 2:</strong> This screenshot show the screen as it initially comes up. In this case you will need to change the radio button to indicate that this is a new install.</p>
<p><a href="http://subeesh.wordpress.com/files/2009/11/21.jpg"><img class="aligncenter size-full wp-image-179" title="2" src="http://subeesh.wordpress.com/files/2009/11/21.jpg" alt="" width="467" height="413" /></a></p>
<p><strong>Step 3 :</strong> This screen will vary depending on the features you have installed already. You want to click on the New Remote Site button.</p>
<p><a href="http://subeesh.wordpress.com/files/2009/11/31.jpg"><img class="aligncenter size-full wp-image-180" title="3" src="http://subeesh.wordpress.com/files/2009/11/31.jpg" alt="" width="497" height="518" /></a><strong></strong></p>
<p><strong>Step 4: </strong>This screen is showing the New Remote Site dialog, filled in with the correct information to install Flex Formatter</p>
<p>Name : Flex Formatter</p>
<p>URL : http://flexformatter.googlecode.com/svn/trunk/FlexFormatter/FlexPrettyPrintCommandUpdateSite/</p>
<p><a href="http://subeesh.wordpress.com/files/2009/11/41.jpg"><img class="aligncenter size-full wp-image-181" title="4" src="http://subeesh.wordpress.com/files/2009/11/41.jpg" alt="" width="366" height="170" /></a></p>
<p><strong>Step 5:</strong> When you first come back to this screen, if the site you added is NOT selected, be sure to select it before clicking Finish.</p>
<p><a href="http://subeesh.wordpress.com/files/2009/11/51.jpg"><img class="aligncenter size-full wp-image-182" title="5" src="http://subeesh.wordpress.com/files/2009/11/51.jpg" alt="" width="497" height="518" /></a></p>
<p><strong>Step 6 :</strong> This next screen shows all of the features that are available to install.</p>
<p><a href="http://subeesh.wordpress.com/files/2009/11/61.jpg"><img class="aligncenter size-full wp-image-183" title="6" src="http://subeesh.wordpress.com/files/2009/11/61.jpg" alt="" width="482" height="452" /></a></p>
<p><strong>Step 7:</strong> Click the button to accept the license agreement.</p>
<p><a href="http://subeesh.wordpress.com/files/2009/11/71.jpg"><img class="aligncenter size-full wp-image-185" title="7" src="http://subeesh.wordpress.com/files/2009/11/71.jpg" alt="" width="482" height="452" /></a></p>
<p><strong>Step 8:</strong> Confirm the install location</p>
<p><a href="http://subeesh.wordpress.com/files/2009/11/81.jpg"><img class="aligncenter size-full wp-image-186" title="8" src="http://subeesh.wordpress.com/files/2009/11/81.jpg" alt="" width="482" height="452" /></a><strong>Step 9 :</strong> Just a screenshot of the in-process installation.</p>
<p><a href="http://subeesh.wordpress.com/files/2009/11/91.jpg"><img class="aligncenter size-full wp-image-187" title="9" src="http://subeesh.wordpress.com/files/2009/11/91.jpg" alt="" width="532" height="219" /></a><strong></strong></p>
<p><strong>Step 10 : </strong>This screen is saying that the provider cannot be verified . Ignore that and click on Install All</p>
<p><a href="http://subeesh.wordpress.com/files/2009/11/101.jpg"><img class="aligncenter size-full wp-image-188" title="10" src="http://subeesh.wordpress.com/files/2009/11/101.jpg" alt="" width="423" height="399" /></a><strong></strong></p>
<p><strong>Step 11:</strong> Flex Builder needs to be restarted after installing PHPEclipse.</p>
<p><a href="http://subeesh.wordpress.com/files/2009/11/111.jpg"><img class="aligncenter size-full wp-image-189" title="11" src="http://subeesh.wordpress.com/files/2009/11/111.jpg" alt="" width="532" height="162" /></a><strong></strong></p>
<p><strong>Step 12: </strong>When the Flex Builder is restarted, you will see these new buttons in the toolbar if the plugin is successfully installed.</p>
<p><a href="http://subeesh.wordpress.com/files/2009/11/121.jpg"><img class="aligncenter size-full wp-image-193" title="12" src="http://subeesh.wordpress.com/files/2009/11/121.jpg" alt="" width="480" height="195" /></a></p>
<p>By Default, <strong>Ctrl + Shift + F </strong>is the command to format code and <strong>Ctrl + I </strong>is the command to indent code. You can change these commands in <strong>Window-&#62;Preferences-&#62;General-&#62;Keys </strong></p>
<p>Code is not formatted the way you expected ? You can change all settings in</p>
<p><strong>Window-&#62;Preferences-&#62;Flex Formatting</strong></p>
<p><a href="http://subeesh.wordpress.com/files/2009/11/131.jpg"><img class="aligncenter size-full wp-image-195" title="13" src="http://subeesh.wordpress.com/files/2009/11/131.jpg" alt="" width="550" height="442" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[close popUp when we click anywhere outside of popup - in modal part...]]></title>
<link>http://engineeringtheworld.wordpress.com/2009/11/24/close-popup-when-we-click-anywhere-outside-of-popup-in-modal-part/</link>
<pubDate>Tue, 24 Nov 2009 09:31:47 +0000</pubDate>
<dc:creator>Ladislav Klinc</dc:creator>
<guid>http://engineeringtheworld.wordpress.com/2009/11/24/close-popup-when-we-click-anywhere-outside-of-popup-in-modal-part/</guid>
<description><![CDATA[So, in previous example we have created a simple pupUp window that pops up when we click a button in]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>So, in previous example we have created a simple pupUp window that pops up when we click a button in our application (<em><a href="http://engineeringtheworld.wordpress.com/2009/11/23/how-to-create-a-popup-in-flex/">http://engineeringtheworld.wordpress.com/2009/11/23/how-to-create-a-popup-in-flex/</a></em>). What if we would want to close the popUp anytime user clicks anywhere outside our popUp window.</p>
<p>We can do that by using FlexMouseEvent&#8217;s MOUSE_DOWN_OUTSIDE event which is dispatched when user clicks outside of our pupUp window. All we have to do to make this work is add a few lines of code in popUpWindow.mxml.</p>
<p>We first import the FlexMouseEvent with <strong>import mx.events.FlexMouseEvent;</strong>. We add init() function when our popUp is initialized (initialize=&#8221;init()&#8221; in VBox of our MXML).</p>
<p align="left">In init() function we just add event listener to the component with <strong>this.addEventListener(FlexMouseEvent.MOUSE_DOWN_OUTSIDE, closePopUp);</strong>. We have to create closePopUp function which will close our popUp. </p>
<p><code>private function closePopUp(event:FlexMouseEvent):void{<br />
	PopUpManager.removePopUp(this);<br />
}</code></p>
<p>And that is all we have to do, to make our popUp dissapear when user clicks anywhere outside of popUp window. Below is the new popUpWindow.mxml source code.</p>
<p align="center"><a href="http://engineeringtheworld.wordpress.com/files/2009/11/popup3.jpg"><img src="http://engineeringtheworld.wordpress.com/files/2009/11/popup3.jpg" alt="" title="popup3" width="643" height="261" class="alignnone size-full wp-image-89" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Getting data from XML]]></title>
<link>http://hemakumars.wordpress.com/2009/11/24/getting-data-from-xml/</link>
<pubDate>Tue, 24 Nov 2009 04:26:40 +0000</pubDate>
<dc:creator>Hemakumar</dc:creator>
<guid>http://hemakumars.wordpress.com/2009/11/24/getting-data-from-xml/</guid>
<description><![CDATA[In flex data follow is very important sector to get information and set information for any applicat]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><span style="color:#333333;">In flex data follow is very important sector to get information</span></p>
<p><span style="color:#333333;">and set information for any application.</span></p>
<p><span style="color:#333333;"><span style="text-decoration:underline;"><strong>XML</strong></span></span></p>
<p><span style="color:#333333;">If you have little or no experience with XML, here is a brief description</span></p>
<p><span style="color:#333333;">of the most common aspects of XML data. XML data is written in </span></p>
<p><span style="color:#333333;">plain-text form, with a specific syntax for organizing the information </span></p>
<p><span style="color:#333333;">into a structured format.</span></p>
<p><span style="color:#333333;">Generally, a single set of XML data is known as an XML document. </span></p>
<p><span style="color:#333333;">In XML format, data is organized into elements (which can be </span></p>
<p><span style="color:#333333;">single data items or containers for other elements) using a </span></p>
<p><span style="color:#333333;">hierarchical structure. Every XML document has a single element </span></p>
<p><span style="color:#333333;">as the top level or main item; inside this root element there</span></p>
<p><span style="color:#333333;">may be a single piece of information, although there are more </span></p>
<p><span style="color:#333333;">likely to be other elements, which in turn contain other elements, </span></p>
<p><span style="color:#333333;">and so forth.</span></p>
<p><span style="color:#333333;">* XML: Represents a single XML element, which can be an XML document </span></p>
<p><span style="color:#333333;"> with multiple children or a single-value element within a document.</span></p>
<p><span style="color:#333333;">* XMLList: Represents a set of XML elements. An XMLList object is used </span></p>
<p><span style="color:#333333;"> when there are multiple XML elements that are “siblings” </span></p>
<p><span style="color:#333333;"> (at the same level, and contained by the same parent, in the </span></p>
<p><span style="color:#333333;"> XML document’s hierarchy).</span></p>
<p><span style="color:#333333;"><span style="text-decoration:underline;"><strong>Xml source code</strong></span></span></p>
<p><span style="color:#333333;">&#60;products&#62;</span></p>
<p><span style="color:#333333;">&#60;product&#62;</span></p>
<p><span style="color:#333333;">&#60;name&#62;Name&#60;/name&#62;</span></p>
<p><span style="color:#333333;">&#60;price&#62;Price&#60;/price&#62;</span></p>
<p><span style="color:#333333;">&#60;freeship&#62;Free Shipping?&#60;/freeship&#62;</span></p>
<p><span style="color:#333333;">&#60;/product&#62;</span></p>
<p><span style="color:#333333;">&#60;product&#62;</span></p>
<p><span style="color:#333333;">&#60;name&#62;ffff&#60;/name&#62;</span></p>
<p><span style="color:#333333;">&#60;price&#62;5&#60;/price&#62;</span></p>
<p><span style="color:#333333;">&#60;freeship&#62;false&#60;/freeship&#62;</span></p>
<p><span style="color:#333333;">&#60;/product&#62;</span></p>
<p><span style="color:#333333;">&#60;product&#62;</span></p>
<p><span style="color:#333333;">&#60;name&#62;Tttt&#60;/name&#62;</span></p>
<p><span style="color:#333333;">&#60;price&#62;15&#60;/price&#62;</span></p>
<p><span style="color:#333333;">&#60;freeship&#62;true&#60;/freeship&#62;</span></p>
<p><span style="color:#333333;">&#60;/product&#62;</span></p>
<p><span style="color:#333333;">&#60;product&#62;</span></p>
<p><span style="color:#333333;">&#60;name&#62;Rerrr&#60;/name&#62;</span></p>
<p><span style="color:#333333;">&#60;price&#62;25&#60;/price&#62;</span></p>
<p><span style="color:#333333;">&#60;freeship&#62;true&#60;/freeship&#62;</span></p>
<p><span style="color:#333333;">&#60;/product&#62;</span></p>
<p><span style="color:#333333;">&#60;/products&#62;</span></p>
<p><span style="color:#333333;">With Regards</span></p>
<p><span style="color:#333333;">Hemakumar.S<br />
</span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Noah's ARK -Design The Sequel]]></title>
<link>http://dsgperformance.wordpress.com/2009/11/23/noahs-ark-design-the-sequel/</link>
<pubDate>Mon, 23 Nov 2009 22:33:07 +0000</pubDate>
<dc:creator>foreverdriven</dc:creator>
<guid>http://dsgperformance.wordpress.com/2009/11/23/noahs-ark-design-the-sequel/</guid>
<description><![CDATA[Since we&#8217;ve gotten so much interest on our Noah&#8217;s ARK &#8211; Design Sale, we figured we]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://dsgperformance.wordpress.com/files/2009/11/evo-r8-wheel.jpg"><img class="aligncenter size-full wp-image-587" title="Evo R8 Wheel" src="http://dsgperformance.wordpress.com/files/2009/11/evo-r8-wheel.jpg" alt="" width="497" height="373" /></a></p>
<p style="text-align:center;">Since we&#8217;ve gotten so much interest on our Noah&#8217;s ARK &#8211; Design Sale, we figured we&#8217;d give you guys some more awesome parts to empty your wallets for!</p>
<h4><span style="color:black;"><span style="font-size:large;"><span style="font-size:x-small;"> </span></span></span></h4>
<p style="text-align:center;"><span style="font-size:medium;"><em><strong>From The Company:</strong></em></span></p>
<p style="text-align:center;"><em><strong> </strong></em>Ark Design&#8217;s R8 Wheel is a lightweight one piece design, developed for style, performance and strength. The R8 features eight solid spokes plus a signature “Balance Ring” to provide rigidity for reduce wheel flex and strength from direct impact. The spoke and rim design are specifically developed for large high-performance brake caliper and rotor clearance. The R8 is available in 18 or 19 inch diameter and various widths and offsets to fit numerous cars. Ark Design&#8217;s R8 wheel has gone through rigorous quality testing and is JWL (Japan Light Alloy Wheel) and VIA (Vehicle Inspection Association) certified.</p>
<p style="text-align:center;">Alright now you know the jist of it. Now go to our <a title="Noah's ARK - Design The Sequel!" href="http://www.evoxforums.com/forums/showthread.php?t=22999" target="_blank">Noah&#8217;s ARK -Design The Sequel</a> sale on <a title="Evo X Forums" href="http://www.evoxforums.com" target="_blank">EvoXForums</a> and get the details!</p>
<p style="text-align:center;"><span style="color:black;"><span style="font-size:large;"><em><strong><span style="font-size:medium;"><br />
</span></strong></em></span></span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Reseña Dia 1# Latin Flash Tour   ]]></title>
<link>http://dem3too.wordpress.com/2009/11/23/resena-dia-1-latin-flash-tour/</link>
<pubDate>Mon, 23 Nov 2009 21:34:15 +0000</pubDate>
<dc:creator>dem3too</dc:creator>
<guid>http://dem3too.wordpress.com/2009/11/23/resena-dia-1-latin-flash-tour/</guid>
<description><![CDATA[by @el__PAto El 16 de noviembre del 2009 se llevo acabo en la Universidad Iberoamericana, el Latin F]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>by <a href="http://www.twitter.com/el__PAto">@el__PAto</a></p>
<p>El 16 de noviembre del 2009 se llevo acabo en la Universidad Iberoamericana, el Latin Flash Tour. El primer dia se impartieron talleres y conferencias divididos por Área : Diseño Multimedia, Desarrollo, WorkFlows y Tips &#38; Tricks.</p>
<p>La organización estuvo a cargo de <a href="http://www.activ.com.mx">Activ</a>,<a href="http://www.adobe.com">Adobe </a>e <a href="http://www.influxis.com">Influxis</a>. Quisiera mencionar que Activ es un Agencia que se dedica principalmente a la capacitación y esta certificada por Adobe y a <a href="http://www.twitter.com/edgarparada">Edgar Parada</a> que es parte de esta y tuvo mucho que ver con la organización del evento, e Influxis que fue patrocinadora de los grandes evangelistas de Adobe que nos visitaron, esta empresa se dedica principalmente al Host de video por Flash Media Server y principal partner de Adobe en ese ramo.</p>
<p>Ahora entrar en materia de las conferencias en el Area de Diseño multimedia se abarcaron temas como Flash Catalyst, efectos con After Effect, Actionscript 3 para animadores,por mencionar algunos.<br />
En el área de desarrollo se tomaron en cuenta temas de Flash sobre mobiles, Flex, Flash Media server y Air. </p>
<p>En el area de WorkFlows se manejo un tema muy interesante &#8220;Integracion de la plataforma Flash con datos&#8221; , de la cual se observo la potencia de Flex sobre el manejo de datos sobre DashBoard; la integracion de herramientas de Diseño con Flash, aunque no es mi área lo presentado por Mariana Cabral (<a href="http://www.twitter.com/marianacabralMX">@marianacabralMX</a>), se me hizo realmente practico y util, tan digerible que hasta yo siendo programador lo entendi a la perfección, menciono los puentes que podemos utilizar para optimizar Photosho, Illustrator, After Effects con Flash. Despues vino el tema de &#8220;Flash Player Internals&#8221;, un tema realmente interesante para aquellos que somos desarrolladores, se menciono la forma de como optimizar nuestra aplicacion flash en funcion del Flash Player y tambien menciono algunas de las mejoras que tendra el Flash Player 10.1 todo a cargo de Alberto González (<a href="http://www.twitter.com/albertx">@albertx</a>). </p>
<p>En el area de Tips &#38; Tricks, hubo una parte que se hablo de Redes Sociales, mas concretamente el uso del Api de Facebook para Flash, de lo cual se menciono lo mas basico.</p>
<p><a href="http://dem3too.wordpress.com/files/2009/11/flat.png"><img src="http://dem3too.wordpress.com/files/2009/11/flat.png" alt="" title="flat" width="500" height="173" class="alignright size-full wp-image-119" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Grails Exchange in December]]></title>
<link>http://richmarr.wordpress.com/2009/11/23/grails-exchange-in-december/</link>
<pubDate>Mon, 23 Nov 2009 17:25:19 +0000</pubDate>
<dc:creator>Richard Marr</dc:creator>
<guid>http://richmarr.wordpress.com/2009/11/23/grails-exchange-in-december/</guid>
<description><![CDATA[It&#8217;s great to see fellow Pixstanaut Tomás Lin talking at the forthcoming Grails Exchange confe]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>It&#8217;s great to see fellow Pixstanaut <a href="http://fbflex.wordpress.com/">Tomás Lin</a> talking at the forthcoming <a href="http://skillsmatter.com/event/java-jee/groovy-grails-exchange-2009/wd-184">Grails Exchange</a> conference in December. He&#8217;ll be talking about building rich GUI apps with Flex and Grails. There are still a few tickets left if you can make it.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[How to create a popUp in Flex]]></title>
<link>http://engineeringtheworld.wordpress.com/2009/11/23/how-to-create-a-popup-in-flex/</link>
<pubDate>Mon, 23 Nov 2009 16:18:43 +0000</pubDate>
<dc:creator>Ladislav Klinc</dc:creator>
<guid>http://engineeringtheworld.wordpress.com/2009/11/23/how-to-create-a-popup-in-flex/</guid>
<description><![CDATA[Today I am going to show you how easy it is to show popUp windows in your Flex application. Above is]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Today I am going to show you how easy it is to show popUp windows in your Flex application.</p>
<p align="center">
<a href="http://www.tdteam.com/work/engineeringtheworld/popUpEng.swf"><img src="http://engineeringtheworld.wordpress.com/files/2009/11/popupapp.jpg" alt="" title="popUpApp" width="563" height="259" class="alignnone size-full wp-image-74" /></a></p>
<p>Above is a picture of our simple application that only has one label and a button, when we press the button a nice popup with rounded corners pops up and if we click close button in the popup it disappears.</p>
<p>In order to make this work, we have to build two files, one will be our application with the text and button to show popup and another file that will be a MXML component (in Flex Builder you just go to File -&#62; New -&#62; MXML Component). Both of the files have to be saved in the same directory on order for this example to work.</p>
<p align="center">
<div id="attachment_76" class="wp-caption alignnone" style="width: 653px"><a href="http://engineeringtheworld.wordpress.com/files/2009/11/popup1.jpg"><img src="http://engineeringtheworld.wordpress.com/files/2009/11/popup1.jpg" alt="" title="popup1" width="643" height="257" class="size-full wp-image-76" /></a><p class="wp-caption-text">Application source code</p></div></p>
<p>To use popups Flex has a manager that is devoted specially for that. In our Application under script tags we import <strong>mx.managers.PopUpManager</strong>. This will allow us to show the popup windows, center them and close them when needed.</p>
<p>As you can see above the application is very basic, on the button click we call showPopUp() function. In this function we first declare a local variable of type IFlexDisplayObject, because this is what createPopUp method from PopUpManager returns. </p>
<p>createPopUp method accepts 4 arguments, 2 of them are optional. First we have to specify the parent of the Popup, this will help Flex set up coordinates and such when we want to later center the popup. Since we want to have our application as the parent we input <strong>this</strong> as first parameter. </p>
<p>Second parameter we input the name of the MXML component that we made as our PopUp window, in our example file is popUpWindow.mxml, thus we put popUpWindow as second parameter. </p>
<p>The third parameter is optional &#8211; modal:Boolean, so it can be either true or false. If we set it to true, than we will not be able to do anything other than interact with popUp window, if it is set to false, than we can still interact with application even when our popUp is on screen. </p>
<p>All there is to do now, it to center our new popUp window with PopUpManager.centerPopUp(popUp). The argument popUp is IFlexDisplayObject that we have created with PopUpManager.createPopUp() method.</p>
<p>Blow is the source of the popUpWindow.mxml file. The only thing worth noting here is that we have assigned a click action for a button, which calls PopUpManager.removePopUp() method. Arugment is <strong>this</strong>, since our mxml file is the popUp that we want to remove from stage.</p>
<p align="center"><div id="attachment_83" class="wp-caption alignnone" style="width: 570px"><a href="http://engineeringtheworld.wordpress.com/files/2009/11/popup2.jpg"><img src="http://engineeringtheworld.wordpress.com/files/2009/11/popup2.jpg" alt="" title="popup2" width="560" height="215" class="size-full wp-image-83" /></a><p class="wp-caption-text">popUpWindow.mxml file</p></div></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Log5F's Live Example]]></title>
<link>http://log5f.wordpress.com/2009/11/23/log5fs-live-example/</link>
<pubDate>Mon, 23 Nov 2009 10:22:31 +0000</pubDate>
<dc:creator>max.rozdobudko</dc:creator>
<guid>http://log5f.wordpress.com/2009/11/23/log5fs-live-example/</guid>
<description><![CDATA[I created test application for live testing Log5F&#8217;s work &#8211; Test Application. Now it uses]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I created test application for live testing Log5F&#8217;s work &#8211; <a href="http://log5f.googlecode.com/svn/trunk/Examples/Flex/Test/index.html">Test Application</a>. Now it uses next appenders:</p>
<p><strong>Trace Appender:</strong></p>
<pre class="brush: xml;">
&#60;appender name=&#34;trace&#34; class=&#34;org.log5f.appenders.TraceAppender&#34;&#62;
  &#60;param name=&#34;layout&#34; value=&#34;org.log5f.layouts.PatternLayout&#34; type=&#34;Class&#34;&#62;
    &#60;param name=&#34;conversionPattern&#34; value=&#34;%d{ABSOLUTE} [%5p] %C{0}.%M - %m%n&#34; type=&#34;String&#34;/&#62;
  &#60;/param&#62;
&#60;/appender&#62;
</pre>
<p><strong>Firebug Appender:</strong></p>
<pre class="brush: xml;">
&#60;appender name=&#34;firebug&#34; class=&#34;org.log5f.appenders.FirebugAppender&#34;&#62;
  &#60;param name=&#34;layout&#34; value=&#34;org.log5f.layouts.PatternLayout&#34; type=&#34;Class&#34;&#62;
    &#60;param name=&#34;conversionPattern&#34; value=&#34;%d{ABSOLUTE} %c{1} - %m%n&#34; type=&#34;String&#34;/&#62;
  &#60;/param&#62;
&#60;/appender&#62;
</pre>
<p><strong>XPanel Appender:</strong></p>
<pre class="brush: xml;">
&#60;appender name=&#34;xpanel&#34; class=&#34;org.log5f.appenders.XPanelAppender&#34;&#62;
  &#60;param name=&#34;layout&#34; value=&#34;org.log5f.layouts.PatternLayout&#34; type=&#34;Class&#34;&#62;
    &#60;param name=&#34;conversionPattern&#34; value=&#34;%c{} - %m&#34; type=&#34;String&#34;/&#62;
  &#60;/param&#62;
&#60;/appender&#62;
</pre>
<p><strong>LocalConnection Appender:</strong></p>
<pre class="brush: xml;">
&#60;appender name=&#34;minidebug&#34; class=&#34;org.log5f.appenders.LocalConnectionAppender&#34;&#62;
  &#60;param name=&#34;layout&#34; value=&#34;org.log5f.layouts.PatternLayout&#34; type=&#34;Class&#34;&#62;
    &#60;param name=&#34;conversionPattern&#34; value=&#34;%d{ABSOLUTE} [%p] %C{0}.%M %m&#34; type=&#34;String&#34;/&#62;
  &#60;/param&#62;
  &#60;param name=&#34;connectionName&#34; value=&#34;_mdbtrace&#34; type=&#34;String&#34;/&#62;
  &#60;param name=&#34;methodName&#34; value=&#34;trace&#34; type=&#34;String&#34;/&#62;
&#60;/appender&#62;
</pre>
<p>This appender uses LocalConnection&#8217;s setting such as <a href="http://livedocs.adobe.com/flex/3/langref/mx/logging/targets/MiniDebugTarget.html">MiniDebugTarget</a> from <a href="http://livedocs.adobe.com/flex/3/html/logging_01.html">Flex Logging Framework</a> therefore it can be used for sending log messages to consoles which uses for working with MiniDebugTarget, for example <a href="http://code.google.com/p/flex-developer-tools/">Flex Console</a>.</p>
<p>and <strong>XMLSocket Appender</strong> for Chainsaw:</p>
<pre class="brush: xml;">
&#60;appender name=&#34;chainsaw&#34; class=&#34;org.log5f.appenders.XMLSocketAppender&#34;&#62;
  &#60;param name=&#34;layout&#34; value=&#34;org.log5f.layouts.Log4JLayout&#34; type=&#34;Class&#34;/&#62;
  &#60;param name=&#34;host&#34; value=&#34;localhost&#34; type=&#34;String&#34;/&#62;
  &#60;param name=&#34;port&#34; value=&#34;4448&#34; type=&#34;Number&#34;/&#62;
&#60;/appender&#62;
</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Developer/Designer and DCD features of Flash Builder 4]]></title>
<link>http://magicwithflex.wordpress.com/2009/11/23/get-started-in-learning-dcd-feature-of-flex/</link>
<pubDate>Mon, 23 Nov 2009 09:19:31 +0000</pubDate>
<dc:creator>lksmurthy</dc:creator>
<guid>http://magicwithflex.wordpress.com/2009/11/23/get-started-in-learning-dcd-feature-of-flex/</guid>
<description><![CDATA[Flex applications can more often than not be divided into two broad categories: 1) Applications buil]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Flex applications can more often than not be divided into two broad categories:</p>
<p>1) Applications built around a very specific design</p>
<p>2) Applications built with data at the core</p>
<p>Flex 4 provides great new features which addresses both styles of application development. For the first set of applications, Flash builder 4 empowers the developers with a new <strong>Developer/Designer Workflow theme</strong>. For the second set of applications, Flash Builder 4 provides a new and exciting feature called <strong>Data Centric Development (DCD)</strong>. DCD is a Rapid Application Development feature in Flash Builder 4 which is aimed to enable traditional web developers to quickly build Flex apps, which will connect to server side back ends like Cold Fusion, PHP, LCDS, BlazeDS, HTTPService and WebService.</p>
<p>I will not dwell into the intricacies of both the workflows in this post, as their already exist some amazing articles which completely cover the functionalities of the two features. The links to those articles are documented below,</p>
<p>Quick Links:</p>
<p>Developer/Designer Workflow theme:</p>
<p>1) <a href="http://theflashblog.com/?p=1027" target="_blank">Tutorials on Flash Catalyst and Flex 4</a></p>
<p>Data Centric Developement:</p>
<p>1) <a href="http://srinivasannam.wordpress.com/2009/06/01/introduction_to_dcd/" target="_blank">Introduction to DCD</a></p>
<p>2) <a href="http://balajisridhar.wordpress.com/2009/10/08/build-a-master-detail-flex-coldfusion-application-without-writing-a-line-of-code/" target="_blank">Build a Master-Detail Flex-Cold Fusion application without writing a line of code</a></p>
<p>3) <a href="http://sujitreddyg.wordpress.com/2009/10/13/building-flex-and-lcds-based-crud-application-using-flash-builder-4/" target="_blank">Building Flex and LCDS based CRUD application using Flash Builder 4 </a></p>
<p>4) <a href="http://exploringflex.wordpress.com/2009/06/04/dcd-service-wizard-php-service/" target="_blank">DCD Service Wizard &#8211; PHP service</a></p>
<p>5) <a href="http://exploringflex.wordpress.com/2009/06/05/dcd-service-wizard-http-service/" target="_blank">DCD Service Wizard &#8211; HTTPService</a></p>
<p><a href="http://exploringflex.wordpress.com/2009/06/05/dcd-service-wizard-http-service/"></a>6) <a href="http://srinivasannam.wordpress.com/2009/06/03/using-webservice-dcd/" target="_blank">Using WebServices with DCD</a></p>
<p>7) <a href="http://sujitreddyg.wordpress.com/2009/10/12/building-flex-and-java-based-crud-application-using-flash-builder-4/" target="_blank">Building Flex and Java based CRUD application using Flash Builder 4</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Better Button Strokes in Degrafa]]></title>
<link>http://ricozuniga.com/2009/11/23/better-button-strokes-in-degrafa/</link>
<pubDate>Mon, 23 Nov 2009 09:14:55 +0000</pubDate>
<dc:creator>ricoz</dc:creator>
<guid>http://ricozuniga.com/2009/11/23/better-button-strokes-in-degrafa/</guid>
<description><![CDATA[View Sample | Source Code Degrafa supports strokes but the output is a little disappointing. A quick]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignnone size-full wp-image-139" title="Better Button Strokes in Degrafa" src="http://ricoonflex.wordpress.com/files/2009/11/stroke1.png" alt="Better Button Strokes in Degrafa" width="390" height="275" /></p>
<p><a title="BetterStroke" href="http://www.tongits.net/degrafa/stroke/" target="_blank">View Sample</a> &#124; <a title="Source of BetterStroke" href="http://www.tongits.net/degrafa/stroke/srcview/" target="_blank">Source Code</a></p>
<p><a title="Degrafa: Declarative Graphics Framework" href="http://degrafa.org/" target="_blank">Degrafa</a> supports strokes but the output is a little disappointing. A quick solution is to apply age-old Photoshop skills. And that is to create a smaller shape enclosed inside another shape to mimic a stroke. The containing shape&#8217;s background color will serve as the artificial stroke. You also need to add 2 pixels to both the height and width if you&#8217;re going to use this approach since a real stroke is an extra 1 pixel (at least in this example) border around the button, easily take care of this inside the overriden <code>updateDisplayList</code> function.</p>
<p>The result looks smoother and more consistent than Degrafa&#8217;s built in stroke. However this approach will require more code and may consume more system resource.</p>
<p>The smoothness of the stroke is also affected by the chosen color. It seems that the darker the color of the stroke or if it&#8217;s a complement of the button&#8217;s color, the less smooth it appears. The size of the corner radius also affects the smoothness of the stroke. You just have to experiment to find the best combination. Thicker strokes on the other hand look alright, so I guess this example only applies to 1 pixel strokes.</p>
<p>Another thing I noticed with Degrafa is it sometimes renders inconsistent corner radii (see screenshot above). One corner may seem off or may not be curved at all. This can be fixed, albeit inelegantly, by using a <code>RoundedRectangleComplex</code> to allow setting of radii for individual corners.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Event Dispatcher]]></title>
<link>http://hemakumars.wordpress.com/2009/11/23/event-dispatcher/</link>
<pubDate>Mon, 23 Nov 2009 04:06:52 +0000</pubDate>
<dc:creator>Hemakumar</dc:creator>
<guid>http://hemakumars.wordpress.com/2009/11/23/event-dispatcher/</guid>
<description><![CDATA[Description 1. The EventDispatcher class is a base class that provides important event model functio]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><span style="color:#99cc00;"><span style="text-decoration:underline;"><strong>Description</strong></span></span></p>
<p><span style="color:#99cc00;">1. The EventDispatcher class is a base class that provides important </span></p>
<p><span style="color:#99cc00;"> event model functionality for every object on the display list.</span></p>
<p><span style="color:#99cc00;">2. Every object on the display list can use its addEventListener () </span></p>
<p><span style="color:#99cc00;"> method– inherited from the Event Dispatcher class–to listen for </span></p>
<p><span style="color:#99cc00;"> a particular event, but only if the listening object is part of the </span></p>
<p><span style="color:#99cc00;"> event flow for that event.</span></p>
<p><span style="color:#99cc00;"><span style="text-decoration:underline;"><strong>Example event dispatch program</strong></span></span></p>
<p><span style="color:#99cc00;">Step 1. Two buttons has created for triggering of click event and </span></p>
<p><span style="color:#99cc00;"> mouse over event.</span></p>
<p><span style="color:#99cc00;">Step 2: Button 1 as mouse over and Button 2 as mouse click.</span></p>
<p><span style="color:#99cc00;">Step 3: Adding the event listener for the button1 using createListener </span></p>
<p><span style="color:#99cc00;"> (e: Event) method</span></p>
<p><span style="color:#99cc00;">private function createListener(e:Event):void</span></p>
<p><span style="color:#99cc00;">{</span></p>
<p><span style="color:#99cc00;">myb.addEventListener(MouseEvent.MOUSE_OVER, myEventHandler);</span></p>
<p><span style="color:#99cc00;">myb.addEventListener(MouseEvent.CLICK, myClickHandler);</span></p>
<p><span style="color:#99cc00;">}</span></p>
<p><span style="color:#99cc00;">Step 4: Adding the event listener for the button1 using createListener1 </span></p>
<p><span style="color:#99cc00;"> (e: Event) method</span></p>
<p><span style="color:#99cc00;">private function createListener1(e:Event):void</span></p>
<p><span style="color:#99cc00;">{</span></p>
<p><span style="color:#99cc00;">myb1.addEventListener(MouseEvent.CLICK, myEventHandler1);</span></p>
<p><span style="color:#99cc00;">myb1.addEventListener(MouseEvent.DOUBLE_CLICK,myclickbutton);</span></p>
<p><span style="color:#99cc00;">}</span></p>
<p><span style="color:#99cc00;">Step 5: Dispatching the event for the alert message through the button 1.</span></p>
<p><span style="color:#99cc00;">private function myEventHandler(e:Event):void</span></p>
<p><span style="color:#99cc00;">{</span></p>
<p><span style="color:#99cc00;">var result:Boolean = myb.dispatchEvent(new MouseEvent</span></p>
<p><span style="color:#99cc00;">(MouseEvent.CLICK, true, false));</span></p>
<p><span style="color:#99cc00;">}</span></p>
<p><span style="color:#99cc00;">Step:6  Dispatching the event for the image through the button 2</span></p>
<p><span style="color:#99cc00;">private function myEventHandler1(e:Event):void</span></p>
<p><span style="color:#99cc00;">{</span></p>
<p><span style="color:#99cc00;">var result:Boolean = myb1.dispatchEvent(new </span></p>
<p><span style="color:#99cc00;">MouseEvent(MouseEvent.DOUBLE_CLICK, true, false));</span></p>
<p><span style="color:#99cc00;">}</span></p>
<p><span style="color:#99cc00;">Step 7:  Defining the alert message method for the button 1.</span></p>
<p><span style="color:#99cc00;">private function myClickHandler(e:Event):void</span></p>
<p><span style="color:#99cc00;">{</span></p>
<p><span style="color:#99cc00;">Alert.show(“my box”);</span></p>
<p><span style="color:#99cc00;">}</span></p>
<p><span style="color:#99cc00;">Step 8: Defining the image method for the button 2.</span></p>
<p><span style="color:#99cc00;">private function myclickbutton(e:Event):void</span></p>
<p><span style="color:#99cc00;">{</span></p>
<p><span style="color:#99cc00;">Myimg.visible=true;</span></p>
<p><span style="color:#99cc00;">}</span></p>
<p><span style="color:#99cc00;">Step: 9 Design for the button 1 in mxml application..</span></p>
<p><span style="color:#99cc00;">&#60;mx:VBox&#62;</span></p>
<p><span style="color:#99cc00;">&#60;mx:Label text=”mouse over event”/&#62;</span></p>
<p><span style="color:#99cc00;">&#60;mx:Button id=”myb” label=”Mouse Over”/&#62;</span></p>
<p><span style="color:#99cc00;">&#60;/mx:VBox&#62;</span></p>
<p><span style="color:#99cc00;">Step 10: Design for the button 2 in mxml application.</span></p>
<p><span style="color:#99cc00;">&#60;mx:VBox&#62;</span></p>
<p><span style="color:#99cc00;">&#60;mx:Label text=”mouse click event”/&#62;</span></p>
<p><span style="color:#99cc00;">&#60;mx:Button label=”Mouse click”/&#62;</span></p>
<p><span style="color:#99cc00;">&#60;mx:Image  id=”myimg” source=”nn.gif” visible=”false”/&#62;</span></p>
<p><span style="color:#99cc00;">&#60;/mx:VBox&#62;</span></p>
<p><span style="color:#99cc00;">With Regards</span></p>
<p><span style="color:#99cc00;">Hemakumar.S<br />
</span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Conferencia FMS 3.5 en Latin Flash Tour]]></title>
<link>http://mdrmtz.wordpress.com/2009/11/23/fms-3-5/</link>
<pubDate>Mon, 23 Nov 2009 00:22:31 +0000</pubDate>
<dc:creator>mdrmtz</dc:creator>
<guid>http://mdrmtz.wordpress.com/2009/11/23/fms-3-5/</guid>
<description><![CDATA[Este 17 de Noviembre, tuve al oportunidad de compartir una gran experiencia Latin Flash Tour y parti]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Este 17 de Noviembre, tuve al oportunidad de compartir una gran experiencia <strong>Latin Flash Tour</strong>  y participar impartiendo una conferencia de Flash Media Server 3.5.  Aquí esta les dejo la presentación y la liga a el <a href="http://tinyurl.com/flat-fmsCode">código fuente</a> de los ejemplos presentados.  </p>
<p><!-- SlideShare error: doc is missing or has illegal characters /[^-_a-zA-Z0-9]/ --></p>
<p>Happy Streaming!!!</p>
<div style="width:425px;text-align:left;" id="__ss_2556134">
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;"><a style="text-decoration:underline;" href="http://www.slideshare.net/mdrmtz">Daniel Ramos</a>.</div>
</div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Actionscript extended alert box]]></title>
<link>http://gwinnem.wordpress.com/2009/11/22/actionscript-extended-alert-box/</link>
<pubDate>Sun, 22 Nov 2009 15:34:12 +0000</pubDate>
<dc:creator>gwinnem</dc:creator>
<guid>http://gwinnem.wordpress.com/2009/11/22/actionscript-extended-alert-box/</guid>
<description><![CDATA[In my previous project i needed to find a easy solution for displaying icons in the alert message bo]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>In my previous project i needed to find a easy solution for displaying icons in the alert message box.<br />
So i extended the regular class and added the icons.</p>
<p>Check out the example code and screenshots:</p>
<p><!--more--><br />
<strong>Normal alert</strong><br />
<a href="http://gwinnem.wordpress.com/files/2009/11/regularalert.gif"><img src="http://gwinnem.wordpress.com/files/2009/11/regularalert.gif" alt="Normal Alert" title="regularalert" width="568" height="366" class="aligncenter size-full wp-image-179" /></a><br />
<strong>Error alert</strong><br />
<a href="http://gwinnem.wordpress.com/files/2009/11/erroralert.gif"><img src="http://gwinnem.wordpress.com/files/2009/11/erroralert.gif" alt="Error Alert" title="erroralert" width="568" height="366" class="aligncenter size-full wp-image-180" /></a><br />
<strong>Information Alert</strong><br />
<a href="http://gwinnem.wordpress.com/files/2009/11/informationalert.gif"><img src="http://gwinnem.wordpress.com/files/2009/11/informationalert.gif" alt="Information Alert" title="informationalert" width="568" height="366" class="aligncenter size-full wp-image-181" /></a><br />
<strong>Warning Alert</strong><br />
<a href="http://gwinnem.wordpress.com/files/2009/11/warningalert.gif"><img src="http://gwinnem.wordpress.com/files/2009/11/warningalert.gif" alt="Warning Alert" title="warningalert" width="568" height="366" class="aligncenter size-full wp-image-182" /></a></p>
<p><!--more--><br />
<strong>AlertBox.mxml</strong></p>
<pre class="brush: jscript; collapse: false; first-line: 1; pad-line-numbers: true;">
&#60;?xml version = &#34;1.0&#34; encoding = &#34;utf-8&#34;?&#62;
&#60;mx:Application xmlns:mx = &#34;http://www.adobe.com/2006/mxml&#34;
                layout = &#34;vertical&#34;
                backgroundColor = &#34;#FFFFFF&#34;&#62;
    &#60;mx:Script&#62;
        &#60;![CDATA[
            import com.winnemconsulting.uicomponents.alert.ExtendedAlert;
            import mx.controls.Alert;

            /** Event handler function imports the Alert control, which uses a static method to show
               a pop-up window with the title, message, and requested buttons.
             **/
            private function Alerted():void
            {
                Alert.show(&#34;You have been alerted !!&#34;, &#34;Alert Box&#34;, Alert.OK);
            }

            private function IconAlert(type:String):void
            {
                switch (type)
                {
                    case ExtendedAlert.ICON_ERROR32:
                        ExtendedAlert.showExtended(&#34;This is the error icon&#34;, &#34;Alert with icon&#34;, Alert.OK, null, null, ExtendedAlert.ICON_ERROR32);
                        break;
                    case ExtendedAlert.ICON_INFORMATION32:
                        ExtendedAlert.showExtended(&#34;This is the information icon&#34;, &#34;Alert with icon&#34;, Alert.OK, null, null, ExtendedAlert.ICON_INFORMATION32);
                        break;
                    case ExtendedAlert.ICON_WARNING32:
                        ExtendedAlert.showExtended(&#34;This is the warning icon&#34;, &#34;Alert with icon&#34;, Alert.OK, null, null, ExtendedAlert.ICON_WARNING32);
                        break;
                }
            }
        ]]&#62;

    &#60;/mx:Script&#62;

    &#60;mx:Panel title = &#34;Alert Panel&#34;&#62;

        &#60;mx:Button label = &#34;Regular Alert&#34;
                   width = &#34;100%&#34;
                   click = &#34;Alerted();&#34;/&#62;
        &#60;mx:Button label = &#34;Extended Alert error&#34;
                   width = &#34;100%&#34;
                   click = &#34;IconAlert(ExtendedAlert.ICON_ERROR32);&#34;/&#62;
        &#60;mx:Button label = &#34;Extended Alert information&#34;
                   width = &#34;100%&#34;
                   click = &#34;IconAlert(ExtendedAlert.ICON_INFORMATION32);&#34;/&#62;
        &#60;mx:Button label = &#34;Extended Alert warning&#34;
                   width = &#34;100%&#34;
                   click = &#34;IconAlert(ExtendedAlert.ICON_WARNING32);&#34;/&#62;
    &#60;/mx:Panel&#62;

&#60;/mx:Application&#62;
</pre>
<p><strong>ExtendedAlert.as</strong></p>
<pre class="brush: jscript; collapse: false; first-line: 1; pad-line-numbers: true;">
/**
 * Contributed by:
 * Geirr Winnem
 * Created: 10/21/2009
 * Website: www.winnem.com/winnem-consulting
 * Licence: All rights reserved 2009-, Winnem Consulting
 *
 **/
package com.winnemconsulting.uicomponents.alert
{
    import mx.resources.ResourceManager;
    import flash.display.Sprite;

    import mx.controls.Alert;

    /**
     * Extended the regular alert with predefined icons.
     * @author Geirr Winnem
     * @see mx.controls.Alert
     */
    public class ExtendedAlert extends Alert
    {

        [Embed(source=&#34;16X16/error.png&#34;)]
        public static const iconError16:Class;

        [Embed(source=&#34;32X32/error.png&#34;)]
        public static const iconError32:Class;

        [Embed(source=&#34;48X48/error.png&#34;)]
        public static const iconError48:Class;

        [Embed(source=&#34;16X16/information.png&#34;)]
        public static const iconInformation16:Class;

        [Embed(source=&#34;32X32/information.png&#34;)]
        public static const iconInformation32:Class;

        [Embed(source=&#34;48X48/information.png&#34;)]
        public static const iconInformation48:Class;

        [Embed(source=&#34;16X16/warning.png&#34;)]
        public static const iconWarning16:Class;

        [Embed(source=&#34;32X32/warning.png&#34;)]
        public static const iconWarning32:Class;

        [Embed(source=&#34;48X48/warning.png&#34;)]
        public static const iconWarning48:Class;

        /**
         * Error icon,size 16X16
         */
        public static const ICON_ERROR16:String = &#34;errorIcon16X16&#34;;

        /**
         * Error icon,size 32X32
         */
        public static const ICON_ERROR32:String = &#34;errorIcon32X32&#34;;

        /**
         * Error icon,size 48X48
         */
        public static const ICON_ERROR48:String = &#34;errorIcon48X48&#34;;

        /**
         * Warning icon,size 16X16
         */
        public static const ICON_WARNING16:String = &#34;warningIcon16X16&#34;;

        /**
         * Warning icon,size 32X32
         */
        public static const ICON_WARNING32:String = &#34;warningIcon32X32&#34;;

        /**
         * Warning icon,size 48X48
         */
        public static const ICON_WARNING48:String = &#34;warningIcon48X48&#34;;

        /**
         * Information icon,size 16X16
         */
        public static const ICON_INFORMATION16:String = &#34;informationIcon16X16&#34;;

        /**
         * Information icon,size 32X32
         */
        public static const ICON_INFORMATION32:String = &#34;informationIcon32X32&#34;;

        /**
         * Information icon,size 48X48
         */
        public static const ICON_INFORMATION48:String = &#34;informationIcon48X48&#34;;

        /**
         * Constructor.
         */
        public function ExtendedAlert()
        {
            super();
        }

        /**
         * Extension of the original Show method.
         * @param text 			Text to display
         * @param title			Title for Alert
         * @param flags			Button flags.
         * @param parent		Parent object of control.
         * @param clickListener	Specifies listener function for click events from Alert buttons.
         * @param iconType		Specifies which icon type and size to display in alert.
         * @param defaultButton	Specifies the default button in alert.
         * @return Alert.
         * @see http://livedocs.adobe.com/flex/3/html/help.html?content=controls_19.html
         */
        public static function showExtended(text:String, title:String = null, flags:uint = mx.controls.Alert.OK, parent:Sprite = null, clickListener:Function = null, iconType:String = ICON_INFORMATION48, defaultButton:uint = mx.controls.Alert.OK):Alert
        {
            var iconDisplay:Class;

            switch (iconType)
            {
                case ICON_ERROR16:
                {
                    iconDisplay = iconError16;
                    break;
                }
                case ICON_ERROR32:
                {
                    iconDisplay = iconError32;
                    break;
                }
                case ICON_ERROR48:
                {
                    iconDisplay = iconError48;
                    break;
                }
                case ICON_WARNING16:
                {
                    iconDisplay = iconWarning16;
                    break;
                }
                case ICON_WARNING32:
                {
                    iconDisplay = iconWarning32;
                    break;
                }
                case ICON_WARNING48:
                {
                    iconDisplay = iconWarning48;
                    break;
                }
                case ICON_INFORMATION16:
                {
                    iconDisplay = iconInformation16;
                    break;
                }
                case ICON_INFORMATION32:
                {
                    iconDisplay = iconInformation32;
                    break;
                }
                case ICON_INFORMATION48:
                {
                    iconDisplay = iconInformation48;
                    break;
                }
            }
            return show(text, title, flags, parent, clickListener, iconDisplay, defaultButton);
        }
    }
}
</pre>
<p><strong>32X32 Icons</strong><br />
<a href="http://gwinnem.wordpress.com/files/2009/11/information.png"><img src="http://gwinnem.wordpress.com/files/2009/11/information.png" alt="Information icon" title="information" width="32" height="32" class="aligncenter size-full wp-image-186" /></a><br />
<a href="http://gwinnem.wordpress.com/files/2009/11/warning.png"><img src="http://gwinnem.wordpress.com/files/2009/11/warning.png" alt="" title="warning" width="32" height="32" class="aligncenter size-full wp-image-187" /></a><br />
<a href="http://gwinnem.wordpress.com/files/2009/11/error.png"><img src="http://gwinnem.wordpress.com/files/2009/11/error.png" alt="Error icon" title="error" width="32" height="32" class="aligncenter size-full wp-image-188" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[boys will be boys]]></title>
<link>http://wilomis.wordpress.com/2009/11/22/boys-will-be-boys/</link>
<pubDate>Sun, 22 Nov 2009 15:05:54 +0000</pubDate>
<dc:creator>wilomis</dc:creator>
<guid>http://wilomis.wordpress.com/2009/11/22/boys-will-be-boys/</guid>
<description><![CDATA[]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://wilomis.wordpress.com/files/2009/11/00062.jpg"><img src="http://wilomis.wordpress.com/files/2009/11/00062.jpg" alt="" title="00062" width="700" height="323" class="aligncenter size-full wp-image-315" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Flex accessing JAVA data]]></title>
<link>http://nextgenerationweb.wordpress.com/2009/11/21/flex-accessing-java-data/</link>
<pubDate>Sat, 21 Nov 2009 11:21:02 +0000</pubDate>
<dc:creator>osurikiran</dc:creator>
<guid>http://nextgenerationweb.wordpress.com/2009/11/21/flex-accessing-java-data/</guid>
<description><![CDATA[The &lt;mx: HTTPService&gt;  tad provides REST type service to access a server resources directly wi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>The &#60;mx: HTTPService&#62;  tad provides REST type service to access a server resources directly with an unique identifier such as URL, HTTPService in flex application can access any server data such as ASP,JSP, Servlet, PHP,  ASP.Net, if the specified server resource is found then it will fetches the data ,return the data to flex, else it throws an fault error.</p>
<p>&#60;mx: HTTPService&#62;  allows to define type of access GET, POST, return format, header information also supports to pass parameters to the server resource.  HTTPService&#8217;s  &#8217;send&#8217; method should be called to initiate request to server, upon successful data response it triggers &#8216;ResultEvent&#8217; , to registered a listener for the event define the listener function in  &#8217;result&#8217;  property, similarly it triggers a &#8216;FaultEvent&#8217; when any problem occur during request and response process define a listener function in &#8216;fault&#8217; property.</p>
<p>In this post  I am trying to present simple JSP page accessing, witch contains simple xml data, in real application JSP can be any complex code structure,</p>
<p>In NetBeans or  Eclips IDE or any java Editor  define a empty JSP page,   and write a xml data with no additional code .  like</p>
<h4>index.jsp</h4>
<blockquote>
<div id="_mcePaste">&#60;products&#62;</div>
<div id="_mcePaste">&#60;product&#62;</div>
<div id="_mcePaste">&#60;name&#62;Apple IPhone&#60;/name&#62;</div>
<div id="_mcePaste">&#60;price&#62;32000&#60;/price&#62;</div>
<div id="_mcePaste">&#60;description&#62; First tuch screen hand held device, dveloped using Objective C&#60;/description&#62;</div>
<div id="_mcePaste">&#60;/product&#62;</div>
<div>&#8212;&#8212;&#8211;</div>
<div>&#8212;&#8212;-</div>
<div>&#60;/<span style="background-color:#ffffff;">products &#62;</span></div>
</blockquote>
<div><span style="background-color:#ffffff;">Save the file and project, make sure error free and deploy the file in server and test it, it will displays the data in the jsp page as text,</span></div>
<div><span style="background-color:#ffffff;">now copy the url address it is used as a value of url property of &#60;mx: HTTPService&#62; tag.</span></div>
<p>In Flex Builder IDE create anew project in  main application mxml file define code below, In &#8216;creationComplete&#8217;  event initiate the <span style="background-color:#ffffff;">&#60;mx: HTTPService&#62; request by calling &#8217;send()&#8217; method , and opon success full data retrieval assign it to DataGrid dataprovider property.</span></p>
<blockquote><p>&#60;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&#62;</p>
<p>&#60;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221; layout=&#8221;absolute&#8221; creationComplete=&#8221;productsSrv.send()&#8221;&#62;</p>
<p><span style="white-space:pre;"> </span>&#60;mx:Script&#62;</p>
<p><span style="white-space:pre;"> </span>&#60;![CDATA[</p>
<p><span style="white-space:pre;"> </span>import mx.collections.ArrayCollection;</p>
<p><span style="white-space:pre;"> </span>import mx.controls.Alert;</p>
<p><span style="white-space:pre;"> </span>import mx.rpc.events.FaultEvent;</p>
<p><span style="white-space:pre;"> </span>import mx.rpc.events.ResultEvent;</p>
<p><span style="white-space:pre;"> </span>[Bindable]</p>
<p><span style="white-space:pre;"> </span>private var productsCollection:ArrayCollection;</p>
<p><span style="white-space:pre;"> </span>private function resultHandler(event:ResultEvent):void</p>
<p><span style="white-space:pre;"> </span>{  <span style="background-color:#ffffff;"><span style="white-space:pre;"> </span>productsCollection = (event.result.products.product) as ArrayCollection;</span></p>
<p><span style="white-space:pre;"> </span>}</p>
<p><span style="white-space:pre;"> </span>private function faultHandler(event:FaultEvent):void</p>
<p><span style="white-space:pre;"> </span>{</p>
<p><span style="white-space:pre;"> </span>Alert.show(&#8220;Error:\n<span style="white-space:pre;"> </span>&#8220;+event.fault);</p>
<p><span style="white-space:pre;"> </span>}</p>
<p><span style="white-space:pre;"> </span>]]&#62;</p>
<p><span style="white-space:pre;"> </span>&#60;/mx:Script&#62;</p>
<p><span style="white-space:pre;"> </span>&#60;mx:HTTPService id=&#8221;productsSrv&#8221; url=&#8221;http://localhost:8080/Products/&#8221; result=&#8221;resultHandler(event)&#8221; fault=&#8221;faultHandler(event)&#8221; /&#62;</p>
<p><span style="white-space:pre;"> </span>&#60;mx:DataGrid dataProvider=&#8221;{productsCollection}&#8221; horizontalCenter=&#8221;0&#8243; verticalCenter=&#8221;0&#8243;  width=&#8221;684&#8243; height=&#8221;386&#8243;/&#62;</p>
<p>&#60;/mx:Application&#62;</p></blockquote>
<p>save the application and run it</p>
<p>you will get the data it JSP page</p>
<p style="text-align:center;"><a href="http://nextgenerationweb.wordpress.com/files/2009/11/new-picture1.png"><img class="aligncenter size-medium wp-image-64" title="Flex accessing JAVA data" src="http://nextgenerationweb.wordpress.com/files/2009/11/new-picture1.png?w=300" alt="" width="450" height="255" /></a></p>
<p>in next post we will see some complex app</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Flickr mesh-up with actionscript 3, REST or SWX]]></title>
<link>http://lucamezzalira.com/2009/11/21/flickr-actionscript-3-rest-swx/</link>
<pubDate>Sat, 21 Nov 2009 11:19:12 +0000</pubDate>
<dc:creator>lucamezzalira</dc:creator>
<guid>http://lucamezzalira.com/2009/11/21/flickr-actionscript-3-rest-swx/</guid>
<description><![CDATA[Today I spend my afternoon to configure a part of a full Flash website that interact with Flickr and]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Today I spend my afternoon to configure a part of a full Flash website that interact with Flickr and that retrieve data from my account without any appication authentication but only with my Flickr key.</p>
<p>First of all I was really impressed about how many languages you can use to bring Flickr photos and use in own desktop application or website (Real Basic, cUrl, Perl, Delphi, C&#8230;).</p>
<p>When you want retrieve photos from Flickr you must have a <a href="http://www.flickr.com/services/apps/create/apply/" target="_blank">Flickr key</a> that is totally free and you can activate one directly in the right section of Flickr site.<br />
In the same section you can find whole documentation and lots of services expose to retrieve any kind of data from a photo, from Exif data to user or friends informations.<br />
For AS3 we have a couple of interesting library; first one is <a href="http://code.google.com/p/as3flickrlib/" target="_blank">as3flickrlib</a> very well documented but it&#8217;s so long to start work with it because you must to find a frob ID then a token and finally you can start to work with Flickr API.<br />
The other one is <a href="http://swxformat.org/" target="_blank">SWX</a>, that is written by <a href="http://aralbalkan.com/" target="_blank">Aral Balkan</a> and it&#8217;s too easy to mesh up any kind of popular service like Flickr, Twitter and so on.<br />
Aral gives us availability to use <a href="http://swxformat.org/php/explorer/" target="_blank">SWX Service Explorer</a> to take a look at the data and how to mesh up your application with public API, I really love it on Flash Lite too!</p>
<p>This is very interesting because you can retrieve all API in this library and in few line of code you can work with public services.<br />
This is a simple example to call Flickr services with SWX, you can <a href="http://www.flairpy.com/SWX.zip" target="_blank">download source code</a> too:</p>
<pre><span style="color:#ff6600;">swx = new SWX();</span>
<span style="color:#ff6600;">swx.gateway = GATEWAY_PHP;</span>
<span style="color:#ff6600;">swx.encoding = "POST";</span>
<span style="color:#ff6600;">var callDetails:Object =</span>
<span style="color:#ff6600;">{</span>
<span style="color:#ff6600;">serviceClass: "Flickr",</span>
<span style="color:#ff6600;">method: "photosSearch",</span>
<span style="color:#ff6600;">args: ["", "", "#mart3"],</span>
<span style="color:#ff6600;">encoding: "POST",</span>
<span style="color:#ff6600;">timeout: 5,</span>
<span style="color:#ff6600;">resultHandler: resultPhotos,</span>
<span style="color:#ff6600;">faultHandler: faultHandler</span>
<span style="color:#ff6600;">};</span>
<span style="color:#ff6600;">swx.call(callDetails);</span></pre>
<p>Another interesting way to work with Flickr API without any authentication is using REST API.<br />
<a href="http://en.wikipedia.org/wiki/Representational_State_Transfer" target="_blank">REST</a> (Representational state transfer) is a very simple way to request data from a database, update, delete them or to create new record using HTTPHeaders and XML.<br />
You must know that AS3 doesn&#8217;t have PUT and DELETE method but there are some libraries that create a workaround to solve this limitation and they work very well with REST (<a href="http://code.google.com/p/as3httpclientlib/" target="_blank">as3httpclientlib</a> for example)<br />
I start to approach REST a couple of months ago with Ruby on Rails and I think is amazing.</p>
<p>Flickr gives us REST API too, and you can see that is so simple create a Flickr gallery with REST and Actionscript 3.</p>
<p>We have some API that works without authentication like photos search and we use this service to retrieve data for our Flickr gallery.<br />
First of all we take a look at <a href="http://www.flickr.com/services/api/flickr.photos.search.html" target="_blank">service documentation on Flickr</a>, you can see that we have a lots of opportunity to find data on Flickr; we can search photos via userID, tags, text on title or description and so on.</p>
<p>In Actionscript 3 we&#8217;ll use URLLoader class and prepare some url to retrieve XML data from REST.</p>
<pre><span style="color:#ff6600;">private const FLICKR_SERVICE = "flickr.photos.search";</span>

<span style="color:#ff6600;">private const API_FLICKR:String = "c6c31464878505403f9bbbf6214ae413";</span>

<span style="color:#ff6600;">private const PATH_SEARCH_FLICKR:String = "http://api.flickr.com/services/rest/";</span>

<span style="white-space:pre;"><span style="color:#ff6600;">		</span></span>

<span style="color:#ff6600;">public function FlickrRest(){</span>

<span style="white-space:pre;"><span style="color:#ff6600;">			</span></span>

<span style="white-space:pre;"><span style="color:#ff6600;">	</span></span><span style="color:#ff6600;">var varsFlickr:URLVariables = new URLVariables();</span>

<span style="white-space:pre;"><span style="color:#ff6600;">	</span></span><span style="color:#ff6600;">varsFlickr.method = FLICKR_SERVICE;</span>

<span style="white-space:pre;"><span style="color:#ff6600;">	</span></span><span style="color:#ff6600;">varsFlickr.api_key = API_FLICKR;</span>

<span style="white-space:pre;"><span style="color:#ff6600;">	</span></span><span style="color:#ff6600;">varsFlickr.tags = "#mart3";</span>

<span style="white-space:pre;"><span style="color:#ff6600;">			</span></span>

<span style="white-space:pre;"><span style="color:#ff6600;">	</span></span><span style="color:#ff6600;">var req:URLRequest = new URLRequest();</span>

<span style="white-space:pre;"><span style="color:#ff6600;">	</span></span><span style="color:#ff6600;">req.url = PATH_SEARCH_FLICKR;</span>

<span style="white-space:pre;"><span style="color:#ff6600;">	</span></span><span style="color:#ff6600;">req.method = URLRequestMethod.POST;</span>

<span style="white-space:pre;"><span style="color:#ff6600;">	</span></span><span style="color:#ff6600;">req.data = varsFlickr;</span>

<span style="white-space:pre;"><span style="color:#ff6600;">			</span></span>

<span style="white-space:pre;"><span style="color:#ff6600;">	</span></span><span style="color:#ff6600;">var urlL : URLLoader = new URLLoader();</span>

<span style="white-space:pre;"><span style="color:#ff6600;">	</span></span><span style="color:#ff6600;">urlL.addEventListener(Event.COMPLETE, retrieveImages);</span>

<span style="color:#ff6600;">        urlL.load(req);</span>

<span style="white-space:pre;"><span style="color:#ff6600;">			</span></span>

<span style="color:#ff6600;">}</span>
</pre>
<p>You can <a href="http://www.flairpy.com/REST.zip" target="_blank">download source code and final sample from this link</a>.<br />
Finally I&#8217;d like to explain how to compose photo&#8217;s url to retrieve them on Flickr.<br />
Flickr url is composed by some variables that you can find in REST XML or SWX result object</p>
<ol>
<li> set FARM (ex.: http://farm&#8221;+flickrXML..photo[i].@farm+&#8221;.static.flickr.com/)</li>
<li>set SERVER (ex.: +flickrXML..photo[i].@server+&#8221;/&#8221;)</li>
<li>set Photo ID with underscore  (ex.: +flickrXML..photo[i].@id+&#8221;_&#8221;+&#8221;)</li>
<li>set Secret code (ex.: flickrXML..photo[i].@secret+)</li>
<li>last parameters is which size you want to get photos, you can use &#8220;_s.jpg&#8221; for small size, &#8220;_m.jpg&#8221; for medium, &#8220;_l.jpg&#8221; for large and so on.</li>
</ol>
<p>I hope that could be interesting for many developers, if you have any suggestions or idea about mesh up with Flickr, feel free to drop a comment.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Test]]></title>
<link>http://prasy46.wordpress.com/2009/11/21/test/</link>
<pubDate>Sat, 21 Nov 2009 09:43:48 +0000</pubDate>
<dc:creator>prasy46</dc:creator>
<guid>http://prasy46.wordpress.com/2009/11/21/test/</guid>
<description><![CDATA[Test blogging]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Test blogging</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Enter Frame Event]]></title>
<link>http://hemakumars.wordpress.com/2009/11/21/enter-frame-event/</link>
<pubDate>Sat, 21 Nov 2009 05:04:11 +0000</pubDate>
<dc:creator>Hemakumar</dc:creator>
<guid>http://hemakumars.wordpress.com/2009/11/21/enter-frame-event/</guid>
<description><![CDATA[The Event.ENTER_FRAME event as its timing mechanism for showing playback progress. It periodically r]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><span style="color:#99ccff;"><br />
</span></p>
<p><span style="color:#99ccff;">The Event.ENTER_FRAME event as its timing mechanism for </span></p>
<p><span style="color:#99ccff;">showing playback progress.</span></p>
<p><span style="color:#99ccff;">It periodically reports on the playback percentage, which is </span></p>
<p><span style="color:#99ccff;">calculated as the current position value divided by the total length </span></p>
<p><span style="color:#99ccff;">of the sound data:<br />
<span style="text-decoration:underline;"><strong><br />
source code</strong></span></span></p>
<p><span style="color:#99ccff;">import flash.events.Event;</span></p>
<p><span style="color:#99ccff;">import flash.media.Sound;</span></p>
<p><span style="color:#99ccff;">import flash.net.URLRequest;</span></p>
<p><span style="color:#99ccff;">var snd:Sound = new Sound();</span></p>
<p><span style="color:#99ccff;">var req:URLRequest = new</span></p>
<p><span style="color:#99ccff;">URLRequest(“http://av.adobe.com/podcast</span></p>
<p><span style="color:#99ccff;">/csbu_dev_podcast_epi_2.mp3″);</span></p>
<p><span style="color:#99ccff;">snd.load(req);</span></p>
<p><span style="color:#99ccff;">var channel:SoundChannel;</span></p>
<p><span style="color:#99ccff;">channel = snd.play();</span></p>
<p><span style="color:#99ccff;">addEventListener(Event.ENTER_FRAME, onEnterFrame);</span></p>
<p><span style="color:#99ccff;">channel.addEventListener(Event.SOUND_COMPLETE,</span></p>
<p><span style="color:#99ccff;"> onPlaybackComplete);</span></p>
<p><span style="color:#99ccff;">function onEnterFrame(event:Event):void</span></p>
<p><span style="color:#99ccff;">{</span></p>
<p><span style="color:#99ccff;">var estimatedLength:int =</span></p>
<p><span style="color:#99ccff;">Math.ceil(snd.length / (snd.bytesLoaded / snd.bytesTotal));</span></p>
<p><span style="color:#99ccff;">var playbackPercent:uint =</span></p>
<p><span style="color:#99ccff;">Math.round(100 * (channel.position / estimatedLength));</span></p>
<p><span style="color:#99ccff;">trace(“Sound playback is ” + playbackPercent + “% complete.”);</span></p>
<p><span style="color:#99ccff;">}</span></p>
<p><span style="color:#99ccff;">function onPlaybackComplete(event:Event)</span></p>
<p><span style="color:#99ccff;">{</span></p>
<p><span style="color:#99ccff;">trace(“The sound has finished playing.”);</span></p>
<p><span style="color:#99ccff;">removeEventListener(Event.ENTER_FRAME, onEnterFrame);</span></p>
<p><span style="color:#99ccff;">}<br />
</span></p>
<p><span style="color:#99ccff;">Here EnterFrame event is mechanism to draw line from the circle ,</span></p>
<p><span style="color:#99ccff;">when user click in some area in application…</span></p>
<p><span style="color:#99ccff;"><span style="text-decoration:underline;"><strong>source code</strong></span></span></p>
<p><span style="color:#99ccff;">package {</span></p>
<p><span style="color:#99ccff;">import flash.display.Sprite;</span></p>
<p><span style="color:#99ccff;">import flash.events.Event;</span></p>
<p><span style="color:#99ccff;">public class ramdom extends Sprite</span></p>
<p><span style="color:#99ccff;">{</span></p>
<p><span style="color:#99ccff;">public function ramdom()</span></p>
<p><span style="color:#99ccff;">{</span></p>
<p><span style="color:#99ccff;">graphics.lineStyle(6,0,7);</span></p>
<p><span style="color:#99ccff;">addEventListener(Event.ENTER_FRAME,onEnterFrame);</span></p>
<p><span style="color:#99ccff;">}</span></p>
<p><span style="color:#99ccff;">public function onEnterFrame(event:Event):void{</span></p>
<p><span style="color:#99ccff;">graphics.drawCircle(23,45,25);</span></p>
<p><span style="color:#99ccff;">for(var i:int=0;i&#60;1;i++)</span></p>
<p><span style="color:#99ccff;">graphics.lineTo(Math.random()*400,Math.random()*400);</span></p>
<p><span style="color:#99ccff;">}</span></p>
<p><span style="color:#99ccff;">}</span></p>
<p><span style="color:#99ccff;">}<br />
</span></p>
<p><span style="color:#99ccff;">With Regards</span></p>
<p><span style="color:#99ccff;">Hemakumar.S<br />
</span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[The anticipated coolth of Adobe AIR 2.0]]></title>
<link>http://codescapeshaurya.wordpress.com/2009/11/21/the-anticipated-coolth-of-adobe-air-2-0/</link>
<pubDate>Sat, 21 Nov 2009 00:54:01 +0000</pubDate>
<dc:creator>shauryashaurya</dc:creator>
<guid>http://codescapeshaurya.wordpress.com/2009/11/21/the-anticipated-coolth-of-adobe-air-2-0/</guid>
<description><![CDATA[[update: this post has been in the limbo for way too long, I wanted a way to embed the flash videos ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>[update: this post has been in the limbo for way too long, I wanted a way to embed the flash videos from Adobe.tv here, but it looks like there is none. I am publishing this post today, in hopes that the reader may find it interesting enough to actually try the links... BTW this here might relate to <a href="http://codescapeshaurya.wordpress.com/2009/11/21/the-silverlight-4-beta/" target="_blank">the silverlight 4 thingy</a> as well! ]</p>
<p>I am yet to sift through <a href="http://tv.adobe.com/show/max-2009-develop/" target="_blank">all the Adobe MAX 2009 videos</a>.</p>
<p>I find it really generous of Adobe to put all of these up. Even if most of it is marketing, they still share a few gems of information. Really worthwhile for guys like me, who end up being so busy there&#8217;s little hope of attending an actual MAX event unless planned at least six months ahead of time.</p>
<p>I chanced upon the Adobe AIR 2.0 preview video:  http://tv.adobe.com/watch/max-2009-develop/whats-coming-in-adobe-air-2-/</p>
<p>(I wish there was a way to embed flash videos from Adobe.tv into WordPress&#8230;)</p>
<p>&#160;</p>
<p>To me the most important ones are the support for USB (mass storage devices) and native apps (so you can now open a word document from within AIR). I am still a bit skep about the performance, but, I am sure this is going to improve over the new version too&#8230;</p>
<p>Check these videos out. Kinda nice. Kinda exciting.</p>
<p>&#160;</p>
<p>Cheers.</p>
<p>&#160;</p>
<p>S.</p>
<p>[update:</p>
<p>1. there's a lot more videos on AIR2 in the complete video list, but I did like this one by Kevin Lynch as well: http://tv.adobe.com/watch/max-2009-develop/kevin-lynch-demos-adobe-air-2-features/</p>
<p>2. I prefer the adobe media player for working out all of it. nicer neater faster AIR based video playing...]</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Connecting Flex to Java with BlazeDS]]></title>
<link>http://cgrant.wordpress.com/2009/11/20/connecting-flex-to-java-with-blazeds/</link>
<pubDate>Fri, 20 Nov 2009 19:32:19 +0000</pubDate>
<dc:creator>cgrant</dc:creator>
<guid>http://cgrant.wordpress.com/2009/11/20/connecting-flex-to-java-with-blazeds/</guid>
<description><![CDATA[BlazeDS offers a great mechanism to attach your flex application to backend services. In this brief ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>BlazeDS offers a great mechanism to attach your flex application to backend services. In this brief overview we’ll configure flex to call a Java Class and return results. This overview assumes you’ve already <a href="http://cgrant.wordpress.com/2009/11/19/setting-up-flex-blazeds-in-flashbuilder/">setup your IDE with a basic Flex / BlazeDS project</a>.</p>
<h3>Main points we’ll cover</h3>
<ul>
<li>Build the Java Class</li>
<li>Expose the Class with Blaze on the server</li>
<li>Configure Flex to find the Blaze service</li>
<li>Build the Flex components to make the call</li>
</ul>
<h3>Build the Java Class</h3>
<p>In your IDE switch to the Java view and create a new Java class. We’ll call it HelloFlex. Create a private variable called message. Set an initial value for this variable in the constructor. Finally create a getter method that returns the message string.</p>
<blockquote><p>package com.grant;</p>
<p>public class HelloFlex {<br />
private String message;<br />
public HelloFlex(){<br />
message=&#8221;HI Flex. this is Java. How are you?&#8221;;<br />
}<br />
public String getMessage(){<br />
return message;<br />
}<br />
}</p></blockquote>
<p>&#160;</p>
<h3>Expose the class with BlazeDS on the server</h3>
<p>Under your web-inf directory you’ll fine a subdirectory called flex. Within there you’ll see the main config files blaze uses to set up the services. services-config.xml is the main file and has statements to include the others. For this example we’re creating a simple remoting service, so go ahead and open up the  remoting-config.xml. Here’s where we’ll set up the configuration for our reomting service.</p>
<p>Blaze calls exposed services destinations. In this remoting-config.xml we’ll set up a destination that points to our HelloFlex class.</p>
<p>Under the default-channels create a new destination as follows.</p>
<blockquote><p>&#60;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&#62;<br />
&#60;service id=&#8221;remoting-service&#8221;<br />
class=&#8221;flex.messaging.services.RemotingService&#8221;&#62;</p>
<p>&#60;adapters&#62;<br />
&#60;adapter-definition id=&#8221;java-object&#8221; class=&#8221;flex.messaging.services.remoting.adapters.JavaAdapter&#8221; default=&#8221;true&#8221;/&#62;<br />
&#60;/adapters&#62;</p>
<p>&#60;default-channels&#62;<br />
&#60;channel ref=&#8221;my-amf&#8221;/&#62;<br />
&#60;/default-channels&#62;</p>
<p><strong> &#60;destination id=&#8221;helloflex&#8221;&#62;<br />
&#60;properties&#62;<br />
&#60;source&#62;com.grant.HelloFlex&#60;/source&#62;<br />
&#60;/properties&#62;<br />
&#60;adapter ref=&#8221;java-object&#8221; /&#62;<br />
&#60;channels&#62;<br />
&#60;channel ref=&#8221;my-amf&#8221; /&#62;<br />
&#60;/channels&#62;<br />
&#60;/destination&#62;<br />
</strong>&#60;/service&#62;</p></blockquote>
<p>&#160;</p>
<h3>Configure Flex to find the BlazeDS Service</h3>
<p>Depending how you set up your workspace that set may already be done for you. In order for flex to know what channels and destinations are available, our application needs to know where these config files are. In Java, these files are in the class path and are included in the build process. In Flex we need to explicitly tell the compiler where these files are.</p>
<p>Right click on the project and choose properties. Under flex compiler you’ll see a textbox for additional compiler arguments. To configure the file location you’ll need an argument here called services which points to the location of your xml files.</p>
<p>You have two options now.</p>
<p><a href="http://cgrant.files.wordpress.com/2009/11/image4.png"><img style="display:inline;margin-left:0;margin-right:0;border-width:0;" title="image" src="http://cgrant.files.wordpress.com/2009/11/image_thumb6.png?w=209&#038;h=48" border="0" alt="image" width="209" height="48" align="right" /></a>1) If the folder is part of your flex build path you can make a relative reference to the file using the &#8211;services=&#60;file&#62; format as follows. Notice the web-inf directory is not included in the definition. In this the folder containing the flex subfolder is on my build path.</p>
<p>2) If the folder is NOT on your build path you can point to the file location. This is the default method that FlashBuilder implements. We’ll use it for this example, however I suggest <a href="http://cgrant.files.wordpress.com/2009/11/image5.png"><img style="display:inline;margin-left:0;margin-right:0;border-width:0;" title="image" src="http://cgrant.files.wordpress.com/2009/11/image_thumb7.png?w=402&#038;h=44" border="0" alt="image" width="402" height="44" align="right" /></a>you move to a relative location style as soon as you can.</p>
<p>For an explicit file system location the flex option is slightly different. Here we use the –services “&#60;file Location&#62;” format. On my drive the option reads –services “C:\FlashBuilder\dev\MyProject\WebContent\WEB-INF\flex\services-config.xml”</p>
<p>&#160;</p>
<h3>Build the Flex components to make the call</h3>
<p>Now we can get back to our flex components and make the actual call. First flip back over to your Flex Perspective and open your main mxml file.</p>
<p>First we’ll define the service:</p>
<blockquote><p>&#60;mx:RemoteObject id=&#8221;myService&#8221;  destination=&#8221;helloflex&#8221; /&#62;</p></blockquote>
<p>The id is the name you’ll reference this service elswhere in your flex app. The destination of helloflex needs to match the destination name you entered in your remoting-config.xml</p>
<p>Next we’ll move to some visual components. First lets add a panel to hold our controls.</p>
<blockquote><p>&#60;s:Panel width=&#8221;100%&#8221; height=&#8221;100%&#8221;&#62;<br />
&#60;s:layout&#62;<br />
&#60;s:VerticalLayout/&#62;<br />
&#60;/s:layout&#62;</p>
<p>&#60;/s:Panel&#62;</p></blockquote>
<p>And add a text box to display some results</p>
<blockquote><p>&#60;s:Panel width=&#8221;100%&#8221; height=&#8221;100%&#8221;&#62;<br />
&#60;s:layout&#62;<br />
&#60;s:VerticalLayout/&#62;<br />
&#60;/s:layout&#62;</p>
<p><strong> &#60;mx:TextArea id=&#8221;result_text&#8221;/&#62;</strong></p>
<p>&#60;/s:Panel&#62;</p></blockquote>
<p>Now we’ll add a button on the page to use the service</p>
<blockquote><p>&#60;s:Panel width=&#8221;100%&#8221; height=&#8221;100%&#8221;&#62;<br />
&#60;s:layout&#62;<br />
&#60;s:VerticalLayout/&#62;<br />
&#60;/s:layout&#62;</p>
<p>&#60;mx:TextArea id=&#8221;result_text&#8221;/&#62;<br />
<strong>&#60;mx:Button label=&#8221;Call Java&#8221; click=&#8221;myService.getOperation(&#8216;getMessage&#8217;).send();&#8221;/&#62;<br />
</strong></p>
<p>&#60;/s:Panel&#62;</p></blockquote>
<p>This is a direct use of the RemoteObject myService. This is not a best practice. Typically you would have a function managing your calls and the button would utilize that function. For simplicity sake I’ve included the direct call for this demonstration. In this example you’ll notice we use the getOperation function and pass in the java method name we want to call.</p>
<p>If you were to run this now you would see no results. We have yet to define what happens when the service gets called. Lets do that now.</p>
<p>Create a script block to hold our action script and add a simple method that puts the response of our service in our textbox.</p>
<blockquote><p>&#60;fx:Script&#62;<br />
&#60;![CDATA[<br />
import mx.rpc.events.ResultEvent;<br />
import mx.rpc.events.FaultEvent;<br />
private function resultHandler(evt:ResultEvent):void<br />
{<br />
result_text.text = evt.message.body.toString();<br />
}<br />
]]&#62;<br />
&#60;/fx:Script&#62;</p></blockquote>
<p>To use this function we’ll go back to the service and add a handler to manage all responses.</p>
<blockquote><p>&#60;fx:Declarations&#62;<br />
&#60;!&#8211; Place non-visual elements (e.g., services, value objects) here &#8211;&#62;<br />
&#60;!&#8211; DEFINE REMOTE SERVICES WE&#8217;LL USE &#8211;&#62;<br />
&#60;mx:RemoteObject<br />
id=&#8221;myService&#8221;<br />
destination=&#8221;helloflex&#8221;<br />
<strong>result=&#8221;resultHandler(event)&#8221;</strong> /&#62;<br />
&#60;/fx:Declarations&#62;</p></blockquote>
<p>&#160;</p>
<p>Your completed code should look like this</p>
<p>&#160;</p>
<blockquote><p>&#60;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&#62;<br />
&#60;s:Application xmlns:fx=&#8221;<a href="http://ns.adobe.com/mxml/2009&#34;">http://ns.adobe.com/mxml/2009&#8243;</a><br />
xmlns:s=&#8221;library://ns.adobe.com/flex/spark&#8221;<br />
xmlns:mx=&#8221;library://ns.adobe.com/flex/halo&#8221; minWidth=&#8221;1024&#8243; minHeight=&#8221;768&#8243;&#62;<br />
&#60;fx:Declarations&#62;<br />
&#60;!&#8211; Place non-visual elements (e.g., services, value objects) here &#8211;&#62;<br />
&#60;!&#8211; DEFINE REMOTE SERVICES WE&#8217;LL USE &#8211;&#62;<br />
&#60;mx:RemoteObject<br />
id=&#8221;myService&#8221;<br />
destination=&#8221;helloflex&#8221;<br />
result=&#8221;resultHandler(event)&#8221; /&#62;<br />
&#60;/fx:Declarations&#62;<br />
&#60;fx:Script&#62;<br />
&#60;![CDATA[<br />
import mx.rpc.events.ResultEvent;<br />
import mx.rpc.events.FaultEvent;<br />
private function resultHandler(evt:ResultEvent):void<br />
{<br />
result_text.text = evt.message.body.toString();<br />
}<br />
]]&#62;<br />
&#60;/fx:Script&#62;<br />
&#60;s:Panel width=&#8221;100%&#8221; height=&#8221;100%&#8221;&#62;<br />
&#60;s:layout&#62;<br />
&#60;s:VerticalLayout/&#62;<br />
&#60;/s:layout&#62;<br />
&#60;mx:TextArea id=&#8221;result_text&#8221;/&#62;<br />
&#60;mx:Button label=&#8221;Call Java&#8221; click=&#8221;myService.getOperation(&#8216;getMessage&#8217;).send();&#8221;/&#62;<br />
&#60;/s:Panel&#62;</p>
<p>&#60;/s:Application&#62;</p></blockquote>
<p>&#160;</p>
<p>That’s it! Run the application and pat yourself on the back. Congratulations! Your first end to end Flex-Java app.</p>
<p>&#160;</p>
<p><a href="http://cgrant.files.wordpress.com/2009/11/image6.png"><img style="display:inline;border:0;" title="image" src="http://cgrant.files.wordpress.com/2009/11/image_thumb8.png?w=648&#038;h=319" border="0" alt="image" width="648" height="319" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[How to style a list control in Flex]]></title>
<link>http://vatsalad.wordpress.com/2009/11/20/how-to-style-a-list-control-in-flex/</link>
<pubDate>Fri, 20 Nov 2009 16:10:34 +0000</pubDate>
<dc:creator>vatsalad</dc:creator>
<guid>http://vatsalad.wordpress.com/2009/11/20/how-to-style-a-list-control-in-flex/</guid>
<description><![CDATA[When your application contains a custom image as a background for the base container, or uses a colo]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>When your application contains a custom image as a background for the base container, or uses a color different from the regular basic gray, then adding a list control will make the list control stand out in the whole screen like an ugly duckling. And it can be very painful for the eye from the point of view of the end user. So what is the solution??? The solution is to play around with the background and border properties of the list control to make it merge with the general look and feel of your application.</p>
<p>Here is the sample code that I used to generate the screenshots below -</p>
<p>We basically have an application which contains an array with a few elements and a List control that is powered by the array.</p>
<blockquote><p>&#60;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221;<br />
xmlns:vo=&#8221;*&#8221;<br />
layout=&#8221;horizontal&#8221;<br />
verticalAlign=&#8221;middle&#8221;<br />
backgroundColor=&#8221;#EEEEEE&#8221;&#62;</p>
<p>&#60;mx:Array id=&#8221;arr1&#8243;&#62;</p>
<p>&#60;mx:String&#62;Hello&#60;/mx:String&#62;<br />
&#60;mx:String&#62;one&#60;/mx:String&#62;<br />
&#60;mx:String&#62;two&#60;/mx:String&#62;<br />
&#60;/mx:Array&#62;<br />
&#60;mx:List dataProvider=&#8221;{arr1}&#8221;  &#62;</p>
<p>&#60;/mx:List&#62;</p>
<p>&#60;/mx:Application&#62;</p></blockquote>
<p>Now the code as it is above will generate the list that stands out oddly from the rest of the screen.  Go ahead and tweak the value of the backgroundAlpha to different values between 1 and 0.  For beginners(like me), the backgroundAlpha controls the opacity of the color of the background from least to most. So a value of 1 means that the opacity is most, which means the background is opaque, and if you set to a color, it will look at its solid best.  On the other hand a value of 0 indicates that the background is least opaque i.e. it is transparent, and if you set a color to the background you will see that it begins to look more and more translucent as the backgroundAlpha value goes towards 0.</p>
<p>Look at the output image below with backgroundAlpha values 0.5,0.2 and 1. and backgroundColor &#8211; #45bc67. You will have to insert it like this &#8211; &#60;mx:List dataProvider=&#8221;{arr1}&#8221; backgroundAlpha=&#8221;0.5&#8243;  &#62;</p>
<div id="attachment_67" class="wp-caption alignnone" style="width: 310px"><a href="http://vatsalad.wordpress.com/files/2009/11/styling-a-list-control1.jpg"><img class="size-medium wp-image-67" title="Styling a List Control" src="http://vatsalad.wordpress.com/files/2009/11/styling-a-list-control1.jpg?w=300" alt="backgroundAlpha property at various values" width="300" height="196" /></a><p class="wp-caption-text">backgroundAlpha property at various values</p></div>
<p>I have combined three screenshots into one (ah, I am a little lazy), but as I said before, in the diagram you can see that the middle one with a alpha of 0.2 is more translucent than the one the extreme left with the value 0.5. And the one on the right is the least translucent for an alpha of 1.</p>
<p>One can also play around with the color of the individual items when the mouse hovers on them. This is the rollOver property and can be set to any 6 digit hex value.</p>
<p>See this screenshot with a rollOverColor of  #9aFFDE and a default rollOver color -</p>
<div id="attachment_68" class="wp-caption alignnone" style="width: 280px"><a href="http://vatsalad.wordpress.com/files/2009/11/styling-a-list-control-rollover-colors.jpg"><img class="size-full wp-image-68" title="styling a list control-rollover colors" src="http://vatsalad.wordpress.com/files/2009/11/styling-a-list-control-rollover-colors.jpg" alt="rollOverColor set to a custom value and default value" width="270" height="288" /></a><p class="wp-caption-text">rollOverColor set to a custom value and default value</p></div>
<p>Other properties worth exploring -</p>
<p>background properties</p>
<p>backgroundAlpha, backgroundColor,backgroundDisabledColor,backgroundImage,backgroundSize.</p>
<p>border properties</p>
<p>borderColor,borderSides,borderSkin,borderStyle,borderThickness</p>
<p>Dont want the border nor the background at all? Want it to merge with the application background &#8211; remove all the background properties and just use backgroundSkin={null}</p>
<div id="attachment_69" class="wp-caption alignnone" style="width: 216px"><a href="http://vatsalad.wordpress.com/files/2009/11/styling-a-list-control-borderskin_null.jpg"><img class="size-full wp-image-69" title="styling a list control-borderSkin_null" src="http://vatsalad.wordpress.com/files/2009/11/styling-a-list-control-borderskin_null.jpg" alt="borderSkin value set to null" width="206" height="257" /></a><p class="wp-caption-text">borderSkin value set to null</p></div>
<p>So go ahead and experiment with the various properties and tell me how it goes. Particularly do tell me what happens if you use the backgroundImage property, and what happens if you insert a 150px by 150px image over there&#8230;  <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
