<?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-6901137041616243364</id><updated>2024-10-04T20:32:09.950-07:00</updated><category term="Import Export Using Flex"/><title type='text'>FLEX Tutorial / Flex Examples</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://flex-examples.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6901137041616243364/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://flex-examples.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06144720971211874802</uri><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>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6901137041616243364.post-1547423585235762435</id><published>2012-07-17T22:54:00.002-07:00</published><updated>2013-02-04T03:52:06.301-08:00</updated><title type='text'>How to use Column Chart / How to Use Pie Chart</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Here You will see how to use Pie Chart &amp;nbsp;in Flex.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;How to Use Column Chart Chart in Flex.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Following example&amp;nbsp;Demonstrate how to use chart control in flex.&lt;br /&gt;
&lt;br /&gt;
Download Source Code &lt;a href=&quot;http://www.fileden.com/files/2012/7/11/3324674/PieColChart.txt&quot; target=&quot;_blank&quot;&gt;Here&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;embed align=&quot;middle&quot; allowscriptaccess=&quot;always&quot; height=&quot;600&quot; pluginspage=&quot;http://www.macromedia.com/go/getflashplayer&quot; quality=&quot;high&quot; src=&quot;http://www.fileden.com/files/2012/7/11/3324674/chart1.swf&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;600&quot;&gt;&lt;/embed&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://flex-examples.blogspot.com/feeds/1547423585235762435/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flex-examples.blogspot.com/2012/07/how-to-use-column-chart-how-to-use-pie.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6901137041616243364/posts/default/1547423585235762435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6901137041616243364/posts/default/1547423585235762435'/><link rel='alternate' type='text/html' href='http://flex-examples.blogspot.com/2012/07/how-to-use-column-chart-how-to-use-pie.html' title='How to use Column Chart / How to Use Pie Chart'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06144720971211874802</uri><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-6901137041616243364.post-6554148699066605692</id><published>2012-07-17T04:42:00.000-07:00</published><updated>2013-03-10T23:29:09.898-07:00</updated><title type='text'>How To Use Filter Function In Flex</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;How To Use Filter Function In Flex&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
We Can use Filter Function Filer Data In Array Collection.&lt;br /&gt;
&lt;br /&gt;
Go through The Code Following Example Filter Data For&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Name &lt;/span&gt;and &lt;span style=&quot;color: red;&quot;&gt;Salary &lt;/span&gt;Fields&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;br /&gt;
&amp;lt;s:Application xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; &amp;nbsp; xmlns:s=&quot;library://ns.adobe.com/flex/spark&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; &amp;nbsp; xmlns:mx=&quot;library://ns.adobe.com/flex/mx&quot; minWidth=&quot;955&quot; minHeight=&quot;600&quot; xmlns:local=&quot;*&quot; viewSourceURL=&quot;srcview/index.html&quot; initialize=&quot;init()&quot;&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;fx:Declarations&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;!-- Place non-visual elements (e.g., services, value objects) here --&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/fx:Declarations&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;fx:Script&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;![CDATA[&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import com.as3xls.xls.Cell;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import com.as3xls.xls.ExcelFile;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import com.as3xls.xls.Sheet;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import mx.collections.ArrayCollection;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import mx.controls.Alert;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;private var fileReference:FileReference;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;private var xls:Class;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;private var sheet:Sheet;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;[Bindable]&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;public var ItemDGDataProvider:ArrayCollection = new&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;ArrayCollection([&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Ajay&quot;,salary:&quot;25000&quot;,jDate:&quot;5-Jun-2010&quot;,desg:&quot;Soft Engineer&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Mayur&quot;,salary:&quot;28000&quot;,jDate:&quot;13-Sep-2010&quot;,desg:&quot;Soft Tester&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Ashish&quot;,salary:&quot;34500&quot;,jDate:&quot;5-Jan-2011&quot;,desg:&quot;Project manager&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Deepak&quot;,salary:&quot;28000&quot;,jDate:&quot;17-Feb-2011&quot;,desg:&quot;Business Analyst&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Ravi&quot;,salary:&quot;22400&quot;,jDate:&quot;7-Mar-2010&quot;,desg:&quot;Graphics Designer&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Summet&quot;,salary:&quot;18000&quot;,jDate:&quot;5-Jun-2010&quot;,desg:&quot;Trainee&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Sanket&quot;,salary:&quot;35000&quot;,jDate:&quot;18-July-2011&quot;,desg:&quot;QA Lead&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Arun&quot;,salary:&quot;15000&quot;,jDate:&quot;4-Apr-2012&quot;,desg:&quot;Graphics Designer&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Dinesh&quot;,salary:&quot;25000&quot;,jDate:&quot;5-Jun-2010&quot;,desg:&quot;Soft Engineer&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Mrunal&quot;,salary:&quot;28000&quot;,jDate:&quot;13-Sep-2010&quot;,desg:&quot;Soft Tester&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Sanjay&quot;,salary:&quot;34500&quot;,jDate:&quot;5-Jan-2011&quot;,desg:&quot;Project manager&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Abhishek&quot;,salary:&quot;28000&quot;,jDate:&quot;17-Feb-2011&quot;,desg:&quot;Business Analyst&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Shiv&quot;,salary:&quot;22400&quot;,jDate:&quot;7-Mar-2010&quot;,desg:&quot;Graphics Designer&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Raja&quot;,salary:&quot;18000&quot;,jDate:&quot;5-Jun-2010&quot;,desg:&quot;Trainee&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Pratic&quot;,salary:&quot;35000&quot;,jDate:&quot;18-July-2011&quot;,desg:&quot;QA Lead&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Vishal&quot;,salary:&quot;15000&quot;,jDate:&quot;4-Apr-2012&quot;,desg:&quot;Graphics Designer&quot;}&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;]);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;public function init():void&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;ItemDGDataProvider.filterFunction = filterForTestData ;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;private function filterForTestData(item:Object):Boolean{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;var isMatch:Boolean = false&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;if(item.name.toLowerCase().search(txtFilter.text.toLowerCase()) != -1){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;isMatch = true&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;if(item.salary.search(txtFilter.text.toLowerCase()) != -1){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;isMatch = true&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;}&lt;span class=&quot;Apple-tab-span&quot; style=&quot;background-color: white; white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;return isMatch;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;/* the filter funcion is called when refresh() method is invoked on&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;the collection */&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;private function applyFilter():void{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;ItemDGDataProvider.filterFunction = filterForTestData&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;ItemDGDataProvider.refresh();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;]]&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/fx:Script&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;mx:TextInput id=&quot;txtFilter&quot; x=&quot;4&quot; y=&quot;2&quot; width=&quot;202&quot; change=&quot;applyFilter()&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;mx:DataGrid id=&quot;rebateByItemDG&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt; includeInLayout=&quot;true&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt; visible=&quot;true&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt; dataProvider=&quot;{ItemDGDataProvider}&quot; width=&quot;100%&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt; editable=&quot;true&quot; x=&quot;1&quot; y=&quot;28&quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/s:Application&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;embed align=&quot;middle&quot; allowscriptaccess=&quot;always&quot; height=&quot;400&quot; pluginspage=&quot;http://www.macromedia.com/go/getflashplayer&quot; quality=&quot;high&quot; src=&quot;http://www.fileden.com/files/2012/7/11/3324674/FilterFunction-ArrayCollection.swf&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;600&quot;&gt;&lt;/embed&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://flex-examples.blogspot.com/feeds/6554148699066605692/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flex-examples.blogspot.com/2012/07/how-to-use-filter-function-in-flex.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6901137041616243364/posts/default/6554148699066605692'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6901137041616243364/posts/default/6554148699066605692'/><link rel='alternate' type='text/html' href='http://flex-examples.blogspot.com/2012/07/how-to-use-filter-function-in-flex.html' title='How To Use Filter Function In Flex'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06144720971211874802</uri><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-6901137041616243364.post-595317871221153506</id><published>2012-07-17T04:06:00.000-07:00</published><updated>2012-07-17T04:06:06.230-07:00</updated><title type='text'>How to Play Video and Mp3 Files in Flex</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;How to Play&amp;nbsp;Video&amp;nbsp;and Mp3 files in Flex.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
Flash Builder has it own VideoPlayer Control to play your Flv files, all you need is just set the&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;source&amp;nbsp;property.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;ex :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;s:VideoPlayer id=&quot;myVidPlayer&quot; source=&quot;/a.flv&quot; autoPlay=&quot;true&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
But for playing Mp3 Files Flex does not provide any special player for it.&lt;br /&gt;
To play Mp3 files you need to use&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;SoundTransform &lt;/span&gt;class : Contains properties for volume and panning.&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Sound &lt;/span&gt;object to load your sound files, still there are no visuals available to display&amp;nbsp;status for record we are playing.&lt;br /&gt;
&lt;br /&gt;
In Following Example You will get skin Mp3 Player&lt;br /&gt;
with PAUSE-PLAY, Volume Controller. And&amp;nbsp;Video&amp;nbsp; Player.&lt;br /&gt;
&amp;nbsp;You just Need to Set&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;myVideos &lt;/span&gt;List of all your video Url&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;myMp3 &lt;/span&gt;List of all your Mp3 Url.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://picasaweb.google.com/108945204404026900175/20120717#5766092555951671426&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;227&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr1Bmyw6sfzVbLKdFW4qnt8Drgjz5F6VqOk8UBStYg7yln2uRC0J9dwbXhxqdk6U_nzq_ChSYCu88qYcwDCE1-Fuj7kq4OMcg-M8NaBbr9nrTXhgkG092aJoqaC2kL-K1rOAJuvr4aGEw/s320/Vedio.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Download Project &lt;a href=&quot;http://www.fileden.com/files/2012/7/11/3324674/VedioMp3Player.zip&quot; target=&quot;_blank&quot;&gt;Here&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flex-examples.blogspot.com/feeds/595317871221153506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flex-examples.blogspot.com/2012/07/how-to-play-video-and-mp3-files-in-flex.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6901137041616243364/posts/default/595317871221153506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6901137041616243364/posts/default/595317871221153506'/><link rel='alternate' type='text/html' href='http://flex-examples.blogspot.com/2012/07/how-to-play-video-and-mp3-files-in-flex.html' title='How to Play Video and Mp3 Files in Flex'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06144720971211874802</uri><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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr1Bmyw6sfzVbLKdFW4qnt8Drgjz5F6VqOk8UBStYg7yln2uRC0J9dwbXhxqdk6U_nzq_ChSYCu88qYcwDCE1-Fuj7kq4OMcg-M8NaBbr9nrTXhgkG092aJoqaC2kL-K1rOAJuvr4aGEw/s72-c/Vedio.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6901137041616243364.post-2413989872947042350</id><published>2012-07-17T03:24:00.001-07:00</published><updated>2012-07-17T03:24:15.129-07:00</updated><title type='text'>Export Data In Excel using Flex</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
How to export data in Excel Using Flex
&lt;br /&gt;
To export data in Excel all you need is&amp;nbsp;as3xls.swc.&lt;br /&gt;
&lt;br /&gt;
Download&amp;nbsp;as3xls &lt;a href=&quot;http://www.fileden.com/files/2012/7/11/3324674/as3xls-1.0.swc&quot; target=&quot;_blank&quot;&gt;Here&lt;/a&gt;&lt;br /&gt;
Drag and Drop This&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;as3xls.swc file in your Lib folder.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Refer The Following Code To Create Excel File From Your Flex Application.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;br /&gt;
&amp;lt;s:Application xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; &amp;nbsp; xmlns:s=&quot;library://ns.adobe.com/flex/spark&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; &amp;nbsp; xmlns:mx=&quot;library://ns.adobe.com/flex/mx&quot; minWidth=&quot;955&quot; minHeight=&quot;600&quot; xmlns:local=&quot;*&quot; viewSourceURL=&quot;srcview/index.html&quot;&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;fx:Declarations&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;!-- Place non-visual elements (e.g., services, value objects) here --&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/fx:Declarations&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;fx:Script&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;![CDATA[&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import com.as3xls.xls.Cell;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import com.as3xls.xls.ExcelFile;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import com.as3xls.xls.Sheet;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import mx.collections.ArrayCollection;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import mx.controls.Alert;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;private var fileReference:FileReference;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;private var xls:Class;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;private var sheet:Sheet;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;[Bindable]&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;public var ItemDGDataProvider:ArrayCollection = new&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;ArrayCollection([&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Ajay&quot;,salary:&quot;25000&quot;,jDate:&quot;5-Jun-2010&quot;,desg:&quot;Soft Engineer&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Mayur&quot;,salary:&quot;28000&quot;,jDate:&quot;13-Sep-2010&quot;,desg:&quot;Soft Tester&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Ashish&quot;,salary:&quot;34500&quot;,jDate:&quot;5-Jan-2011&quot;,desg:&quot;Project manager&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Deepak&quot;,salary:&quot;28000&quot;,jDate:&quot;17-Feb-2011&quot;,desg:&quot;Business Analyst&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Ravi&quot;,salary:&quot;22400&quot;,jDate:&quot;7-Mar-2010&quot;,desg:&quot;Graphics Designer&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Summet&quot;,salary:&quot;18000&quot;,jDate:&quot;5-Jun-2010&quot;,desg:&quot;Trainee&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Sanket&quot;,salary:&quot;35000&quot;,jDate:&quot;18-July-2011&quot;,desg:&quot;QA Lead&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Arun&quot;,salary:&quot;15000&quot;,jDate:&quot;4-Apr-2012&quot;,desg:&quot;Graphics Designer&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Dinesh&quot;,salary:&quot;25000&quot;,jDate:&quot;5-Jun-2010&quot;,desg:&quot;Soft Engineer&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Mrunal&quot;,salary:&quot;28000&quot;,jDate:&quot;13-Sep-2010&quot;,desg:&quot;Soft Tester&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Sanjay&quot;,salary:&quot;34500&quot;,jDate:&quot;5-Jan-2011&quot;,desg:&quot;Project manager&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Abhishek&quot;,salary:&quot;28000&quot;,jDate:&quot;17-Feb-2011&quot;,desg:&quot;Business Analyst&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Shiv&quot;,salary:&quot;22400&quot;,jDate:&quot;7-Mar-2010&quot;,desg:&quot;Graphics Designer&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Raja&quot;,salary:&quot;18000&quot;,jDate:&quot;5-Jun-2010&quot;,desg:&quot;Trainee&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Pratic&quot;,salary:&quot;35000&quot;,jDate:&quot;18-July-2011&quot;,desg:&quot;QA Lead&quot;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{name:&quot;Vishal&quot;,salary:&quot;15000&quot;,jDate:&quot;4-Apr-2012&quot;,desg:&quot;Graphics Designer&quot;}&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;]);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;[Bindable]&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;private var rebateDGDataProvider:ArrayCollection = new&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;ArrayCollection();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;private function fileReference_Select(event:Event):void&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;fileReference.addEventListener(Event.COMPLETE,fileReference_Complete);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;fileReference.load(); &amp;nbsp;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;private function fileReference_Complete(event:Event):void&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;var fileData:ByteArray &amp;nbsp;= fileReference.data;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;var excelFile:ExcelFile = new ExcelFile();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;var noOfRows:int;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;var noOfColumns:int;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;if(fileData!=null &amp;amp;&amp;amp; fileData.length &amp;gt; 0){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;excelFile.loadFromByteArray(fileData);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;var sheet:Sheet = excelFile.sheets[0];&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;if(sheet!=null)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;noOfRows=sheet.rows;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;noOfColumns = sheet.cols;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;for(var row:int = 0; row&amp;lt;noOfRows;row++)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;var cellObject:Object ={};&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;for(var&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;        &lt;/span&gt;col:int=0;col&amp;lt;noOfColumns;col++)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;        &lt;/span&gt;var cell:Cell = new Cell();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;        &lt;/span&gt;var cellValue:String = new&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;         &lt;/span&gt;String();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;        &lt;/span&gt;cell = sheet.getCell(row,col);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;        &lt;/span&gt;if(cell!=null)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;        &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;         &lt;/span&gt;cellValue&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;         &lt;/span&gt;=(cell.value).toString();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;         &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;         &lt;/span&gt;addProperty(cellObject,col,cellValue);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;        &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;}// inner for loop ends&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;rebateDGDataProvider.addItem(cellObject);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;} //for loop ends&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;} &amp;nbsp;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;fileReference = null;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;private function&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;addProperty(cellObject:Object,index:int,cellValue:String):void&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;if(index == 0)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;cellObject.name = cellValue;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;else if(index == 1)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;cellObject.value = cellValue;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;else if(index == 2)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;cellObject.qty = cellValue;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;else if(index == 3)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;cellObject.cost = cellValue;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;private function exportToExcel():void&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;sheet = new Sheet();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;var dataProviderCollection:ArrayCollection = rebateByItemDG.dataProvider as ArrayCollection;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;var rowCount:int = &amp;nbsp;dataProviderCollection.length;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;sheet.resize(rowCount+4,10);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;sheet.setCell(0,0,&quot;Name&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;sheet.setCell(0,1,&quot;Salary&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;sheet.setCell(0,2,&quot;Joining Date&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;sheet.setCell(0,3,&quot;Designation&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;for(var r:int=0;r&amp;lt;rowCount;r++)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;sheet.setCell(r+1,0,String(ItemDGDataProvider[r].name));&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;sheet.setCell(r+1,1,String(ItemDGDataProvider[r].salary));&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;sheet.setCell(r+1,2,String(ItemDGDataProvider[r].jDate));&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;sheet.setCell(r+1,3,String(ItemDGDataProvider[r].desg))&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;var xls:ExcelFile = new ExcelFile();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;xls.sheets.addItem(sheet);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;var bytes: ByteArray = xls.saveToByteArray();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;var fr:FileReference = new FileReference();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;fr.save(bytes,&quot;SampleExport.xls&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;private function insertRecordInSheet(row:int,sheet:Sheet,&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;            &lt;/span&gt; record:Object):void&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;var colCount:int = 4;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;for(var c:int;c&amp;lt;colCount;c++)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;sheet.setCell(row,c,record.name);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;sheet.setCell(row,c,record.salary);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;sheet.setCell(row,c,record.jDate);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;sheet.setCell(row,c,record.desg);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;]]&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/fx:Script&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;mx:DataGrid id=&quot;rebateByItemDG&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt; includeInLayout=&quot;true&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt; visible=&quot;true&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt; dataProvider=&quot;{ItemDGDataProvider}&quot; width=&quot;100%&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt; editable=&quot;true&quot; x=&quot;0&quot; y=&quot;26&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;mx:Button label=&quot;Export To Excel&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; &amp;nbsp; click=&quot;exportToExcel();&quot; width=&quot;128&quot; height=&quot;24&quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/s:Application&amp;gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;embed align=&quot;middle&quot; allowscriptaccess=&quot;always&quot; height=&quot;400&quot; pluginspage=&quot;http://www.macromedia.com/go/getflashplayer&quot; quality=&quot;high&quot; src=&quot;http://www.fileden.com/files/2012/7/11/3324674/ExImEx.swf&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;400&quot;&gt;&lt;/embed&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flex-examples.blogspot.com/feeds/2413989872947042350/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flex-examples.blogspot.com/2012/07/export-data-in-excel-using-flex.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6901137041616243364/posts/default/2413989872947042350'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6901137041616243364/posts/default/2413989872947042350'/><link rel='alternate' type='text/html' href='http://flex-examples.blogspot.com/2012/07/export-data-in-excel-using-flex.html' title='Export Data In Excel using Flex'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06144720971211874802</uri><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>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6901137041616243364.post-5420143865756355106</id><published>2012-07-17T02:51:00.003-07:00</published><updated>2012-07-17T02:51:57.589-07:00</updated><title type='text'>Flex 4 Tutorial Document</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Get Flex-4 tutorial document provided by ADOBE.&lt;br /&gt;
Here you will find all the required specification to build a application in Flex.&lt;br /&gt;
&lt;a href=&quot;http://help.adobe.com/en_US/Flex/4.0/FlexTutorials/flex_4_tutorials.pdf&quot; target=&quot;_blank&quot;&gt;Download&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flex-examples.blogspot.com/feeds/5420143865756355106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flex-examples.blogspot.com/2012/07/flex-4-tutorial-document.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6901137041616243364/posts/default/5420143865756355106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6901137041616243364/posts/default/5420143865756355106'/><link rel='alternate' type='text/html' href='http://flex-examples.blogspot.com/2012/07/flex-4-tutorial-document.html' title='Flex 4 Tutorial Document'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06144720971211874802</uri><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-6901137041616243364.post-2273803350019827151</id><published>2012-07-12T06:34:00.002-07:00</published><updated>2012-07-12T06:34:59.031-07:00</updated><title type='text'>How To Use Popup Window in Flex</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Popup window is used when You need to display certain action over your main application.&lt;br /&gt;
while using popup window all you need a Display Control that must be of type TitleWindow, otherwise you need to type cast it.&lt;br /&gt;
from your main application&lt;br /&gt;
create a instance of PopUpManager&lt;br /&gt;
Add your Display object in it.&lt;br /&gt;
While Adding your Display Object PopupManger Accept Three parameter&lt;br /&gt;
PopUpManager.addPopUp(&lt;span style=&quot;color: red;&quot;&gt;window:iDisplayObject&lt;/span&gt;,&lt;span style=&quot;color: blue;&quot;&gt;parentObject&lt;/span&gt;,&lt;span style=&quot;color: red;&quot;&gt;Model&lt;/span&gt;)&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;window:iDisplayObject : &lt;/span&gt;Your Window need to PopUp&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;parentObject &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: &lt;/span&gt;Parent Which hold This PopUp&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: red;&quot;&gt;Model &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt; If true backgroung Application is not&amp;nbsp;&lt;span class=&quot;spell&quot; style=&quot;font-family: arial, sans-serif; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;cursor: pointer; font-family: arial, sans-serif; text-align: -webkit-auto;&quot;&gt;&lt;i&gt;accessible, if false&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;span class=&quot;spell&quot; style=&quot;font-family: arial, sans-serif; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;i&gt;accessible&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Here You get your window code.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;br /&gt;
&amp;lt;mx:&lt;span style=&quot;color: red;&quot;&gt;TitleWindow&lt;/span&gt; xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;xmlns:mx=&quot;library://ns.adobe.com/flex/mx&quot; layout=&quot;absolute&quot; width=&quot;400&quot; height=&quot;222&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;title=&quot;Popup Window Example.&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;showEffect=&quot;{wD}&quot; hideEffect=&quot;{wU}&quot; visible=&quot;false&quot; creationComplete=&quot;titlewindow1_creationCompleteHandler(event)&quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;fx:Script&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;![CDATA[&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import flashx.textLayout.factory.TruncationOptions;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import mx.events.FlexEvent;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;protected function button1_clickHandler(event:MouseEvent):void&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;this.visible = false;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;protected function titlewindow1_creationCompleteHandler(event:FlexEvent):void&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;this.visible = true;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;]]&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/fx:Script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;fx:Declarations&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;!-- Place non-visual elements (e.g., services, value objects) here --&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;mx:WipeDown duration=&quot;500&quot; id=&quot;wD&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;mx:WipeUp duration=&quot;500&quot; id=&quot;wU&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/fx:Declarations&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;mx:Button x=&quot;120&quot; y=&quot;152&quot; label=&quot;Ok&quot; click=&quot;button1_clickHandler(event)&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;mx:Label x=&quot;9&quot; y=&quot;21&quot; text=&quot;Old Password&quot; width=&quot;91&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;mx:Label x=&quot;10&quot; y=&quot;62&quot; text=&quot;New Password&quot; width=&quot;90&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;mx:Label x=&quot;12&quot; y=&quot;97&quot; text=&quot;Confirm&quot; width=&quot;100&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;mx:TextInput x=&quot;119&quot; y=&quot;20&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;mx:TextInput x=&quot;119&quot; y=&quot;60&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;mx:TextInput x=&quot;120&quot; y=&quot;97&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&amp;lt;/mx:TitleWindow&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Main App Code&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;br /&gt;
&amp;lt;mx:Application xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;xmlns:mx=&quot;library://ns.adobe.com/flex/mx&quot; layout=&quot;absolute&quot; minWidth=&quot;500&quot; minHeight=&quot;500&quot; width=&quot;569&quot; height=&quot;374&quot;&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;fx:Script&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;![CDATA[&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import examples.PopUpWin;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import mx.containers.TitleWindow;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import mx.managers.PopUpManager;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;protected function button1_clickHandler(event:MouseEvent):void&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;var _disPlayObj:PopUpWin = new PopUpWin;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;PopUpManager.addPopUp(_disPlayObj,this,true);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;PopUpManager.centerPopUp(_disPlayObj);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;]]&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/fx:Script&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;fx:Declarations&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;!-- Place non-visual elements (e.g., services, value objects) here --&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/fx:Declarations&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;mx:Button x=&quot;235&quot; y=&quot;183&quot; label=&quot;Change Password&quot; width=&quot;100&quot; click=&quot;button1_clickHandler(event)&quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/mx:Application&amp;gt;&lt;br /&gt;
Example&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;embed align=&quot;middle&quot; allowscriptaccess=&quot;always&quot; height=&quot;400&quot; pluginspage=&quot;http://www.macromedia.com/go/getflashplayer&quot; quality=&quot;high&quot; src=&quot;http://www.fileden.com/files/2012/7/11/3324674/PopUpManger.swf&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;500&quot; height=&quot;500&quot;&gt;&lt;/embed&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flex-examples.blogspot.com/feeds/2273803350019827151/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flex-examples.blogspot.com/2012/07/how-to-use-popup-window-in-flex.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6901137041616243364/posts/default/2273803350019827151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6901137041616243364/posts/default/2273803350019827151'/><link rel='alternate' type='text/html' href='http://flex-examples.blogspot.com/2012/07/how-to-use-popup-window-in-flex.html' title='How To Use Popup Window in Flex'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06144720971211874802</uri><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-6901137041616243364.post-9197464949390181261</id><published>2012-07-12T05:58:00.001-07:00</published><updated>2012-07-12T06:39:13.821-07:00</updated><title type='text'>Gauge Control In Flex / DegrafaGauge</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
DegrafaGauge is a very interactive tool to display your data in visual form.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilMO2aWnfsnlNr6d8mVomSFHaAgboEl7bhGwC1gsFz7KVD24pXRASXmFLFiAmWAsx_tkxbvk8CvwkCyn8lHIAEW65qizWD8hJes8UwYayxQCFoLktXw_qqOLjFCNX7tipHixxwghUr22o/s1600/Gauge.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilMO2aWnfsnlNr6d8mVomSFHaAgboEl7bhGwC1gsFz7KVD24pXRASXmFLFiAmWAsx_tkxbvk8CvwkCyn8lHIAEW65qizWD8hJes8UwYayxQCFoLktXw_qqOLjFCNX7tipHixxwghUr22o/s320/Gauge.png&quot; width=&quot;315&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Download Project Here : &lt;a href=&quot;http://www.fileden.com/files/2012/7/11/3324674/Test.zip&quot; target=&quot;_blank&quot;&gt;Download&lt;/a&gt;&lt;br /&gt;
Enjoy..&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flex-examples.blogspot.com/feeds/9197464949390181261/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flex-examples.blogspot.com/2012/07/gauge-control-in-flex-degrafagauge.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6901137041616243364/posts/default/9197464949390181261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6901137041616243364/posts/default/9197464949390181261'/><link rel='alternate' type='text/html' href='http://flex-examples.blogspot.com/2012/07/gauge-control-in-flex-degrafagauge.html' title='Gauge Control In Flex / DegrafaGauge'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06144720971211874802</uri><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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilMO2aWnfsnlNr6d8mVomSFHaAgboEl7bhGwC1gsFz7KVD24pXRASXmFLFiAmWAsx_tkxbvk8CvwkCyn8lHIAEW65qizWD8hJes8UwYayxQCFoLktXw_qqOLjFCNX7tipHixxwghUr22o/s72-c/Gauge.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6901137041616243364.post-1000391213972333024</id><published>2012-07-11T04:04:00.000-07:00</published><updated>2012-07-12T06:31:42.041-07:00</updated><title type='text'>Using Google Maps in a Flex / Flex + Google Map</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div&gt;
Google Map API is available in For various Languages say for java script, Action Script&lt;/div&gt;
&lt;div&gt;
before we get started download Google API for Flex&lt;/div&gt;
&lt;div&gt;
Download Google API HERE : &lt;a href=&quot;http://code.google.com/p/touarek/downloads/detail?name=map_flex_1_6.swc&quot; target=&quot;_blank&quot;&gt;Download&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://developers.google.com/maps/signup&quot; target=&quot;_blank&quot;&gt;Get Google Map API Key&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://maps.googleapis.com/maps/flash/release/sdk.zip&quot; style=&quot;border: 0px; color: #225e9b; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 15px; line-height: 24px; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-auto; text-decoration: none; vertical-align: baseline;&quot;&gt;Get the Google Maps ActionScript 3.0 component&lt;/a&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 15px; line-height: 24px; text-align: -webkit-auto;&quot;&gt;.&lt;/span&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&amp;lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;layout=&quot;absolute&quot; width=&quot;100%&quot; height=&quot;100%&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;viewSourceURL=&quot;srcview/index.html&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;mx:Panel title=&quot;Google Maps Flash API Marker Creator Demo&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; &amp;nbsp;backgroundColor=&quot;#FFFFFF&quot; width=&quot;100%&quot; height=&quot;100%&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; &amp;nbsp;creationComplete=&quot;init();&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/mx:Panel&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;mx:Script&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;![CDATA[&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import com.google.maps.LatLng;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import com.google.maps.Map;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import com.google.maps.MapEvent;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import com.google.maps.controls.MapTypeControl;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import com.google.maps.controls.PositionControl;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import com.google.maps.controls.ZoomControl;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import com.google.maps.services.ClientGeocoder;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import com.google.maps.services.GeocodingEvent;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import com.google.maps.services.GeocodingResponse;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import com.google.maps.services.Placemark;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import mx.controls.Alert;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import mx.events.ResizeEvent;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-size: 15px; line-height: 24px; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;private var googleMap:Map;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;private var geocoder:ClientGeocoder;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-size: 15px; line-height: 24px; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;private function init():void {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;googleMap = new Map();&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;googleMap.key = &quot;ABQIAAAAvZMU4-DFRYtw1UlTj_zc6hT2yXp_ZAY8_ufC3CFXhHIE1NvwkxQcT1h-VA8wQL5JBdsM5JWeJpukvw&quot;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;googleMap.addEventListener(MapEvent.MAP_READY, googleMap_mapReady);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;googleMap.setSize(new Point(mapContainer.width, mapContainer.height));&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;googleMap.addControl(new ZoomControl());&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;googleMap.addControl(new MapTypeControl());&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-size: 15px; line-height: 24px; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;mapContainer.addChild(googleMap);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-size: 15px; line-height: 24px; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;private function geocoder_geocodingSuccess(evt:GeocodingEvent):void {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;var result:Placemark = GeocodingResponse(evt.response).placemarks[0];&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;googleMap.setCenter(result.point, 13);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-size: 15px; line-height: 24px; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;private function geocoder_geocodingFailure(evt:GeocodingEvent):void {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;Alert.show(&quot;Unable to geocode address: &quot; + evt.name);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-size: 15px; line-height: 24px; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;private function googleMap_mapReady(evt:MapEvent):void {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;geocoder = new ClientGeocoder();&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;geocoder.addEventListener(GeocodingEvent.GEOCODING_SUCCESS, geocoder_geocodingSuccess);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;geocoder.addEventListener(GeocodingEvent.GEOCODING_FAILURE, geocoder_geocodingFailure);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;geocoder.geocode(textInput.text);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-size: 15px; line-height: 24px; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;private function button_click(evt:MouseEvent):void {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;geocoder.geocode(textInput.text);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-size: 15px; line-height: 24px; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;private function mapContainer_resize(evt:ResizeEvent):void {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;if (googleMap) {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;googleMap.setSize(new Point(mapContainer.width, mapContainer.height));&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;]]&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/mx:Script&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;mx:String id=&quot;APP_ID&quot; source=&quot;appid.txt&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-size: 15px; line-height: 24px; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;mx:ApplicationControlBar dock=&quot;true&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;mx:Form styleName=&quot;plain&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;mx:FormItem label=&quot;Address:&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt; direction=&quot;horizontal&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&amp;lt;mx:TextInput id=&quot;textInput&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt; &amp;nbsp;text=&quot;India,pune&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&amp;lt;mx:Button id=&quot;button&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt; &amp;nbsp; label=&quot;Submit&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt; &amp;nbsp; click=&quot;button_click(event);&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;/mx:FormItem&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;/mx:Form&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/mx:ApplicationControlBar&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-size: 15px; line-height: 24px; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;mx:UIComponent id=&quot;mapContainer&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;width=&quot;100%&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;height=&quot;100%&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;resize=&quot;mapContainer_resize(event);&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&amp;lt;/mx:Application&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 15px; line-height: 24px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flex-examples.blogspot.com/feeds/1000391213972333024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flex-examples.blogspot.com/2012/07/using-google-maps-in-flex-flex-google.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6901137041616243364/posts/default/1000391213972333024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6901137041616243364/posts/default/1000391213972333024'/><link rel='alternate' type='text/html' href='http://flex-examples.blogspot.com/2012/07/using-google-maps-in-flex-flex-google.html' title='Using Google Maps in a Flex / Flex + Google Map'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06144720971211874802</uri><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-6901137041616243364.post-5169919798712034839</id><published>2012-07-11T03:15:00.001-07:00</published><updated>2012-07-11T03:16:18.518-07:00</updated><title type='text'>How to use Item Renderer in Flex</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Item Renderer Is a greate feature provided by Flex. Using Item-Renderer you can Display Data In required manner. item-Renderer basically used with List Base Controls .i.e Data Grid, Combobox etc.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 16px; text-align: -webkit-auto;&quot;&gt;In addition to controlling the display of data using an item renderer, the DataGrid, List, and Tree controls let users edit the data. For example, you could let users update the Quantity column of a DataGrid cont&lt;/span&gt;&lt;span style=&quot;line-height: 16px; text-align: -webkit-auto;&quot;&gt;rol&lt;/span&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 16px; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 16px; text-align: -webkit-auto;&quot;&gt;In our Example we will see how to use&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;renderers with&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;1)Use Item Renderer with Combobox.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;2)use Item Renderer with DataGrid.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;Like This You can also use it with different controls.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&amp;lt;s:Application xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; &amp;nbsp; xmlns:s=&quot;library://ns.adobe.com/flex/spark&quot;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; &amp;nbsp; xmlns:mx=&quot;library://ns.adobe.com/flex/mx&quot; width=&quot;100%&quot; height=&quot;100%&quot; viewSourceURL=&quot;srcview/index.html&quot;&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;fx:Declarations&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;!-- Place non-visual elements (e.g., services, value objects) here --&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/fx:Declarations&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;fx:Script&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;![CDATA[&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;import mx.collections.ArrayCollection;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;[Bindable]public var _data:ArrayCollection = new ArrayCollection([{name:&quot;Rabit&quot;,file:&quot;a.gif&quot;},&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;{name:&quot;Bird&quot;,file:&quot;b.gif&quot;},{name:&quot;Dyno&quot;,file:&quot;c.jpg&quot;},{name:&quot;Fire&quot;,file:&quot;d.jpg&quot;}]);&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;]]&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/fx:Script&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;mx:VBox width=&quot;100%&quot; height=&quot;100%&quot;&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;mx:DataGrid dataProvider=&quot;{_data}&quot; width=&quot;100%&quot; height=&quot;50%&quot;&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;mx:columns&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&amp;lt;mx:DataGridColumn dataField=&quot;name&quot; headerText=&quot;File Name&quot;/&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&amp;lt;mx:DataGridColumn dataField=&quot;File&quot;&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&amp;lt;mx:itemRenderer&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;&amp;lt;fx:Component&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;&amp;lt;mx:Image width=&quot;100&quot; height=&quot;100&quot; source=&quot;{data.file}&quot;/&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;&amp;lt;/fx:Component&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&amp;lt;/mx:itemRenderer&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&amp;lt;/mx:DataGridColumn&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;/mx:columns&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;/mx:DataGrid&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;mx:ComboBox dataProvider=&quot;{_data}&quot; text=&quot;&quot;&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;mx:itemRenderer&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&amp;lt;fx:Component&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&amp;lt;mx:Image width=&quot;100&quot; height=&quot;100&quot; source=&quot;{data.file}&quot;/&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&amp;lt;/fx:Component&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;/mx:itemRenderer&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;/mx:ComboBox&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/mx:VBox&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&amp;lt;/s:Application&amp;gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;embed src=&quot;http://www.fileden.com/files/2012/7/11/3324674/ItemRenderer.swf&quot; quality=&quot;high&quot; allowscriptaccess=&quot;always&quot; type=&quot;application/x-shockwave-flash&quot; pluginspage=&quot;http://www.macromedia.com/go/getflashplayer&quot; align=&quot;middle&quot; height=&quot;400&quot; width=&quot;400&quot;&gt;&lt;/embed&gt;</content><link rel='replies' type='application/atom+xml' href='http://flex-examples.blogspot.com/feeds/5169919798712034839/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flex-examples.blogspot.com/2012/07/how-to-use-item-renderer-in-flex.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6901137041616243364/posts/default/5169919798712034839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6901137041616243364/posts/default/5169919798712034839'/><link rel='alternate' type='text/html' href='http://flex-examples.blogspot.com/2012/07/how-to-use-item-renderer-in-flex.html' title='How to use Item Renderer in Flex'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06144720971211874802</uri><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-6901137041616243364.post-153556090383343942</id><published>2012-07-10T22:58:00.000-07:00</published><updated>2013-03-05T22:14:21.157-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Import Export Using Flex"/><title type='text'>How to Export into PDF/ / Flex + PDF / Generate PDF From Flex</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
To generate PDF files from Flex all you need is some external liberies like AlivePDF.swc or generatePdf.swc.&lt;br /&gt;
Im my Example i use Alive PDF as its Free and easy to use.&lt;br /&gt;
Get AlivePDF.swc&lt;br /&gt;
use following save structure to add images or Ui Container to add in PDF file&lt;br /&gt;
Get AlivePDF Here : &lt;a href=&quot;http://www.fileden.com/files/2012/7/11/3324674/AlivePDF.swc&quot; target=&quot;_blank&quot;&gt;AlivePDF&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;protected function savePDF():void&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;background-color: white; white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
var myPDFEncoder:PDF = new PDF (Orientation.LANDSCAPE, Unit.MM);&lt;br /&gt;
myPDFEncoder.setDisplayMode(Display.FULL_PAGE);&lt;br /&gt;
myPDFEncoder.addPage();&lt;br /&gt;
myPDFEncoder.addImage(ChartDetails,null,0,0,myPDFEncoder.getMargins().width,myPDFEncoder.getMargins().height);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;var bytes:ByteArray = myPDFEncoder.save(Method.LOCAL);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;var fx:FileReference = new FileReference();&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;fx.save(bytes,&quot;ABC.pdf&quot;); &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;}&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;embed align=&quot;middle&quot; allowscriptaccess=&quot;always&quot; height=&quot;600&quot; pluginspage=&quot;http://www.macromedia.com/go/getflashplayer&quot; quality=&quot;high&quot; src=&quot;http://www.fileden.com/files/2012/7/11/3324674/Export.swf&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;600&quot;&gt;&lt;/embed&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://flex-examples.blogspot.com/feeds/153556090383343942/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flex-examples.blogspot.com/2012/07/how-to-export-into-pdf-flex-pdf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6901137041616243364/posts/default/153556090383343942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6901137041616243364/posts/default/153556090383343942'/><link rel='alternate' type='text/html' href='http://flex-examples.blogspot.com/2012/07/how-to-export-into-pdf-flex-pdf.html' title='How to Export into PDF/ / Flex + PDF / Generate PDF From Flex'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06144720971211874802</uri><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-6901137041616243364.post-9017913475797009488</id><published>2012-07-05T22:31:00.001-07:00</published><updated>2012-07-17T04:42:39.433-07:00</updated><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flex-examples.blogspot.com/feeds/9017913475797009488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flex-examples.blogspot.com/2012/07/blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6901137041616243364/posts/default/9017913475797009488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6901137041616243364/posts/default/9017913475797009488'/><link rel='alternate' type='text/html' href='http://flex-examples.blogspot.com/2012/07/blog-post.html' title=''/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06144720971211874802</uri><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>