<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2313091138408175878</id><updated>2024-08-30T02:29:47.949-07:00</updated><category term="JasperReport"/><category term="Fabrication"/><category term="PureMVC"/><category term="iReport"/><category term="Books"/><category term="Cairngorm View Listner"/><category term="Java"/><title type='text'>Flex Fusion</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>26</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-2598962428249713502</id><published>2010-05-20T07:55:00.000-07:00</published><updated>2010-05-20T07:55:12.174-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fabrication"/><category scheme="http://www.blogger.com/atom/ns#" term="PureMVC"/><title type='text'>PureMVC Fabrication Popup</title><content type='html'>&amp;nbsp;Hi,&lt;br /&gt;
&lt;br /&gt;
I am sure sombody has to go through this. PopUp In PureMVC.... But Not performing any events.... I know why..&lt;br /&gt;
Mediator for pop component is initializing befor you have the component.. Check the solution below...&lt;br /&gt;
&lt;br /&gt;
//reportPopup is of type customComponent(PdfReportFrame).&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;reportPopup = PopUpManager.createPopUp(this.payrollModule,PdfReportFrame,true) as PdfReportFrame;&lt;br /&gt;
&amp;nbsp;registerMediator(new PdfReportFrameMediator(reportPopup, source));&lt;br /&gt;
&amp;nbsp;PopUpManager.centerPopUp(reportPopup);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ranjit</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/2598962428249713502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2010/05/puremvc-fabrication-popup.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/2598962428249713502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/2598962428249713502'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2010/05/puremvc-fabrication-popup.html' title='PureMVC Fabrication Popup'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-2335295532768221149</id><published>2010-05-20T07:35:00.000-07:00</published><updated>2010-05-20T07:46:06.785-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iReport"/><category scheme="http://www.blogger.com/atom/ns#" term="JasperReport"/><title type='text'>List Collection Data Not visible in mainreport of subreport - iReport</title><content type='html'>Hi&lt;br /&gt;
&lt;br /&gt;
I have been wondering How iReport takes care of subreport I faced all above problem doing subreport in iReport.&lt;br /&gt;
&lt;br /&gt;
In order to pass List / collection to subreport following things need to be done....&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;In Main Report. &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Put Following&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;import value=&amp;quot;net.sf.jasperreports.engine.*&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;import value=&amp;quot;net.sf.jasperreports.engine.data.*&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
//Define List&lt;br /&gt;
&lt;br /&gt;
&amp;lt;field name=&amp;quot;addresses&amp;quot; class=&amp;quot;java.util.List&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Pass List to subreport&lt;br /&gt;
&lt;br /&gt;
&amp;lt;subreport isUsingCache=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;reportElement x=&amp;quot;0&amp;quot; y=&amp;quot;39&amp;quot; width=&amp;quot;555&amp;quot; height=&amp;quot;276&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;dataSourceExpression&amp;gt;&amp;lt;![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{addresses})]]&amp;gt;&amp;lt;/dataSourceExpression&amp;gt;&lt;br /&gt;
&amp;lt;subreportExpression class=&amp;quot;java.lang.String&amp;quot;&amp;gt;&amp;lt;![CDATA[$P{SUBREPORT_DIR}   &amp;quot;report1_subreport5.jasper&amp;quot;]]&amp;gt;&amp;lt;/subreportExpression&amp;gt;&lt;br /&gt;
&amp;lt;/subreport&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;In Subreport &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; put Following&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
very important &gt;&gt;&gt; below address is field in my addressess List in Main Report&lt;br /&gt;
&lt;br /&gt;
&amp;lt;field name=&amp;quot;address&amp;quot; class=&amp;quot;java.lang.String&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and In Detail Section Put Following&lt;br /&gt;
&lt;br /&gt;
&amp;lt;textField isStretchWithOverflow=&amp;quot;true&amp;quot; isBlankWhenNull=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;reportElement x=&amp;quot;142&amp;quot; y=&amp;quot;20&amp;quot; width=&amp;quot;92&amp;quot; height=&amp;quot;20&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;textElement&amp;gt;&lt;br /&gt;
&amp;lt;font size=&amp;quot;12&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/textElement&amp;gt;&lt;br /&gt;
&amp;lt;textFieldExpression class=&amp;quot;java.lang.String&amp;quot;&amp;gt;&amp;lt;![CDATA[$F{address}]]&amp;gt;&amp;lt;/textFieldExpression&amp;gt;&lt;br /&gt;
&amp;lt;/textField&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Remeber Many time you might not see subreport visible in main report reson being it the Property for Data to visible &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
&quot;When No Data &quot;(Property of report) should be set accordingly.&lt;br /&gt;
&lt;br /&gt;
Hope this might help some one....&lt;br /&gt;
&lt;br /&gt;
Ranjit&lt;br /&gt;
&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-2816084601773669&quot;;
/* 468x60, created 5/19/10 */
google_ad_slot = &quot;8447578036&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/2335295532768221149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2010/05/list-collection-data-not-visible-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/2335295532768221149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/2335295532768221149'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2010/05/list-collection-data-not-visible-in.html' title='List Collection Data Not visible in mainreport of subreport - iReport'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-9086283018711219607</id><published>2010-05-18T07:04:00.000-07:00</published><updated>2010-05-20T04:28:22.135-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iReport"/><category scheme="http://www.blogger.com/atom/ns#" term="JasperReport"/><title type='text'>Subreport not displayed in main Jasper Report ireport</title><content type='html'>Hi&lt;br /&gt;
I am sure somebody would face this problem..&lt;br /&gt;
Using ireport 3.7.2&lt;br /&gt;
&lt;br /&gt;
Subreport in Ireport is not displayed until I do the following.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;subreport&amp;gt;&amp;lt;reportelement height=&quot;100&quot; width=&quot;200&quot; x=&quot;146&quot; y=&quot;100&quot;&amp;gt;&amp;lt;subreport&amp;gt;&lt;br /&gt;
&amp;lt;reportelement height=&quot;100&quot; width=&quot;200&quot; x=&quot;146&quot; y=&quot;100&quot;&amp;gt;&lt;br /&gt;
&amp;lt;datasourceexpression&amp;gt;&amp;lt;/datasourceexpression&amp;gt;&lt;br /&gt;
&amp;lt;subreportexpression class=&quot;java.lang.String&quot;&amp;gt;&amp;lt;/subreportexpression&amp;gt;&amp;lt;/reportelement&amp;gt;&amp;lt;/subreport&amp;gt;&lt;br /&gt;
&amp;lt;datasourceexpression&amp;gt;&amp;lt;/datasourceexpression&amp;gt;&lt;br /&gt;
&amp;lt;subreportexpression class=&quot;java.lang.String&quot;&amp;gt;&amp;lt;/subreportexpression&amp;gt;&amp;lt;/reportelement&amp;gt;&amp;lt;/subreport&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Remember to set properties of &lt;b&gt;subreport&lt;/b&gt; (Also if ur using a static text to display in subreport) &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Connection Type &amp;gt;&amp;gt;&amp;gt;&amp;gt; Use a datasource expression&lt;br /&gt;
Data Source Expression &amp;gt;&amp;gt;&amp;gt;&amp;gt; new net.sf.jasperreports.engine.JREmptyDataSource()&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Make Sure you select &quot;When No Data&quot; Property to  All Section No Details. most of the time Problem would be that data being set properly to subreport.&lt;br /&gt;
&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-2816084601773669&quot;;
/* 468x60, created 5/19/10 */
google_ad_slot = &quot;8447578036&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
Look at this link for added information&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.jasperassistant.com/docs/guide/index.html&quot;&gt;http://www.jasperassistant.com/docs/guide/index.html&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/9086283018711219607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2010/05/subreport-not-displayed-in-main-jasper.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/9086283018711219607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/9086283018711219607'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2010/05/subreport-not-displayed-in-main-jasper.html' title='Subreport not displayed in main Jasper Report ireport'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-6529404482743776826</id><published>2010-05-17T07:50:00.000-07:00</published><updated>2010-05-17T07:50:58.743-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JasperReport"/><title type='text'>simple Example with Javabeans/Java Object / POJO DataSource for JasperReport</title><content type='html'>Hi,&lt;br /&gt;
&lt;br /&gt;
small tutorial.. on Jasper Report JavaBeans DataSoruce&lt;br /&gt;
&lt;br /&gt;
JRFactoryClass.java with Static method&lt;br /&gt;
&lt;br /&gt;
import java.util.ArrayList;&lt;br /&gt;
&lt;br /&gt;
import sdInterface.JRDataSource;&lt;br /&gt;
&lt;br /&gt;
public class JRFactoryClass {&lt;br /&gt;
&lt;br /&gt;
  public static ArrayList&lt;Employee&gt; createBeanCollection () {&lt;br /&gt;
     ArrayList&lt;Employee&gt; list = new ArrayList&lt;Employee&gt;();&lt;br /&gt;
     // Java bean populated with row data by iBATIS&lt;br /&gt;
     Employee msb = new Employee ();&lt;br /&gt;
     msb.setAgentId(&quot;2378&quot;);&lt;br /&gt;
     msb.setFirstName(&quot;Test&quot;);&lt;br /&gt;
     msb.setLastName(&quot;Sample&quot;);&lt;br /&gt;
     msb.setGender(&quot;Male&quot;);&lt;br /&gt;
&lt;br /&gt;
     list.add (msb);&lt;br /&gt;
     Employee msb1 = new Employee ();&lt;br /&gt;
     msb1.setAgentId(&quot;2373&quot;);&lt;br /&gt;
     msb1.setFirstName(&quot;Tested&quot;);&lt;br /&gt;
     msb1.setLastName(&quot;Sample0&quot;);&lt;br /&gt;
     msb1.setGender(&quot;Female&quot;);&lt;br /&gt;
&lt;br /&gt;
     list.add (msb1);&lt;br /&gt;
&lt;br /&gt;
     return list;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
         &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
create a JavaBeans set DataSource in Ireport to map the object with fieldName and static method.&lt;br /&gt;
Done.</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/6529404482743776826/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2010/05/simple-example-with-javabeansjava.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/6529404482743776826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/6529404482743776826'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2010/05/simple-example-with-javabeansjava.html' title='simple Example with Javabeans/Java Object / POJO DataSource for JasperReport'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-5293160766797829620</id><published>2010-05-14T09:49:00.000-07:00</published><updated>2010-05-20T07:55:56.672-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iReport"/><category scheme="http://www.blogger.com/atom/ns#" term="JasperReport"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>Jasper Reports Java Objects/Class Map Example</title><content type='html'>Hi All,&lt;br /&gt;
&lt;br /&gt;
Jasper Report Java Object Mapping example..&lt;br /&gt;
&lt;br /&gt;
Following link give most of it. though it is back dated..&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://ireport.sourceforge.net/cap3.html&quot;&gt;http://ireport.sourceforge.net/cap3.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are few books on IReport &amp;gt;&amp;gt; You might want to download from here.&lt;br /&gt;
&lt;a href=&quot;http://www.mediafire.com/file/d0y4muwezz2/guidetoireport.pdf&quot;&gt;Guide To IReport&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.amazon.com/Definitive-Guide-iReport-Experts-Voice/dp/1590599284?ie=UTF8&amp;amp;tag=flexf-20&amp;amp;link_code=bil&amp;amp;camp=213689&amp;amp;creative=392969&quot; imageanchor=&quot;1&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;The Definitive Guide to iReport (Expert&#39;s Voice)&quot; src=&quot;http://ws.amazon.com/widgets/q?MarketPlace=US&amp;amp;ServiceVersion=20070822&amp;amp;ID=AsinImage&amp;amp;WS=1&amp;amp;Format=_SL160_&amp;amp;ASIN=1590599284&amp;amp;tag=flexf-20&quot; /&gt;&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;http://www.assoc-amazon.com/e/ir?t=flexf-20&amp;amp;l=bil&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=1590599284&quot; style=&quot;border: medium none ! important; margin: 0px ! important; padding: 0px ! important;&quot; width=&quot;1&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Guide To &lt;a href=&quot;http://www.mediafire.com/file/m4omizg23wh/JasperForJava.pdf&quot;&gt;JasperReport for Java&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.amazon.com/JasperReports-Java-Developers-Reports-reporting/dp/1904811906?ie=UTF8&amp;amp;tag=flexf-20&amp;amp;link_code=bil&amp;amp;camp=213689&amp;amp;creative=392969&quot; imageanchor=&quot;1&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;JasperReports for Java Developers: Create, Design, Format and Export Reports with the world&#39;s most popular Java reporting library&quot; src=&quot;http://ws.amazon.com/widgets/q?MarketPlace=US&amp;amp;ServiceVersion=20070822&amp;amp;ID=AsinImage&amp;amp;WS=1&amp;amp;Format=_SL160_&amp;amp;ASIN=1904811906&amp;amp;tag=flexf-20&quot; /&gt;&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;http://www.assoc-amazon.com/e/ir?t=flexf-20&amp;amp;l=bil&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=1904811906&quot; style=&quot;border: medium none ! important; margin: 0px ! important; padding: 0px ! important;&quot; width=&quot;1&quot; /&gt;</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/5293160766797829620/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2010/05/jasper-reports-java-objectsclass-map.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/5293160766797829620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/5293160766797829620'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2010/05/jasper-reports-java-objectsclass-map.html' title='Jasper Reports Java Objects/Class Map Example'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-876323248724878733</id><published>2010-05-14T05:29:00.000-07:00</published><updated>2010-05-20T07:55:28.790-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fabrication"/><category scheme="http://www.blogger.com/atom/ns#" term="PureMVC"/><title type='text'>Multiton/singleton AS3 for Modules Flex / PureMvc / Fabrication</title><content type='html'>Hi Friends,&lt;br /&gt;
&lt;br /&gt;
Was wondering how to reference a singleton instance for particular Module in flex..&lt;br /&gt;
&lt;br /&gt;
after reading few blog and googling ..&lt;br /&gt;
&lt;br /&gt;
found a solution/rather built upon it .. thought this might be helpful to somebody…&lt;br /&gt;
&lt;br /&gt;
Most things in AS are built on Java so Looked at Java Mulitone &amp;gt;&amp;gt; and there is the solution…&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
import flash.utils.Dictionary;&lt;br /&gt;
&lt;br /&gt;
public class InternalModelLocator&lt;br /&gt;
{&lt;br /&gt;
private static var instances:Dictionary= new Dictionary();//Dictionary is treated as Java Hash Map&lt;br /&gt;
&lt;br /&gt;
public function InternalModelLocator()&lt;br /&gt;
{&lt;br /&gt;
/* Only One Instance created with GetInstanceMethod*/&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* module_uuid can be a String --------&lt;br /&gt;
In case of PureMVC &quot;multitonKey&quot; (this.multitonKey) can be used as unique key for multiple modules&lt;br /&gt;
*/&lt;br /&gt;
public static function getInstance(module_uuid:String):InternalModelLocator&lt;br /&gt;
{&lt;br /&gt;
var instance:InternalModelLocator = instances[module_uuid];&lt;br /&gt;
&lt;br /&gt;
if(instance == null)&lt;br /&gt;
{&lt;br /&gt;
instance = new InternalModelLocator();&lt;br /&gt;
instances[module_uuid] = instance;&lt;br /&gt;
}&lt;br /&gt;
return instance;&lt;br /&gt;
} &lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
Let me know if I miss some thing or needs more elboration….</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/876323248724878733/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2010/05/multitonsingleton-as3-for-modules-flex.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/876323248724878733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/876323248724878733'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2010/05/multitonsingleton-as3-for-modules-flex.html' title='Multiton/singleton AS3 for Modules Flex / PureMvc / Fabrication'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-3719847910849136244</id><published>2010-05-13T07:12:00.000-07:00</published><updated>2010-05-13T07:12:39.058-07:00</updated><title type='text'>Problem Downloading file  filerefrence flex</title><content type='html'>Hi Friends,&lt;br /&gt;
&lt;br /&gt;
strangly flex SDK some times work as if its dossed off.&lt;br /&gt;
&lt;br /&gt;
you cannot create a fileRefrence object within same function your calling download..&lt;br /&gt;
Strange &lt;br /&gt;
&lt;br /&gt;
you Cannot do following &lt;br /&gt;
&lt;br /&gt;
var fileRef:FileReference = new FileReference();&lt;br /&gt;
var urlRequest:URLRequest = new URLRequest(source);&lt;br /&gt;
fileRef.download(urlRequest);&lt;br /&gt;
&lt;br /&gt;
You can do following&lt;br /&gt;
&lt;br /&gt;
Create dummy filerefrence object. and then use in Function.&lt;br /&gt;
&lt;br /&gt;
Ranjit</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/3719847910849136244/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2010/05/problem-downloading-file-filerefrence.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/3719847910849136244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/3719847910849136244'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2010/05/problem-downloading-file-filerefrence.html' title='Problem Downloading file  filerefrence flex'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-2027018645707350202</id><published>2010-05-13T04:42:00.000-07:00</published><updated>2010-05-14T03:49:46.434-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Books"/><title type='text'>Looking online Free book On Any computer Topic</title><content type='html'>Hi All,&lt;br /&gt;
&lt;br /&gt;
If your looking online book to download basically in any topic in computers,&lt;br /&gt;
&lt;br /&gt;
You should visit &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://pdfchm.com&quot;&gt;PDFCHM&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I have been following them for long and thought it might help book lovers.&lt;br /&gt;
&lt;br /&gt;
It will find all your question for &quot;How does it work&quot;.&lt;br /&gt;
&lt;br /&gt;
Ranjit&lt;br /&gt;
&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-2816084601773669&quot;;
/* Flex Half Banner */
google_ad_slot = &quot;9685948358&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/2027018645707350202/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2010/05/looking-online-free-book-on-any.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/2027018645707350202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/2027018645707350202'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2010/05/looking-online-free-book-on-any.html' title='Looking online Free book On Any computer Topic'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-3884794842748511875</id><published>2010-05-12T04:09:00.000-07:00</published><updated>2010-05-20T07:56:31.000-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fabrication"/><category scheme="http://www.blogger.com/atom/ns#" term="PureMVC"/><title type='text'>Create/Register Mediator for Runtime created UIComponent Like adding into Pop up - PureMVC</title><content type='html'>Hi Friends,&lt;br /&gt;
&lt;br /&gt;
Here I am again Puting accross point where I thought for second. &lt;br /&gt;
The solution for registering mediator for component in popup created at run time is below.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;reportPopup = PopUpManager.createPopUp(this.payrollModule,PdfReportFrame,true) as PdfReportFrame;&lt;br /&gt;
registerMediator(new PdfReportFrameMediator(reportPopup)); //this without resolving component on parent&lt;br /&gt;
PopUpManager.centerPopUp(reportPopup);&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Every thing else goes same way.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ranjit</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/3884794842748511875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2010/05/createregister-mediator-for-runtime.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/3884794842748511875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/3884794842748511875'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2010/05/createregister-mediator-for-runtime.html' title='Create/Register Mediator for Runtime created UIComponent Like adding into Pop up - PureMVC'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-3335328351175701916</id><published>2010-05-12T02:47:00.000-07:00</published><updated>2010-05-13T03:12:01.407-07:00</updated><title type='text'>Type 1086: Syntax error: expecting semicolon before minus. Flex Problem - IFRAME expecting semicolon before minus</title><content type='html'>Flex Builder is throwing an &quot;expecting semicolon before minus&quot; error on the XML declaration!!&lt;br /&gt;
&lt;br /&gt;
This is due to Package Name have &quot;-&quot; symbol. Would be great if Flex builder show approriate file.&lt;br /&gt;
&lt;br /&gt;
:-) Helped me. Hope it helps some body.&lt;br /&gt;
&lt;br /&gt;
Ranjit</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/3335328351175701916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2010/05/type-1086-syntax-error-expecting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/3335328351175701916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/3335328351175701916'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2010/05/type-1086-syntax-error-expecting.html' title='Type 1086: Syntax error: expecting semicolon before minus. Flex Problem - IFRAME expecting semicolon before minus'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-8929729478989683274</id><published>2010-05-11T02:50:00.001-07:00</published><updated>2010-05-13T03:12:23.659-07:00</updated><title type='text'>Flex Java Springs BlazeDS integration</title><content type='html'>&lt;a title=&quot;View Flex Java Springs Overview on Scribd&quot; href=&quot;http://www.scribd.com/doc/31190899/Flex-Java-Springs-Overview&quot; style=&quot;margin: 12px auto 6px auto; font-family: Helvetica,Arial,Sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; display: block; text-decoration: underline;&quot;&gt;Flex Java Springs Overview&lt;/a&gt; &lt;object id=&quot;doc_374591284942399&quot; name=&quot;doc_374591284942399&quot; height=&quot;600&quot; width=&quot;100%&quot; type=&quot;application/x-shockwave-flash&quot; data=&quot;http://d1.scribdassets.com/ScribdViewer.swf&quot; style=&quot;outline:none;&quot; &gt;  &lt;param name=&quot;movie&quot; value=&quot;http://d1.scribdassets.com/ScribdViewer.swf&quot;&gt;&lt;param name=&quot;wmode&quot; value=&quot;opaque&quot;&gt;&lt;param name=&quot;bgcolor&quot; value=&quot;#ffffff&quot;&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;param name=&quot;allowScriptAccess&quot; value=&quot;always&quot;&gt;&lt;param name=&quot;FlashVars&quot; value=&quot;document_id=31190899&amp;access_key=key-6ai5rzqp8ajwdovwc46&amp;page=1&amp;viewMode=slideshow&quot;&gt;&lt;embed id=&quot;doc_374591284942399&quot; name=&quot;doc_374591284942399&quot; src=&quot;http://d1.scribdassets.com/ScribdViewer.swf?document_id=31190899&amp;access_key=key-6ai5rzqp8ajwdovwc46&amp;page=1&amp;viewMode=slideshow&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; height=&quot;600&quot; width=&quot;100%&quot; wmode=&quot;opaque&quot; bgcolor=&quot;#ffffff&quot;&gt;&lt;/embed&gt;  &lt;/object&gt;</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/8929729478989683274/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2010/05/flex-java-springs-blazeds-integration.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/8929729478989683274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/8929729478989683274'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2010/05/flex-java-springs-blazeds-integration.html' title='Flex Java Springs BlazeDS integration'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-5305503769279326914</id><published>2010-05-11T01:43:00.000-07:00</published><updated>2010-05-13T03:12:36.697-07:00</updated><title type='text'>spell checker in flex 3 / Flash / Action Script 3</title><content type='html'>Hi All,&lt;br /&gt;
&lt;br /&gt;
Had tried using many spell checkers for Flash UIComponents but none of them work.&lt;br /&gt;
&lt;br /&gt;
Fortunatly there was one it self from Adobe Open Source (Adobe Labs) &lt;a href=&quot;http://labs.adobe.com/technologies/squiggly/&quot;&gt;Squiggly&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
Which does all which is needed. but there are some loop holes and you have to handle garbage collection your own way or else client system will stole, take 50% of CPU memory..&lt;br /&gt;
&lt;br /&gt;
So if your useing squigly for large project which involve Runtime genration of UI component make sure it has been disabled after use.&lt;br /&gt;
&lt;br /&gt;
Hope this helps.&lt;br /&gt;
&lt;br /&gt;
Ranjit</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/5305503769279326914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2010/05/spell-checker-in-flex-3-flash-action.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/5305503769279326914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/5305503769279326914'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2010/05/spell-checker-in-flex-3-flash-action.html' title='spell checker in flex 3 / Flash / Action Script 3'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-7172827121022358635</id><published>2010-05-10T07:30:00.000-07:00</published><updated>2010-05-13T03:12:45.563-07:00</updated><title type='text'>GraniteDS</title><content type='html'>Worth looking at as a alternative for LifecycleDS.&lt;br /&gt;
&lt;br /&gt;
GraniteDS</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/7172827121022358635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2010/05/graniteds.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/7172827121022358635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/7172827121022358635'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2010/05/graniteds.html' title='GraniteDS'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-2817918633486856497</id><published>2010-05-10T05:48:00.001-07:00</published><updated>2010-05-10T05:48:17.869-07:00</updated><title type='text'>flash 10 security issue filereference workaround example</title><content type='html'>Upload and download require user interaction&lt;br /&gt;In Flash Player 9, ActionScript could perform uploads and downloads at&lt;br /&gt;any time. With Flash Player 10, the FileReference.browse and&lt;br /&gt;FileReference.download operations may be initiated only through&lt;br /&gt;ActionScript that originates from user interaction. This includes&lt;br /&gt;actions such as clicking the mouse or pressing the keyboard.&lt;br /&gt;What is impacted?&lt;br /&gt;This change can potentially affect any SWF file that makes use of&lt;br /&gt;Filereference.browse or FileReference.download. This change affects&lt;br /&gt;SWF files of all versions played in Flash Player 10 beta and later.&lt;br /&gt;This change affects all non-app content in Adobe AIR (however, AIR app&lt;br /&gt;content itself is unaffected).&lt;br /&gt;What do I need to do?&lt;br /&gt;Any existing content that invokes a browse dialog box using&lt;br /&gt;Filereference.browse or FileReference.download outside of an event&lt;br /&gt;triggered by user interaction will need to be updated. The dialog box&lt;br /&gt;will now have to be invoked through a button, keyboard shortcut, or&lt;br /&gt;some other event initiated by the user.&lt;br /&gt;&lt;br /&gt;Solution&lt;br /&gt;&lt;br /&gt;try{&lt;br /&gt;var urlReq:URLRequest = new URLRequest(“http://www.myUrl.com/file”);&lt;br /&gt;fileReference.download(urlReq);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;catch(error:Error)&lt;br /&gt;{&lt;br /&gt;Flash10Workround();&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;WorkAround Method :&lt;br /&gt;&lt;br /&gt;var popup:Somepopupcustomobject;&lt;br /&gt;&lt;br /&gt;private function Flash10Workround():void&lt;br /&gt;{&lt;br /&gt;popup= new Somepopupcustomobject();&lt;br /&gt;PopUpManager.addPopUp(popup,this,true);&lt;br /&gt;PopUpManager.centerPopUp(popup);&lt;br /&gt;popup.LABEL=”File is Ready to Exported, Please Click Ok to continue”;&lt;br /&gt;popup.submitSub.addEventListener(MouseEvent.CLICK, closePopUp);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;private function closePopUp(e:MouseEvent):void&lt;br /&gt;{&lt;br /&gt;var urlReq:URLRequest = new URLRequest(“Ur Link here”);&lt;br /&gt;fileReference.download(urlReq);&lt;br /&gt;PopUpManager.removePopUp(Object218PopUp);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Ranjit Sail</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/2817918633486856497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2010/05/flash-10-security-issue-filereference.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/2817918633486856497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/2817918633486856497'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2010/05/flash-10-security-issue-filereference.html' title='flash 10 security issue filereference workaround example'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-8339192528978446450</id><published>2010-05-10T05:47:00.001-07:00</published><updated>2010-05-10T05:47:24.300-07:00</updated><title type='text'>chm To .pdf Converter</title><content type='html'>Well I Was thinking of reading mysql 5.0 certification Guide and came across the this .chm extension which not user friendly i feel , so was looking out for ways of puting it in pdf format, well you google it out chmtopdf pilot Click Here was there, it adds some text on top of the page but its fine till u want to have better user experiance.&lt;br /&gt;&lt;br /&gt;well Let me know if you know better tool for the same.</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/8339192528978446450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2010/05/chm-to-pdf-converter.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/8339192528978446450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/8339192528978446450'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2010/05/chm-to-pdf-converter.html' title='chm To .pdf Converter'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-8805846974935026178</id><published>2010-05-10T05:45:00.000-07:00</published><updated>2010-05-10T05:46:40.851-07:00</updated><title type='text'>Mysql Timestamp a useful Data type</title><content type='html'>Till now we were using DateTime Datatpe but latly found that there is some thing better for tracking user updation and insertion tracking, say we use for security purpose time crate and time update there Timestamp can be best used as it automatically updates column without mentioning it , following is the example&lt;br /&gt;&lt;br /&gt;mysql&gt; CREATE TABLE ts_test1 (&lt;br /&gt;&lt;br /&gt;-&gt; ts1 TIMESTAMP,&lt;br /&gt;&lt;br /&gt;-&gt; ts2 TIMESTAMP,&lt;br /&gt;&lt;br /&gt;-&gt; data CHAR(30)&lt;br /&gt;&lt;br /&gt;-&gt; );&lt;br /&gt;&lt;br /&gt;Query OK, 0 rows affected (0.00 sec)&lt;br /&gt;&lt;br /&gt;mysql&gt; DESCRIBE ts_test1;&lt;br /&gt;&lt;br /&gt;+——-+———–+——+—–+———————+——-+&lt;br /&gt;&lt;br /&gt;| Field | Type | Null | Key | Default | Extra |&lt;br /&gt;&lt;br /&gt;+——-+———–+——+—–+———————+——-+&lt;br /&gt;&lt;br /&gt;| ts1 | timestamp | YES | | CURRENT_TIMESTAMP | |&lt;br /&gt;&lt;br /&gt;| ts2 | timestamp | YES | | 0000-00-00 00:00:00 | |&lt;br /&gt;&lt;br /&gt;| data | char(30) | YES | | NULL | |&lt;br /&gt;&lt;br /&gt;+——-+———–+——+—–+———————+——-+&lt;br /&gt;&lt;br /&gt;3 rows in set (0.01 sec)&lt;br /&gt;&lt;br /&gt;mysql&gt; INSERT INTO ts_test1 (data) VALUES (‘original_value’);&lt;br /&gt;&lt;br /&gt;Query OK, 1 row affected (0.00 sec)&lt;br /&gt;&lt;br /&gt;mysql&gt; SELECT * FROM ts_test1;&lt;br /&gt;&lt;br /&gt;+———————+———————+—————-+&lt;br /&gt;&lt;br /&gt;| ts1 | ts2 | data |&lt;br /&gt;&lt;br /&gt;+———————+———————+—————-+&lt;br /&gt;&lt;br /&gt;| 2005-01-04 14:45:51 | 0000-00-00 00:00:00 | original_value |&lt;br /&gt;&lt;br /&gt;+———————+———————+—————-+&lt;br /&gt;&lt;br /&gt;1 row in set (0.00 sec)&lt;br /&gt;&lt;br /&gt;mysql&gt; . . . time passes . . .&lt;br /&gt;&lt;br /&gt;mysql&gt; UPDATE ts_test1 SET data=’updated_value’;&lt;br /&gt;&lt;br /&gt;Query OK, 1 row affected (0.00 sec)&lt;br /&gt;&lt;br /&gt;Rows matched: 1 Changed: 1 Warnings: 0&lt;br /&gt;&lt;br /&gt;mysql&gt; SELECT * FROM ts_test1;&lt;br /&gt;&lt;br /&gt;+———————+———————+—————+&lt;br /&gt;&lt;br /&gt;| ts1 | ts2 | data |&lt;br /&gt;&lt;br /&gt;+———————+———————+—————+&lt;br /&gt;&lt;br /&gt;| 2005-01-04 14:46:17 | 0000-00-00 00:00:00 | updated_value |&lt;br /&gt;&lt;br /&gt;+———————+———————+—————+&lt;br /&gt;&lt;br /&gt;1 row in set (0.00 sec)&lt;br /&gt;&lt;br /&gt;The same behavior occurs if you specify both DEFAULT CURRENT_TIMESTAMP and ON UPDATE CURRENT_TIMESTAMP explicitly for the first TIMESTAMP column. It is also possible to use just one of the attributes. The following example uses DEFAULT CURRENT_TIMESTAMP, but omits ON UPDATE CURRENT_TIMESTAMP. The result is that the column is initialized automatically, but not updated when the record is updated:&lt;br /&gt;&lt;br /&gt;mysql&gt; CREATE TABLE ts_test2 (&lt;br /&gt;&lt;br /&gt;-&gt; created_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,&lt;br /&gt;&lt;br /&gt;-&gt; data CHAR(30)&lt;br /&gt;&lt;br /&gt;-&gt; );&lt;br /&gt;&lt;br /&gt;Query OK, 0 rows affected (0.00 sec)&lt;br /&gt;&lt;br /&gt;mysql&gt; INSERT INTO ts_test2 (data) VALUES (‘original_value’);&lt;br /&gt;&lt;br /&gt;Query OK, 1 row affected (0.01 sec)&lt;br /&gt;&lt;br /&gt;mysql&gt; SELECT * FROM ts_test2;&lt;br /&gt;&lt;br /&gt;+———————+—————-+&lt;br /&gt;&lt;br /&gt;| created_time | data |&lt;br /&gt;&lt;br /&gt;+———————+—————-+&lt;br /&gt;&lt;br /&gt;| 2005-01-04 14:46:39 | original_value |&lt;br /&gt;&lt;br /&gt;+———————+—————-+&lt;br /&gt;&lt;br /&gt;1 row in set (0.00 sec)&lt;br /&gt;&lt;br /&gt;mysql&gt; . . . time passes . . .&lt;br /&gt;&lt;br /&gt;mysql&gt; UPDATE ts_test2 SET data=’updated_value’;&lt;br /&gt;&lt;br /&gt;Query OK, 1 row affected (0.00 sec)&lt;br /&gt;&lt;br /&gt;Rows matched: 1 Changed: 1 Warnings: 0&lt;br /&gt;&lt;br /&gt;mysql&gt; SELECT * FROM ts_test2;&lt;br /&gt;&lt;br /&gt;+———————+—————+&lt;br /&gt;&lt;br /&gt;| created_time | data |&lt;br /&gt;&lt;br /&gt;+———————+—————+&lt;br /&gt;&lt;br /&gt;| 2005-01-04 14:46:39 | updated_value |&lt;br /&gt;&lt;br /&gt;+———————+—————+&lt;br /&gt;&lt;br /&gt;1 row in set (0.00 sec)&lt;br /&gt;&lt;br /&gt;Note that even though the record is updated, the created_time column is not. In versions of MySQL Server before 4.1, the UPDATE statement would have caused the created_time column to be updated as well.&lt;br /&gt;&lt;br /&gt;The next example demonstrates how to create a TIMESTAMP column that is not set to the current timestamp when the record is created, but only when it is updated. In this case, the column definition includes ON UPDATE CURRENT_TIMESTAMP but omits DEFAULT CURRENT_TIMESTAMP:&lt;br /&gt;&lt;br /&gt;mysql&gt; CREATE TABLE ts_test3 (&lt;br /&gt;&lt;br /&gt;-&gt; updated_time TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,&lt;br /&gt;&lt;br /&gt;-&gt; data CHAR(30)&lt;br /&gt;&lt;br /&gt;-&gt; );&lt;br /&gt;&lt;br /&gt;Query OK, 0 rows affected (0.01 sec)&lt;br /&gt;&lt;br /&gt;mysql&gt; INSERT INTO ts_test3 (data) VALUES (‘original_value’);&lt;br /&gt;&lt;br /&gt;Query OK, 1 row affected (0.00 sec)&lt;br /&gt;&lt;br /&gt;mysql&gt; SELECT * FROM ts_test3;&lt;br /&gt;&lt;br /&gt;+———————+—————-+&lt;br /&gt;&lt;br /&gt;| updated_time | data |&lt;br /&gt;&lt;br /&gt;+———————+—————-+&lt;br /&gt;&lt;br /&gt;| 0000-00-00 00:00:00 | original_value |&lt;br /&gt;&lt;br /&gt;+———————+—————-+&lt;br /&gt;&lt;br /&gt;1 row in set (0.00 sec)&lt;br /&gt;&lt;br /&gt;mysql&gt; UPDATE ts_test3 SET data=’updated_value’;&lt;br /&gt;&lt;br /&gt;Query OK, 1 row affected (0.00 sec)&lt;br /&gt;&lt;br /&gt;Rows matched: 1 Changed: 1 Warnings: 0&lt;br /&gt;&lt;br /&gt;mysql&gt; SELECT * FROM ts_test3;&lt;br /&gt;&lt;br /&gt;+———————+—————+&lt;br /&gt;&lt;br /&gt;| updated_time | data |&lt;br /&gt;&lt;br /&gt;+———————+—————+&lt;br /&gt;&lt;br /&gt;| 2005-01-04 14:47:10 | updated_value |&lt;br /&gt;&lt;br /&gt;+———————+—————+&lt;br /&gt;&lt;br /&gt;1 row in set (0.00 sec)&lt;br /&gt;&lt;br /&gt;Note that you can choose to use CURRENT_TIMESTAMP with neither, either, or both of the attributes for a single TIMESTAMP column, but you cannot use DEFAULT CURRENT_TIMESTAMP with one column and ON UPDATE CURRENT_TIMESTAMP with another:&lt;br /&gt;&lt;br /&gt;mysql&gt; CREATE TABLE ts_test4 (&lt;br /&gt;&lt;br /&gt;-&gt; created TIMESTAMP DEFAULT CURRENT_TIMESTAMP,&lt;br /&gt;&lt;br /&gt;-&gt; updated TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,&lt;br /&gt;&lt;br /&gt;-&gt; data CHAR(30)&lt;br /&gt;&lt;br /&gt;-&gt; );&lt;br /&gt;&lt;br /&gt;ERROR 1293 (HY000): Incorrect table definition; there can be&lt;br /&gt;&lt;br /&gt;only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT&lt;br /&gt;&lt;br /&gt;or ON UPDATE clause&lt;br /&gt;&lt;br /&gt;Nevertheless, you can achieve the effect of having one column with the creation time and another with the time of the last update. To do this, create two TIMESTAMP columns. Define the column that should hold the creation time with DEFAULT 0 and explicitly set it to NULL whenever you INSERT a new record. Define the column that should hold the updated time with DEFAULT CURRENT_TIMESTAMP:&lt;br /&gt;&lt;br /&gt;mysql&gt; CREATE TABLE ts_test5 (&lt;br /&gt;&lt;br /&gt;-&gt; created TIMESTAMP DEFAULT 0,&lt;br /&gt;&lt;br /&gt;-&gt; updated TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,&lt;br /&gt;&lt;br /&gt;-&gt; data CHAR(30)&lt;br /&gt;&lt;br /&gt;-&gt; );&lt;br /&gt;&lt;br /&gt;Query OK, 0 rows affected (0.01 sec)&lt;br /&gt;&lt;br /&gt;mysql&gt; INSERT INTO ts_test5 (created, data)&lt;br /&gt;&lt;br /&gt;-&gt; VALUES (NULL, ‘original_value’);&lt;br /&gt;&lt;br /&gt;Query OK, 1 row affected (0.00 sec)&lt;br /&gt;&lt;br /&gt;mysql&gt; SELECT * FROM ts_test5;&lt;br /&gt;&lt;br /&gt;+———————+———————+—————-+&lt;br /&gt;&lt;br /&gt;| created | updated | data |&lt;br /&gt;&lt;br /&gt;+———————+———————+—————-+&lt;br /&gt;&lt;br /&gt;| 2005-01-04 14:47:39 | 0000-00-00 00:00:00 | original_value |&lt;br /&gt;&lt;br /&gt;+———————+———————+—————-+&lt;br /&gt;&lt;br /&gt;1 row in set (0.00 sec)&lt;br /&gt;&lt;br /&gt;mysql&gt; . . . time passes . . .&lt;br /&gt;&lt;br /&gt;mysql&gt; UPDATE ts_test5 SET data=’updated_value’;&lt;br /&gt;&lt;br /&gt;Query OK, 1 row affected (0.00 sec)&lt;br /&gt;&lt;br /&gt;Rows matched: 1 Changed: 1 Warnings: 0&lt;br /&gt;&lt;br /&gt;mysql&gt; SELECT * FROM ts_test5;&lt;br /&gt;&lt;br /&gt;+———————+———————+—————+&lt;br /&gt;&lt;br /&gt;| created | updated | data |&lt;br /&gt;&lt;br /&gt;+———————+———————+—————+&lt;br /&gt;&lt;br /&gt;| 2005-01-04 14:47:39 | 2005-01-04 14:47:52 | updated_value |&lt;br /&gt;&lt;br /&gt;+———————+———————+—————+&lt;br /&gt;&lt;br /&gt;1 row in set (0.00 sec)&lt;br /&gt;&lt;br /&gt;By default, MySQL defines TIMESTAMP columns as NOT NULL and stores the current timestamp in the column if you assign it a value of NULL. If you want to be able to store NULL in a TIMESTAMP column, you must explicitly write the column definition to allow NULL when creating or altering the column:</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/8805846974935026178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2010/05/mysql-timestamp-useful-data-type.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/8805846974935026178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/8805846974935026178'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2010/05/mysql-timestamp-useful-data-type.html' title='Mysql Timestamp a useful Data type'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-8427812823528048052</id><published>2010-05-10T05:42:00.002-07:00</published><updated>2010-05-10T05:44:23.827-07:00</updated><title type='text'>Change Color, weight , font size of tree node</title><content type='html'>Write a Actionscript class which extends “TreeItemRenderer” as below, and use this class in ur tree tag as&lt;br /&gt;&lt;br /&gt;&lt;mx:Tree id=”tree” itemRenderer=”MyTreeItemRenderer ” /&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Actionscript class&lt;br /&gt;package &lt;br /&gt;{&lt;br /&gt; import mx.controls.treeClasses.*;&lt;br /&gt; import mx.collections.*;&lt;br /&gt;public class MyTreeItemRenderer extends TreeItemRenderer&lt;br /&gt;          {&lt;br /&gt;                     &lt;br /&gt;                public function MyTreeItemRenderer() &lt;br /&gt;               {&lt;br /&gt;                         super();&lt;br /&gt;                        mouseEnabled = false;&lt;br /&gt;                }&lt;br /&gt;               override public function set data(value:Object):void&lt;br /&gt;                 {&lt;br /&gt;                        super.data = value;&lt;br /&gt;                        if(TreeListData (super.listData).hasChildren)&lt;br /&gt;                     {&lt;br /&gt;                           setStyle(“color”, 0xff0000);&lt;br /&gt;                              setStyle(“fontWeight”, ‘bold’);&lt;br /&gt;                      }&lt;br /&gt;                       else&lt;br /&gt;                      {&lt;br /&gt;                           setStyle(“color”, 0×000000);&lt;br /&gt;                          setStyle(“fontWeight”, ‘normal’);&lt;br /&gt;&lt;br /&gt;                        }&lt;br /&gt;             }&lt;br /&gt;&lt;br /&gt;             override protected function updateDisplayList(unscaledWidth:Number, &lt;br /&gt;unscaledHeight:Number):void&lt;br /&gt;             {&lt;br /&gt;                  super.updateDisplayList(unscaledWidth, unscaledHeight);&lt;br /&gt;                    if(super.data)&lt;br /&gt;                    {&lt;br /&gt;                        if(TreeListData(super.listData).hasChildren)&lt;br /&gt;                       {&lt;br /&gt;                                var tmp:XMLList = new XMLList(TreeListData(super.listData).node);&lt;br /&gt;                                var myStr:int =tmp[0].children().length();&lt;br /&gt;                                super.label.text = TreeListData(super.listData).text + “(” + myStr + “)”;&lt;br /&gt;                          }&lt;br /&gt;&lt;br /&gt;                }&lt;br /&gt;&lt;br /&gt;          }&lt;br /&gt;      }&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Ranjit Sail</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/8427812823528048052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2010/05/change-color-weight-font-size-of-tree.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/8427812823528048052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/8427812823528048052'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2010/05/change-color-weight-font-size-of-tree.html' title='Change Color, weight , font size of tree node'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-622966894138953770</id><published>2010-05-10T05:42:00.001-07:00</published><updated>2010-05-10T05:42:26.593-07:00</updated><title type='text'>focus textInput In flex application</title><content type='html'>Here is simple solution:&lt;br /&gt;&lt;br /&gt;Goto your project &gt;&gt; html-template folder &gt;&gt; index.template.html  &gt;&gt;&lt;br /&gt;open it.&lt;br /&gt;&lt;br /&gt;Now edit JavaScript in that as follow:-&lt;br /&gt;&lt;br /&gt;PUT THIS : document.DocumentName.focus(); ///Document name is your&lt;br /&gt;flex Ex: – main.mxml file just give main&lt;br /&gt;&lt;br /&gt;THIS BECAUSE SETFOCUS() JUST FOCUSES FLASH PLAYER NOT BROWSER TO SET&lt;br /&gt;FOCUS WE CAN ADD ABOVE SINGAL LINE IN FOLLOWING CODE AS i DID.&lt;br /&gt;&lt;br /&gt;&lt;script language=”JavaScript” type=”text/javascript”&gt;&lt;br /&gt;&lt;!–&lt;br /&gt;// Version check for the Flash Player that has the ability to start&lt;br /&gt;Player Product Install (6.0r65)&lt;br /&gt;var hasProductInstall = DetectFlashVer(6, 0, 65);&lt;br /&gt;&lt;br /&gt;// Version check based upon the values defined in globals&lt;br /&gt;var hasRequestedVersion = DetectFlashVer(requiredMajorVersion,&lt;br /&gt;requiredMinorVersion, requiredRevision);&lt;br /&gt;&lt;br /&gt;if ( hasProductInstall &amp;&amp; !hasRequestedVersion ) {&lt;br /&gt;        // DO NOT MODIFY THE FOLLOWING FOUR LINES&lt;br /&gt;        // Location visited after installation is complete if installation is&lt;br /&gt;required&lt;br /&gt;        var MMPlayerType = (isIE == true) ? “ActiveX” : “PlugIn”;&lt;br /&gt;        var MMredirectURL = window.location;&lt;br /&gt;    document.title = document.title.slice(0, 47) + ” – Flash Player&lt;br /&gt;Installation”;&lt;br /&gt;    var MMdoctitle = document.title;&lt;br /&gt;&lt;br /&gt;        AC_FL_RunContent(&lt;br /&gt;                “src”, “playerProductInstall”,&lt;br /&gt;                “FlashVars”, “MMredirectURL=”+MMredirectURL&lt;br /&gt;+’&amp;MMplayerType=’+MMPlayerType+’&amp;MMdoctitle=’+MMdoctitle+”&quot;,&lt;br /&gt;                “width”, “${width}”,&lt;br /&gt;                “height”, “${height}”,&lt;br /&gt;                “align”, “middle”,&lt;br /&gt;                “id”, “${application}”,&lt;br /&gt;                “quality”, “high”,&lt;br /&gt;                “bgcolor”, “${bgcolor}”,&lt;br /&gt;                “name”, “${application}”,&lt;br /&gt;                “allowScriptAccess”,”sameDomain”,&lt;br /&gt;                “type”, “application/x-shockwave-flash”,&lt;br /&gt;                “pluginspage”, “http://www.adobe.com/go/getflashplayer“&lt;br /&gt;        );&lt;br /&gt;} else if (hasRequestedVersion) {&lt;br /&gt;&lt;br /&gt;        // if we’ve detected an acceptable version&lt;br /&gt;        // embed the Flash Content SWF when all tests are passed&lt;br /&gt;        AC_FL_RunContent(&lt;br /&gt;                        “src”, “${swf}”,&lt;br /&gt;                        “width”, “${width}”,&lt;br /&gt;                        “height”, “${height}”,&lt;br /&gt;                        “align”, “middle”,&lt;br /&gt;                        “id”, “${application}”,&lt;br /&gt;                        “quality”, “high”,&lt;br /&gt;                        “bgcolor”, “${bgcolor}”,&lt;br /&gt;                        “name”, “${application}”,&lt;br /&gt;                        “allowScriptAccess”,”sameDomain”,&lt;br /&gt;                        “type”, “application/x-shockwave-flash”,&lt;br /&gt;                        “pluginspage”, “http://www.adobe.com/go/getflashplayer“&lt;br /&gt;        );&lt;br /&gt;document.DocumentName.focus(); ///Document name is your flex Ex: -&lt;br /&gt;main.mxml file just give main&lt;br /&gt;  } else {  // flash is too old or we can’t detect the plugin&lt;br /&gt;    var alternateContent = ‘Alternate HTML content should be placed&lt;br /&gt;here. ‘&lt;br /&gt;        + ‘This content requires the Adobe Flash Player. ‘&lt;br /&gt;        + ‘&lt;a href=http://www.adobe.com/go/getflash/&gt;Get Flash&lt;/a&gt;’;&lt;br /&gt;    document.write(alternateContent);  // insert non-flash content&lt;br /&gt;  }&lt;br /&gt;// –&gt;&lt;br /&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/622966894138953770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2010/05/focus-textinput-in-flex-application.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/622966894138953770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/622966894138953770'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2010/05/focus-textinput-in-flex-application.html' title='focus textInput In flex application'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-3786882309158446067</id><published>2010-05-10T05:40:00.000-07:00</published><updated>2010-05-10T05:41:36.669-07:00</updated><title type='text'>Tour De Flex</title><content type='html'>Tour de Flex is a desktop application for exploring Flex capabilities and resources, including the core Flex components, Adobe AIR and data integration, as well as a variety of third-party components, effects, skins, and more.&lt;br /&gt;&lt;br /&gt;Download is approx 50MB&lt;br /&gt;Manual install – download the AIR file directory from here&lt;br /&gt;Tour de Flex runs on Adobe AIR on Windows, Mac OS and Linux&lt;br /&gt;User Guide (PDF)&lt;br /&gt;&lt;br /&gt;Tour de Flex has three primary purposes:&lt;br /&gt;&lt;br /&gt;Provide non-Flex developers with a good overview of what is possible in Flex in a “look and see” environment&lt;br /&gt;&lt;br /&gt;Provide Flex developers with an illustrated reference tool&lt;br /&gt;&lt;br /&gt;Provide commercial and non-commercial Flex developers a place to showcase their work&lt;br /&gt;&lt;br /&gt;Tour de Flex includes over 200 runnable samples, each with source code, links to documentation, and other details. Topics include the Flex Core Components, Flex Data Access, AIR Desktop Capabilities, Cloud APIs, Data Visualization, Mapping, and a growing collection of custom components, effects, skins, etc.&lt;br /&gt;&lt;br /&gt;——————————————————————————–&lt;br /&gt;&lt;br /&gt;Tour de Flex Eclipse Plugin&lt;br /&gt;&lt;br /&gt;An Eclipse plugin is available that provides a search interface to the 200+ samples in Tour de Flex. Search by component name, tag or author and double-click any item in the results to immediately see the component in Tour de Flex.&lt;br /&gt;&lt;br /&gt;To install the plugin, add the following URL to your Eclipse software update sites: http://tourdeflex.adobe.com/eclipse. Once installed, a new Tour de Flex view is available to add. The plugin has been tested with Eclipse 3.4 and with Flex Builder 3.x.&lt;br /&gt;&lt;br /&gt;——————————————————————————–&lt;br /&gt;&lt;br /&gt;Showcasing your Flex work in Tour de Flex&lt;br /&gt;&lt;br /&gt;One of the objectives of Tour de Flex is to provide a place for developers to showcase their work. We are always looking for new samples to add.&lt;br /&gt;&lt;br /&gt;To have your work included in Tour de Flex, follow these steps:&lt;br /&gt;&lt;br /&gt;Create demos of your work that look good within the Tour de Flex size constraints (663×246 when not expanded)&lt;br /&gt;&lt;br /&gt;Arrange to have all assets hosted&lt;br /&gt;&lt;br /&gt;Convert the source code to a color HTML document. You can use Flex Builder’s “View Source” feature to generate the HTML files.&lt;br /&gt;&lt;br /&gt;Complete the sample submission form.&lt;br /&gt;&lt;br /&gt;——————————————————————————–&lt;br /&gt;&lt;br /&gt;Support&lt;br /&gt;&lt;br /&gt;If you have suggestions for Tour de Flex or wish to report a bug, please post to the Flex Forum at http://www.adobe.com/go/flex_forums&lt;br /&gt;&lt;br /&gt;——————————————————————————–&lt;br /&gt;&lt;br /&gt;Share Tour de Flex!&lt;br /&gt;&lt;br /&gt;You can help spread the word about Tour de Flex by using the following HTML to embed the install badge in your website: Click here</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/3786882309158446067/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2010/05/tour-de-flex.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/3786882309158446067'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/3786882309158446067'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2010/05/tour-de-flex.html' title='Tour De Flex'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-2959520635678018247</id><published>2010-05-10T05:39:00.000-07:00</published><updated>2010-05-10T05:40:11.405-07:00</updated><title type='text'>American Center Logo Design Competition</title><content type='html'>Contest Description&lt;br /&gt;The American Centers in India are looking for a new logo! Put your graphic skills to work and win a design fellowship to the United States.&lt;br /&gt;&lt;br /&gt;We seek the country’s creative community to help us develop a fresh look, which will be widely displayed on all American Center materials. American Centers are the public face of the U.S. Embassy in India. The American Centers in New Delhi and Kolkata, and the U.S. Consulates General in Chennai, Mumbai and Hyderabad support activities that inform the Indian public about American policies, society and values. These activities range from speaking tours and musical concerts, to school outreach, workshops and conferences, English programs, and exhibits. Please review the links above to learn more about the range of our activities.&lt;br /&gt;&lt;br /&gt;The logo must be recognizable, dramatic and reflect the presence of the United States in India.&lt;br /&gt;&lt;br /&gt;Eligibility&lt;br /&gt;Open to Indian nationals age 18 and over.&lt;br /&gt;Employees of the U.S. Government and their immediate family members are not eligible.&lt;br /&gt;Contest Rules&lt;br /&gt;The logo must be the original work of the designer. The designer must certify that the logo does not violate any copyright.&lt;br /&gt;Submissions of qualifying nature will become the property of the U.S. Embassy, care of the American Center. For any submission the Center takes ownership of, the Center retains the right to change the designs to better fit its needs.&lt;br /&gt;No limit on number of entries per person. Group entries are acceptable, but prizes will only be awarded to individuals.&lt;br /&gt;Logo Guidelines&lt;br /&gt;The logo must have a strong symbolic component such that is recognizable by itself without the words “American Center” beneath it.&lt;br /&gt;The logo must remind the viewer that the American Center is part of the U.S. Government presence in India. It must be appropriate as a U.S. Government symbol.&lt;br /&gt;The logo should be usable in monochrome and color media.&lt;br /&gt;No gradient colors.&lt;br /&gt;All fonts are acceptable.&lt;br /&gt;The logo should be simple enough to be used in a variety of mediums from letterhead to billboard size.&lt;br /&gt;Submissions must be in .GIF, .JPG. or .BMP format, and include the designer’s full name and e-mail address. The designer is welcome to send a short textual description of the logo along with the design. (optional)&lt;br /&gt;Prizes&lt;br /&gt;The contest will award prizes for up to three designers. Top prize is a design fellowship to the United States.*&lt;br /&gt;*Visa eligibility applies.&lt;br /&gt;&lt;br /&gt;For more details, contact us at amcenternd@state.gov, or 011-2347-2289/2290.&lt;br /&gt;&lt;br /&gt;All submissions must be received by Jan. 15, 2009.&lt;br /&gt;&lt;br /&gt;Please e-mail your entries at: amcenternd@state.gov&lt;br /&gt;or&lt;br /&gt;Send in your CD to:&lt;br /&gt;&lt;br /&gt;American Center Logo Design Contest&lt;br /&gt;The American Center,&lt;br /&gt;24 Kasturba Gandhi Marg,&lt;br /&gt;New Delhi – 110 001&lt;br /&gt;&lt;br /&gt;January 23, 2009-Selection of finalists. Finalists will be posted on our website.&lt;br /&gt;January 30, 2009- Awards ceremony at the American Center, New Delhi</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/2959520635678018247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2010/05/american-center-logo-design-competition.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/2959520635678018247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/2959520635678018247'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2010/05/american-center-logo-design-competition.html' title='American Center Logo Design Competition'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-8582678039350093111</id><published>2010-05-10T05:33:00.000-07:00</published><updated>2010-05-10T05:35:20.695-07:00</updated><title type='text'>Create columns on the fly for advanced datgrid in (actionscript)as /flex</title><content type='html'>Write event listner for ur datagrid component, when ever your dataprovider(data provider must be bindable) changes it calls collection change event,&lt;br /&gt;&lt;br /&gt;example:-&lt;br /&gt;&lt;br /&gt;//genricDG is my datagridgenricDG.addEventListener(CollectionEvent.COLLECTION_CHANGE, columnListener);&lt;br /&gt;&lt;br /&gt;private function columnListener(event:CollectionEvent):void&lt;br /&gt;{&lt;br /&gt;var cols:Array = new Array();//genricDG.columns;&lt;br /&gt;if(model.GridColumnName)//array of column name&lt;br /&gt;{&lt;br /&gt;var oColumnDef:Object;&lt;br /&gt;var dgc:AdvancedDataGridColumn;&lt;br /&gt;var iTotalDGWidth:int = 0;&lt;br /&gt;if(model.GridColumnName.length != 0)&lt;br /&gt;{&lt;br /&gt;dgc=new AdvancedDataGridColumn();&lt;br /&gt;dgc.dataField=”tno”;&lt;br /&gt;dgc.headerText=”S. No.”&lt;br /&gt;cols.push(dgc);&lt;br /&gt;&lt;br /&gt;for (var i:int=0;i&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;genricDG.columns=cols;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;cols=new Array();&lt;br /&gt;genricDG.columns=null;&lt;br /&gt;genricDG.columns=cols;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/8582678039350093111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2010/05/create-columns-on-fly-for-advanced.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/8582678039350093111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/8582678039350093111'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2010/05/create-columns-on-fly-for-advanced.html' title='Create columns on the fly for advanced datgrid in (actionscript)as /flex'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-5828785114800494530</id><published>2010-05-10T05:32:00.001-07:00</published><updated>2010-05-10T05:32:57.443-07:00</updated><title type='text'>Free ‘Flex week’ video Training From Adobe</title><content type='html'>&lt;div class=&quot;post_content&quot;&gt;        &lt;div class=&quot;snap_preview&quot;&gt;&lt;p&gt;Hi All,&lt;/p&gt; &lt;p&gt;Enjoy Free Flex training On Following Link&lt;br /&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://www.adobe.com/devnet/flex/videotraining/&quot; target=&quot;_blank&quot;&gt;http://www.adobe.com/devnet/flex/videotraining/&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Regards,&lt;br /&gt;Ranjit sail&lt;/p&gt; &lt;/div&gt;              &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/5828785114800494530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2010/05/free-flex-week-video-training-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/5828785114800494530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/5828785114800494530'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2010/05/free-flex-week-video-training-from.html' title='Free ‘Flex week’ video Training From Adobe'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-2590247120318497411</id><published>2010-05-10T05:31:00.000-07:00</published><updated>2010-05-10T05:32:27.670-07:00</updated><title type='text'>Add Thik border on button in flex</title><content type='html'>&lt;div class=&quot;post_content&quot;&gt;        &lt;div class=&quot;snap_preview&quot;&gt;&lt;p&gt;Hi All,&lt;/p&gt; &lt;p&gt;This is one of the tricky task I came across. In flex if you increase&lt;br /&gt;the border width of button it does not reflect. instead you can do&lt;br /&gt;this.&lt;/p&gt; &lt;p&gt;buttonId.emphasized=true;&lt;/p&gt; &lt;p&gt;by default this property is false&lt;/p&gt; &lt;p&gt;Regards,&lt;br /&gt;Ranjit&lt;/p&gt; &lt;/div&gt;              &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/2590247120318497411/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2010/05/add-thik-border-on-button-in-flex.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/2590247120318497411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/2590247120318497411'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2010/05/add-thik-border-on-button-in-flex.html' title='Add Thik border on button in flex'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-8562256367552090879</id><published>2010-05-10T05:29:00.000-07:00</published><updated>2010-05-10T05:31:06.131-07:00</updated><title type='text'>Datagrid cell validation in Action script</title><content type='html'>&lt;div class=&quot;post_content&quot;&gt;         &lt;div class=&quot;snap_preview&quot;&gt;&lt;p&gt;T datagrid with property  editable=”true”&lt;/p&gt; &lt;p&gt; public var EditingRowIndex:int;private function  testItemEditEnd(event:AdvancedDataGridEvent):void&lt;br /&gt;{&lt;br /&gt;EditingcolIndex=event.columnIndex;&lt;br /&gt;//Previous column index&lt;br /&gt;ComparecolIndex=event.columnIndex -1;&lt;br /&gt;EditingRowIndex=event.rowIndex;&lt;br /&gt;colReference=genricDG.columns[EditingcolIndex];&lt;br /&gt;//Gives column name for Comapre Column&lt;br /&gt;comReference=genricDG.columns[ComparecolIndex][&quot;dataField&quot;];&lt;br /&gt;var  CompareValue:int=genricDG.dataProvider[EditingRowIndex][comReference];&lt;br /&gt;var EditedValue:int =  parseInt(TextInput(event.currentTarget.itemEditorInstance).text);&lt;br /&gt; if(CompareValue &gt; EditedValue)&lt;br /&gt;{&lt;/p&gt; &lt;p&gt;//no validation coz satisfies the condition&lt;br /&gt;//total.text =String(parseInt(total.text) + EditedValue);&lt;/p&gt; &lt;p&gt;}&lt;/p&gt; &lt;p&gt; else&lt;br /&gt;{&lt;/p&gt; &lt;p&gt;//PREVENT DEFAUL WILL PERSIST VALUE OF DATAGRID CELL&lt;br /&gt;event.preventDefault();&lt;br /&gt;//VALIDATION AFTER CONVERTIN itemEditorInstance INTO TextIput&lt;br /&gt;TextInput(event.currentTarget.itemEditorInstance).errorString =&lt;br /&gt;“Value Must be Less than or qual o” + comReference;&lt;/p&gt; &lt;p&gt;}&lt;/p&gt; &lt;p&gt;}&lt;/p&gt; &lt;/div&gt;               &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/8562256367552090879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2010/05/datagrid-cell-validation-in-action.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/8562256367552090879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/8562256367552090879'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2010/05/datagrid-cell-validation-in-action.html' title='Datagrid cell validation in Action script'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2313091138408175878.post-2824662550331631293</id><published>2009-04-15T02:02:00.000-07:00</published><updated>2009-04-15T02:17:51.292-07:00</updated><title type='text'>Flash 10 Security issue Filereference workaround Example</title><content type='html'>&lt;strong&gt;Upload and download require user interaction&lt;/strong&gt;&lt;br /&gt;In Flash Player 9, ActionScript could perform uploads and downloads at any time. With Flash Player 10, the FileReference.browse and FileReference.download operations may be initiated only through ActionScript that originates from user interaction. This includes actions such as clicking the mouse or pressing the keyboard.&lt;br /&gt;&lt;strong&gt;What is impacted?&lt;/strong&gt;&lt;br /&gt;This change can potentially affect any SWF file that makes use of Filereference.browse or FileReference.download. This change affects SWF files of all versions played in Flash Player 10 beta and later. This change affects all non-app content in Adobe AIR (however, AIR app content itself is unaffected).&lt;br /&gt;&lt;strong&gt;What do I need to do?&lt;/strong&gt;&lt;br /&gt;Any existing content that invokes a browse dialog box using Filereference.browse or FileReference.download outside of an event triggered by user interaction will need to be updated. The dialog box will now have to be invoked through a button, keyboard shortcut, or some other event initiated by the user.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Solution &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;try{&lt;br /&gt;var urlReq:URLRequest = new URLRequest(&quot;&lt;a href=&quot;http://www.myurl.com/file&quot;&gt;http://www.myUrl.com/file&lt;/a&gt;&quot;);&lt;br /&gt;fileReference.download(urlReq);&lt;br /&gt;}&lt;br /&gt;catch(error:Error)&lt;br /&gt;{&lt;br /&gt;Flash10Workround();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;WorkAround Method : &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;var popup:Somepopupcustomobject;&lt;br /&gt;private function Flash10Workround():void&lt;br /&gt;{&lt;br /&gt;popup= new Somepopupcustomobject();&lt;br /&gt;PopUpManager.addPopUp(popup,this,true);&lt;br /&gt;PopUpManager.centerPopUp(popup);&lt;br /&gt;popup.LABEL=&quot;File is Ready to Exported, Please Click Ok to continue&quot;;&lt;br /&gt;popup.submitSub.addEventListener(MouseEvent.CLICK, closePopUp);&lt;br /&gt;}&lt;br /&gt;private function closePopUp(e:MouseEvent):void&lt;br /&gt;{&lt;br /&gt;var urlReq:URLRequest = new URLRequest(&quot;Ur Link here&quot;);&lt;br /&gt;fileReference.download(urlReq);&lt;br /&gt;PopUpManager.removePopUp(Object218PopUp);&lt;br /&gt;}</content><link rel='replies' type='application/atom+xml' href='http://flexfusion.blogspot.com/feeds/2824662550331631293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flexfusion.blogspot.com/2009/04/flash-10-security-issue-filereference.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/2824662550331631293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2313091138408175878/posts/default/2824662550331631293'/><link rel='alternate' type='text/html' href='http://flexfusion.blogspot.com/2009/04/flash-10-security-issue-filereference.html' title='Flash 10 Security issue Filereference workaround Example'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>