<?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-4147108393845724784</id><updated>2024-09-08T12:32:00.885-06:00</updated><category term="Spark Components"/><category term="Custom Components"/><category term="Performance"/><category term="Image"/><category term="Interview"/><category term="Just for Fun"/><category term="Links"/><title type='text'>Adobe Flex 4.5 Components</title><subtitle type='html'>A leader is one who knows the way, goes the way, and shows the way.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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>27</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4147108393845724784.post-2681867595181258578</id><published>2011-12-21T14:56:00.000-07:00</published><updated>2011-12-21T14:56:41.804-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Image"/><title type='text'>Show and Hide Effect for Image</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;color: #073763; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;The Fade effect animates the &lt;code&gt;alpha&lt;/code&gt; property of a component. If  played manually (outside of a transition) on an object whose  &lt;code&gt;visible&lt;/code&gt; property is set to false, and told to animate  &lt;code&gt;alpha&lt;/code&gt; from zero to a nonzero value, it will set  &lt;code&gt;visible&lt;/code&gt; to true as a side-effect of fading it in. When run as part  of a transition, it will respect state-specified values, but may use the  &lt;code&gt;visible&lt;/code&gt; property as well as whether the object is parented in the  before/after states to determine the values to animate &lt;code&gt;alpha&lt;/code&gt; from  and to if &lt;code&gt;alphaFrom&lt;/code&gt; and &lt;code&gt;alphaTo&lt;/code&gt; are not specified for  the effect.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;embed height=&quot;650&quot; pluginspage=&quot; http://www.macromedia.com/go/getflashplayer&quot; src=&quot;https://sites.google.com/site/adobeflex45/Effects.swf&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;800&quot;&gt;&lt;/embed&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Here is the code for Adobe Example:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;lt;s:Application xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&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;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&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; minWidth=&quot;955&quot; minHeight=&quot;600&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&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;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&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;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;s:Fade id=&quot;myFade&quot; duration=&quot;2000&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&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;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;s:Panel width=&quot;800&quot; height=&quot;650&quot; backgroundColor=&quot;#DB2DA0&quot; contentBackgroundColor=&quot;#B66D27&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; title=&quot;Show and Hide Statue of Liberty Flex Effects&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;s:Image width=&quot;800&quot; height=&quot;600&quot; id=&quot;statue&quot; source=&quot;assets/statue_of_liberty-800x600.jpg&quot; &amp;nbsp;hideEffect=&quot;{myFade}&quot; showEffect=&quot;{myFade}&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;s:controlBarContent&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;s:Button label=&quot;Show&quot; click=&quot;statue.visible=true&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;s:Spacer width=&quot;100%&quot;/&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;s:Button label=&quot;Hide&quot; click=&quot;statue.visible=false&quot; toolTip=&quot;Please wait for 2 seconds&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;/s:controlBarContent&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/s:Panel&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;lt;/s:Application&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/2681867595181258578/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/12/show-and-hide-effect-for-image.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/2681867595181258578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/2681867595181258578'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/12/show-and-hide-effect-for-image.html' title='Show and Hide Effect for Image'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4147108393845724784.post-3094198288015030851</id><published>2011-12-20T23:44:00.000-07:00</published><updated>2011-12-20T23:44:12.704-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Just for Fun"/><title type='text'>Background Image Just for Fun  :)</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;A BitmapImage element defines a rectangular region in its parent element&#39;s  coordinate space, filled with bitmap data drawn from a source file or source URL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;embed height=&quot;600&quot; pluginspage=&quot; http://www.macromedia.com/go/getflashplayer&quot; src=&quot;https://sites.google.com/site/adobeflex45/BackgroundImage.swf&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;800&quot;&gt;&lt;/embed&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/3094198288015030851/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/12/background-image-just-for-fun.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/3094198288015030851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/3094198288015030851'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/12/background-image-just-for-fun.html' title='Background Image Just for Fun  :)'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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-4147108393845724784.post-4723286842055457904</id><published>2011-12-20T13:32:00.001-07:00</published><updated>2011-12-20T13:39:52.676-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Custom Components"/><title type='text'>SkinnablePopUpContainer Example</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;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;The SkinnablePopUpContainer class is a SkinnableContainer that functions as a  pop-up. One typical use for a SkinnablePopUpContainer container is to open a  simple window in an application, such as an alert window, to indicate that the  user must perform some action.  &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;You do not create a SkinnablePopUpContainer container as part of the normal  layout of its parent container. Instead, it appears as a pop-up window on top of  its parent. Therefore, you do not create it directly in the MXML code of your  application.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Instead, you create is as an MXML component, often in a separate MXML file.  To show the component create an instance of the MXML component, and then call  the &lt;code&gt;open()&lt;/code&gt; method. You can also set the size and position of the  component when you open it.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;To close the component, call the &lt;code&gt;close()&lt;/code&gt; method. If the pop-up  needs to return data to a handler, you can add an event listener for the  &lt;code&gt;PopUp.CLOSE&lt;/code&gt; event, and specify the returned data in the  &lt;code&gt;close()&lt;/code&gt; method.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;The SkinnablePopUpContainer is initially in its &lt;code&gt;closed&lt;/code&gt; skin  state. When it opens, it adds itself as a pop-up to the PopUpManager, and  transition to the &lt;code&gt;normal&lt;/code&gt; skin state. To define open and close  animations, use a custom skin with transitions between the &lt;code&gt;closed&lt;/code&gt;  and &lt;code&gt;normal&lt;/code&gt; skin states.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;embed height=&quot;300&quot; pluginspage=&quot; http://www.macromedia.com/go/getflashplayer&quot; src=&quot;https://sites.google.com/site/adobeflex45/CustomPopup.swf&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;500&quot;&gt;&lt;/embed&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Here is the code for Above Example:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;lt;s:Application xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&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;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&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; &amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;fx:Style source=&quot;CustomPopup.css&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&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;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&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;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&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;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;protected function login_clickHandler(event:MouseEvent):void&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;// TODO Auto-generated method stub&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;if(txtUserName.text==&#39;Rocky&#39; &amp;amp;&amp;amp; txtPassword.text==&#39;Hacker&#39;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;Alert.show(&quot;Successfully login to Adobe Flex 4.5 ....&quot;,&quot;Login &quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;login.close();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;Alert.show(&quot;Please enter the correct User Name and Password&quot;,&quot;Error&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;protected function logout_clickHandler(event:MouseEvent):void&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;// TODO Auto-generated method stub&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;Alert.show(&quot;Successfully Logout to Adobe Flex 4.5 ....&quot;,&quot;Log Out &quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;login.close();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&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;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&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;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&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;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;s:SkinnablePopUpContainer id=&quot;login&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;s:Panel title=&quot;Launching Adobe Flex 4.5 ...&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&amp;lt;s:Form x=&quot;-14&quot; y=&quot;5&quot; width=&quot;450&quot; height=&quot;200&quot; color=&quot;#3F9122&quot; fontFamily=&quot;Verdana&quot; fontSize=&quot;13&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&amp;lt;s:FormItem label=&quot;User Name&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;&amp;lt;s:TextInput id=&quot;txtUserName&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&amp;lt;/s:FormItem&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&amp;lt;s:FormItem label=&quot;Password&quot; &amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;&amp;lt;s:TextInput id=&quot;txtPassword&quot; displayAsPassword=&quot;true&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&amp;lt;/s:FormItem&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&amp;lt;s:HGroup&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;&amp;lt;s:Button label=&quot;Log In&quot; click=&quot;login_clickHandler(event)&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;&amp;lt;s:Button label=&quot;Log Out&quot; click=&quot;logout_clickHandler(event)&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&amp;lt;/s:HGroup&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&amp;lt;s:Label text=&quot;Enter User name Rocky and Password Hacker to login&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&amp;lt;/s:Form&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&amp;lt;/s:Panel&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;/s:SkinnablePopUpContainer&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&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;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;s:Button x=&quot;53&quot; y=&quot;37&quot; label=&quot;Click here to Sign to Adobe Flex 4.5&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; &amp;nbsp;click=&quot;login.open(this,false)&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;s:Label x=&quot;53&quot; y=&quot;11&quot; text=&quot;Welcome to Adobe Flex 4.5 Components &quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;lt;/s:Application&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Css file:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;/* CSS file */&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;@namespace s &quot;library://ns.adobe.com/flex/spark&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;@namespace mx &quot;library://ns.adobe.com/flex/mx&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;global&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;font-family: Georgia;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;font-size: 14;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;color: #3363A4;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;chrome-color: #A2B8A2;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;selection-color: #424234;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&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://adobeflex45.blogspot.com/feeds/4723286842055457904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/12/skinnablepopupcontainer-example.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/4723286842055457904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/4723286842055457904'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/12/skinnablepopupcontainer-example.html' title='SkinnablePopUpContainer Example'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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-4147108393845724784.post-1990593385501589491</id><published>2011-12-19T17:32:00.000-07:00</published><updated>2011-12-19T17:32:36.053-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Custom Components"/><title type='text'>Custom Alert Message in Flex 4.5</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 class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;The Alert control is a pop-up dialog box that can contain a message, a title,  buttons (any combination of OK, Cancel, Yes, and No) and an icon. The Alert  control is modal, which means it will retain focus until the user closes it.  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Import the mx.controls.Alert class into your application, and then call the  static &lt;code&gt;show()&lt;/code&gt; method in ActionScript to display an Alert control.  You cannot create an Alert control in MXML.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;The Alert control closes when you select a button in the control, or press  the Escape key.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;embed height=&quot;250&quot; pluginspage=&quot; http://www.macromedia.com/go/getflashplayer&quot; src=&quot;https://sites.google.com/site/adobeflex45/PopUpWindow.swf&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;450&quot;&gt;&lt;/embed&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Here is the Code for the Alert Message:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;lt;s:Application xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&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;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&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; minWidth=&quot;955&quot; minHeight=&quot;600&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;fx:Style source=&quot;PopUpWindow.css&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&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;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&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;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&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;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&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;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;Alert.yesLabel=&quot;Flex is Awesome&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;Alert.noLabel=&quot;I am not Agree !&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;Alert.buttonWidth=120;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;Alert.show(&quot;Flex 4.5 is Awesome ....&quot;,&quot;Flex Message&quot;,(Alert.YES|Alert.NO));&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&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;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&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;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&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;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&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;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&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;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;s:Button x=&quot;216&quot; y=&quot;182&quot; label=&quot;Show Alert Message&quot; click=&quot;button1_clickHandler(event)&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;lt;/s:Application&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Css:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;/* CSS file */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;@namespace s &quot;library://ns.adobe.com/flex/spark&quot;;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;@namespace mx &quot;library://ns.adobe.com/flex/mx&quot;;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;global&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;font-family: Georgia;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;font-size: 14;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;color: #762C2C;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/1990593385501589491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/12/custom-alert-message-in-flex-45.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/1990593385501589491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/1990593385501589491'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/12/custom-alert-message-in-flex-45.html' title='Custom Alert Message in Flex 4.5'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4147108393845724784.post-2061204335747974882</id><published>2011-12-14T10:43:00.002-07:00</published><updated>2011-12-14T10:43:26.557-07:00</updated><title type='text'>Flex SDK Security Patch Now Available</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 style=&quot;background-color: white; font-family: Myriad, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 15px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;A&amp;nbsp;security patch for the Flex SDK is now available to address a vulnerability that&amp;nbsp;will cause&amp;nbsp;many Flex applications to be vulnerable to cross-site scripting (XSS) attacks.&amp;nbsp; These applications&amp;nbsp;must be patched in order to protect user data. Please review this&amp;nbsp;&lt;a href=&quot;http://kb2.adobe.com/cps/915/cpsid_91544.html&quot; style=&quot;color: #44709a; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot; title=&quot;bulletin&quot;&gt;bulletin&lt;/a&gt;&amp;nbsp;to determine if your applications are at risk and to obtain&amp;nbsp;instructions on how to patch your applications.&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Myriad, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 15px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;If you have any questions about the security bulletin, please email&amp;nbsp;&lt;a href=&quot;mailto:PSIRT@adobe.com&quot; style=&quot;color: #44709a; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot;&gt;PSIRT@adobe.com&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/2061204335747974882/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/12/flex-sdk-security-patch-now-available.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/2061204335747974882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/2061204335747974882'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/12/flex-sdk-security-patch-now-available.html' title='Flex SDK Security Patch Now Available'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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-4147108393845724784.post-7417895502932991131</id><published>2011-12-14T10:39:00.002-07:00</published><updated>2011-12-14T10:39:43.142-07:00</updated><title type='text'>An Update on Flex -- Deepa Subramaniam</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 style=&quot;background-color: white; font-family: Myriad, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 15px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;I wanted to share a brief update on where we are with our preparation of proposals for incubation of Flex SDK and BlazeDS to the Apache Software Foundation as well as our commitment to engaging with the Flex community further.&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Myriad, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 15px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;Regarding the incubation proposals, we have received all of the necessary Adobe legal clearance in order to contribute the full Flex SDK (including MXML compiler, automation libraries and data visualization components) to Apache. As such we have a draft incubation proposal for Flex SDK prepared and are aiming to post that to the Apache incubation mailing list within the next 1-2 weeks. Once the proposal has been posted, the normal process is that community members review the proposal for a period of time (normally 72 hours) after which the ASF votes. A positive vote means the project has been accepted as an incubation podling into Apache. Keep an eye out on this blog for regular status updates, including a link to the proposal once its been posted to the Apache incubation mailing list.&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Myriad, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 15px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;As for BlazeDS, at this time we are still working on legal clearance but aim to have that before the end of the year such that we can post the BlazeDS incubation proposal to the Apache mailing list at the start of the new year.&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Myriad, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 15px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;In order to better facilitate discussion with our broad developer community, next Monday (12/12/11) and Tuesday (12/13/11) Adobe is hosting a Flex Community Summit where we are inviting a number of Flex community leaders and enterprise developers to participate in a discussion on a variety of topics. We will be discussing the recent announcements regarding Flex and the Flash Platform as well as educating all attendees about the Apache process and what it takes for a project to thrive within Apache. Unfortunately, due to budget, we were unable to invite everyone we would have liked to the summit. Most of the summit sessions and ensuing discussions will be video-taped and posted publicly after the summit. Additionally, we are working on a Flex Whitepaper that we will publish on the Adobe Developer Center which will recap much of the content covered in the summit.&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Myriad, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 15px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;And lastly, in order to replicate the same discussions that will happen at the summit, we are organizing a multi-city international Flex User Group tour that we are looking to kick off in early 2012.&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Myriad, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 15px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;We’ll be sure to share regular updates on this blog as the Apache proposals progress, the Flex Community Summit content is posted and cities/dates are finalized for the 2012 Flex User Group tour.&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Myriad, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 15px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;Deepa Subramaniam&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Group Product Manager, Adobe&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/7417895502932991131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/12/update-on-flex-deepa-subramaniam.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/7417895502932991131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/7417895502932991131'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/12/update-on-flex-deepa-subramaniam.html' title='An Update on Flex -- Deepa Subramaniam'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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-4147108393845724784.post-1165988194330146660</id><published>2011-12-01T16:17:00.000-07:00</published><updated>2011-12-01T16:17:07.861-07:00</updated><title type='text'>New Spark mobile components in Flex 4.6</title><content type='html'>&lt;a href=&quot;http://www.adobe.com/content/dotcom/en/devnet/flex/articles/introducing-flex46sdk.html&quot;&gt;Introducing Adobe Flex 4.6 SDK | Adobe Developer Connection&lt;/a&gt;:</content><link rel='replies' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/1165988194330146660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/12/new-spark-mobile-components-in-flex-46.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/1165988194330146660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/1165988194330146660'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/12/new-spark-mobile-components-in-flex-46.html' title='New Spark mobile components in Flex 4.6'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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-4147108393845724784.post-6579550423225903635</id><published>2011-12-01T16:16:00.000-07:00</published><updated>2011-12-01T16:16:42.866-07:00</updated><title type='text'>What&#39;s new in Flash Builder 4.6 | Adobe Developer Connection</title><content type='html'>&lt;a href=&quot;http://www.adobe.com/devnet/flash-builder/articles/whatsnew-flashbuilder-46.html&quot;&gt;What&#39;s new in Flash Builder 4.6 | Adobe Developer Connection&lt;/a&gt;:</content><link rel='replies' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/6579550423225903635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/12/whats-new-in-flash-builder-46-adobe.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/6579550423225903635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/6579550423225903635'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/12/whats-new-in-flash-builder-46-adobe.html' title='What&#39;s new in Flash Builder 4.6 | Adobe Developer Connection'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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-4147108393845724784.post-6651327100434678670</id><published>2011-11-26T14:23:00.002-07:00</published><updated>2011-11-26T14:59:08.606-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Spark Components"/><title type='text'>Adobe Flex 4.5 Combo and Dropdownlist</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Differences between ComboBox and DropDownList&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;1)First difference between the controls is that the prompt area of the ComboBox control is implemented by using the TextInput control, instead of the Label control for the DropDownList control.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;2) a user can edit the prompt area of the ComboBox control to enter a value that is not one of the predefined options; the values in the DropDownList cannot be edited.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;3) However, because dataProvider is the DropDownList control’s default property, you do not have to specify a &lt;s:dataprovider&gt; child tag of the &lt;s:dropdownlist&gt; tag, as the following example shows:&lt;br /&gt;
Code:&lt;br /&gt;
&lt;/s:dropdownlist&gt;&lt;/s:dataprovider&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;s:dataprovider&gt;&lt;s:dropdownlist&gt;
&lt;/s:dropdownlist&gt;&lt;/s:dataprovider&gt;
&lt;s:dataprovider&gt;&lt;s:dropdownlist&gt;&lt;/s:dropdownlist&gt;&lt;/s:dataprovider&gt;
&amp;lt;s:application backgroundcolor=&quot;#528CDA&quot; minheight=&quot;600&quot; minwidth=&quot;955&quot; xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot; xmlns:mx=&quot;library://ns.adobe.com/flex/mx&quot; xmlns:s=&quot;library://ns.adobe.com/flex/spark&quot;&amp;gt;
&amp;lt;s:layout&amp;gt;
&amp;lt;s:verticallayout paddingleft=&quot;5&quot; paddingtop=&quot;5&quot;&amp;gt;
&amp;lt;/s:verticallayout&amp;gt;&amp;lt;/s:layout&amp;gt;

&amp;lt;fx:declarations&amp;gt;

&amp;lt;/fx:declarations&amp;gt;

&amp;lt;s:label text=&quot;Spark ComboBox &quot;&amp;gt;
&amp;lt;s:combobox id=&quot;mySparkCB&quot; prompt=&quot;Select a Color&quot; width=&quot;140&quot;&amp;gt;
&amp;lt;s:dataprovider&amp;gt;
&amp;lt;mx:arraylist&amp;gt;
&amp;lt;fx:string&amp;gt;Pink&amp;lt;/fx:string&amp;gt;
&amp;lt;fx:string&amp;gt;Orange&amp;lt;/fx:string&amp;gt;
&amp;lt;fx:string&amp;gt;Yellow&amp;lt;/fx:string&amp;gt;
&amp;lt;fx:string&amp;gt;Red&amp;lt;/fx:string&amp;gt;
&amp;lt;fx:string&amp;gt;Blue&amp;lt;/fx:string&amp;gt;
&amp;lt;fx:string&amp;gt;Green&amp;lt;/fx:string&amp;gt;
&amp;lt;/mx:arraylist&amp;gt;
&amp;lt;/s:dataprovider&amp;gt;
&amp;lt;/s:combobox&amp;gt;
&amp;lt;s:label text=&quot;Spark DropDownList &quot;&amp;gt;
&amp;lt;s:dropdownlist width=&quot;160&quot;&amp;gt;
&amp;lt;mx:arraycollection&amp;gt;
&amp;lt;fx:string&amp;gt;Atlanta&amp;lt;/fx:string&amp;gt;
&amp;lt;fx:string&amp;gt;SpringFiled&amp;lt;/fx:string&amp;gt;
&amp;lt;fx:string&amp;gt;Chicago&amp;lt;/fx:string&amp;gt;
&amp;lt;fx:string&amp;gt;New York&amp;lt;/fx:string&amp;gt;
&amp;lt;fx:string&amp;gt;California&amp;lt;/fx:string&amp;gt;
&amp;lt;/mx:arraycollection&amp;gt;
&amp;lt;/s:dropdownlist&amp;gt;

&amp;lt;/s:label&amp;gt;&amp;lt;/s:label&amp;gt;&amp;lt;/s:application&amp;gt;

&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;embed height=&quot;300&quot; pluginspage=&quot; http://www.macromedia.com/go/getflashplayer&quot; src=&quot;https://sites.google.com/site/adobeflex45/SparkComboAndDropDown.swf&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;500&quot;&gt;&lt;/embed&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt; &lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/6651327100434678670/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/adobe-flex-45-combo-and-dropdownlist.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/6651327100434678670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/6651327100434678670'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/adobe-flex-45-combo-and-dropdownlist.html' title='Adobe Flex 4.5 Combo and Dropdownlist'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4147108393845724784.post-9022601475483080761</id><published>2011-11-18T23:10:00.005-07:00</published><updated>2011-11-21T21:25:38.625-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Spark Components"/><title type='text'>Spark DataGrid Support for Copy selected cell</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;This article describes how to add support for copy &amp;nbsp;the Flex DataGrid component. &amp;nbsp;It enables one to copy the datagrid column from &amp;nbsp;applications, notably spreadsheet apps like Excel.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;The implementation enables copying the selected cell value using Custom Itemrender. That itemrender is the label component.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Here is the code:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: x-small; line-height: 18px;&quot;&gt;CopyDatgridCell.mxml&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: x-small; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&amp;lt;s:Application xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&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;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&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; minWidth=&quot;955&quot; minHeight=&quot;600&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&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;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&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;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;s:ArrayCollection id=&quot;userColl&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;fx:Object key=&quot;1000&quot; name=&quot;Abrasive&quot; price=&quot;100.11&quot; call=&quot;false&quot;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;line-height: 18px; white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;s:DataItem key=&quot;1405&quot; name=&quot;File&quot; price=&quot;150.05&quot; call=&quot;true&quot;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;s:DataItem key=&quot;1606&quot; name=&quot;Gouge&quot; price=&quot;160.06&quot; call=&quot;false&quot;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;s:DataItem key=&quot;1007&quot; name=&quot;Hook&quot; price=&quot;170.07&quot; call=&quot;true&quot;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;s:DataItem key=&quot;1708&quot; name=&quot;Ink&quot; price=&quot;180.08&quot; call=&quot;false&quot;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;s:DataItem key=&quot;1009&quot; name=&quot;Jack&quot; price=&quot;190.09&quot; call=&quot;true&quot;/&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;s:DataItem key=&quot;1801&quot; name=&quot;Brush&quot; price=&quot;110.01&quot; call=&quot;true&quot;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;s:DataItem key=&quot;1002&quot; name=&quot;Clamp&quot; price=&quot;120.02&quot; call=&quot;false&quot;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;s:DataItem key=&quot;1303&quot; name=&quot;Drill&quot; price=&quot;130.03&quot; call=&quot;true&quot;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;s:DataItem key=&quot;1604&quot; name=&quot;Epoxy&quot; price=&quot;140.04&quot; call=&quot;false&quot;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;/s:ArrayCollection&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&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;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;s:Label x=&quot;71&quot; y=&quot;24&quot; fontFamily=&quot;Verdana&quot; fontSize=&quot;26&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; text=&quot;Adobe Flex 4.5 Spark DataGrid single cell copy&quot;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;s:DataGrid id=&quot;copyCellData&quot; x=&quot;71&quot; y=&quot;58&quot; width=&quot;350&quot; dataProvider=&quot;{userColl}&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;selectionMode=&quot;singleCell&quot;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;line-height: 18px; white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;s:columns&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;s:ArrayList&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&amp;lt;s:GridColumn dataField=&quot;key&quot; headerText=&quot;KEY&quot; itemRenderer=&quot;Renders.LabelRender&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&amp;lt;s:GridColumn dataField=&quot;name&quot; headerText=&quot;NAME&quot; itemRenderer=&quot;Renders.LabelRender&quot;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&amp;lt;s:GridColumn dataField=&quot;price&quot; headerText=&quot;PRICE&quot;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&amp;lt;s:GridColumn dataField=&quot;call&quot; headerText=&quot;CALL&quot;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;/s:ArrayList&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;/s:columns&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/s:DataGrid&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&amp;lt;/s:Application&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;Here is the code for &amp;nbsp;Itemrender:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;LabelRender.mxml&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&amp;lt;s:GridItemRenderer xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;xmlns:s=&quot;library://ns.adobe.com/flex/spark&quot;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&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; clipAndEnableScrolling=&quot;true&quot; &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&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;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&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 style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;override public function prepare(hasBeenRecycled:Boolean):void {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;lblData.text = data[column.dataField]&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&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 style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&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 style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&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;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&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 style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;mx:Label id=&quot;lblData&quot; left=&quot;7&quot; top=&quot;9&quot; &amp;nbsp;selectable=&quot;true&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&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 style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&amp;lt;/s:GridItemRenderer&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgf7j0hROBnC2om7vcvKSlRRKC1Clnr2defS4Wy-wtT5IJaQG0CypT6Ij5yB5PWQ6EQcBUCWiJmYAYMJLISyOPLaRLZ_a93QFJorNiXZlp8ZS4C2TU9yFgKzNuPMqU39sVFsIeUoEL18_o/s1600/DatagridCellCopy.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;174&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgf7j0hROBnC2om7vcvKSlRRKC1Clnr2defS4Wy-wtT5IJaQG0CypT6Ij5yB5PWQ6EQcBUCWiJmYAYMJLISyOPLaRLZ_a93QFJorNiXZlp8ZS4C2TU9yFgKzNuPMqU39sVFsIeUoEL18_o/s320/DatagridCellCopy.jpeg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;embed height=&quot;500&quot; pluginspage=&quot; http://www.macromedia.com/go/getflashplayer&quot; src=&quot;https://sites.google.com/site/adobeflex45/CopyAndPasteSparkDataGrid.swf&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;550&quot;&gt;&lt;/embed&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/9022601475483080761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/spark-datagrid-support-for-copy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/9022601475483080761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/9022601475483080761'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/spark-datagrid-support-for-copy.html' title='Spark DataGrid Support for Copy selected cell'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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/AVvXsEgf7j0hROBnC2om7vcvKSlRRKC1Clnr2defS4Wy-wtT5IJaQG0CypT6Ij5yB5PWQ6EQcBUCWiJmYAYMJLISyOPLaRLZ_a93QFJorNiXZlp8ZS4C2TU9yFgKzNuPMqU39sVFsIeUoEL18_o/s72-c/DatagridCellCopy.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4147108393845724784.post-8301947962051104150</id><published>2011-11-17T16:52:00.003-07:00</published><updated>2011-11-18T21:20:04.233-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Spark Components"/><title type='text'>Spark Datagrid Itemrender</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Here is the code for spark datagrid Itemrender&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;https://sites.google.com/site/adobeflex45/system/app/pages/admin/attachments/SparkDatagridItemrender.mxml&quot; target=&quot;_blank&quot;&gt;https://sites.google.com/site/adobeflex45/system/app/pages/admin/attachments/SparkDatagridItemrender.mxml&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;lt;s:Application xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&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;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&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; minWidth=&quot;955&quot; minHeight=&quot;600&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&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;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&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;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;s:ArrayList id=&quot;tourdata&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;fx:Object sno=&quot;1&quot; TourName=&quot;Atlanta to Nashville&quot; price=&quot;237.50&quot;&amp;gt;&amp;lt;/fx:Object&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;fx:Object sno=&quot;2&quot; TourName=&quot;Miami to Tampa&quot; price=&quot;197.87&quot;&amp;gt;&amp;lt;/fx:Object&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;fx:Object sno=&quot;3&quot; TourName=&quot;Chicago to california&quot; price=&quot;637.87&quot;&amp;gt;&amp;lt;/fx:Object&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;fx:Object sno=&quot;4&quot; TourName=&quot;Las vegas to New york&quot; price=&quot;777.54&quot;&amp;gt;&amp;lt;/fx:Object&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;/s:ArrayList&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&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;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;s:DataGrid x=&quot;45&quot; y=&quot;52&quot; width=&quot;451&quot; height=&quot;161&quot; dataProvider=&quot;{tourdata}&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;requestedRowCount=&quot;4&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;s:columns&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;s:ArrayList&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&amp;lt;s:GridColumn dataField=&quot;sno&quot; headerText=&quot;S.No&quot;&amp;gt;&amp;lt;/s:GridColumn&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&amp;lt;s:GridColumn dataField=&quot;TourName&quot; headerText=&quot;Tour Name&quot;&amp;gt;&amp;lt;/s:GridColumn&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&amp;lt;s:GridColumn dataField=&quot;price&quot; headerText=&quot;Price&quot; itemRenderer=&quot;Renders.PriceRender&quot;&amp;gt;&amp;lt;/s:GridColumn&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-family: Verdana, sans-serif; white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;/s:ArrayList&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;/s:columns&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-family: Verdana, sans-serif; white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-family: Verdana, sans-serif; white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/s:DataGrid&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;lt;/s:Application&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Itemrender:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;lt;s:GridItemRenderer xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;xmlns:s=&quot;library://ns.adobe.com/flex/spark&quot;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&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; clipAndEnableScrolling=&quot;true&quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;!--delete script section not required--&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;!--&amp;lt;fx:Script&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&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;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;override public function prepare(hasBeenRecycled:Boolean):void {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;lblData.text = data[column.dataField]&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&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;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&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;--&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&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;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;s:CurrencyFormatter id=&quot;priceFormatter&quot; useCurrencySymbol=&quot;true&quot;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&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;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;s:layout&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;s:HorizontalLayout horizontalAlign=&quot;right&quot; verticalAlign=&quot;middle&quot; paddingRight=&quot;7&quot;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-family: Verdana, sans-serif; white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/s:layout&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-family: Verdana, sans-serif; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;s:Label id=&quot;lblprice&quot; &amp;nbsp;text=&quot;{priceFormatter.format(data.price)}&quot;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-family: Verdana, sans-serif; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;lt;/s:GridItemRenderer&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;https://sites.google.com/site/adobeflex45/SparkDatagridItemrender.swf&quot; target=&quot;_blank&quot;&gt;Spark Datagrid Itemrender&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwo0by5_-z6AcMHd3bGRYsvEJyJXMjwkgNo04UjTD1tdkH7sn2SQfK3v2c3icEi8PF5qzTR0-kVR1VDifA4A_lCSZBd-0t3A41syZetIfBNkrgetgC1Qi1RdFUweTOT2sEyoNTxIWxut8/s1600/Itemrender.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;174&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwo0by5_-z6AcMHd3bGRYsvEJyJXMjwkgNo04UjTD1tdkH7sn2SQfK3v2c3icEi8PF5qzTR0-kVR1VDifA4A_lCSZBd-0t3A41syZetIfBNkrgetgC1Qi1RdFUweTOT2sEyoNTxIWxut8/s320/Itemrender.jpg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Spark Itemrender&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/8301947962051104150/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/spark-datagrid-itemrender.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/8301947962051104150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/8301947962051104150'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/spark-datagrid-itemrender.html' title='Spark Datagrid Itemrender'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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/AVvXsEgwo0by5_-z6AcMHd3bGRYsvEJyJXMjwkgNo04UjTD1tdkH7sn2SQfK3v2c3icEi8PF5qzTR0-kVR1VDifA4A_lCSZBd-0t3A41syZetIfBNkrgetgC1Qi1RdFUweTOT2sEyoNTxIWxut8/s72-c/Itemrender.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4147108393845724784.post-6553276175244144614</id><published>2011-11-15T22:49:00.001-07:00</published><updated>2011-11-19T14:23:23.574-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Spark Components"/><title type='text'>Spark Label</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Simple Hello World Program in Adobe Flex 4.5&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2eiOPYT7pyPZqaUTenYsmQELCdvJF32T5hPZjPtn0WFPHvVPUkZ9SBg6YZ2iz86r0ynmldNcy6hG1A2cKYNGN1JGJyI218Rkw1DcfLweRJhT8GquqA66eC5V93dZ3CZUtxgrr5MWRXLI/s1600/hello.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;174&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2eiOPYT7pyPZqaUTenYsmQELCdvJF32T5hPZjPtn0WFPHvVPUkZ9SBg6YZ2iz86r0ynmldNcy6hG1A2cKYNGN1JGJyI218Rkw1DcfLweRJhT8GquqA66eC5V93dZ3CZUtxgrr5MWRXLI/s320/hello.jpeg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;HELLO FROM ADOBE FLEX 4.5&lt;br /&gt;
&lt;br /&gt;
HERE IS THE CODE&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&amp;lt;s:Application xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: 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;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: 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; minWidth=&quot;955&quot; minHeight=&quot;600&quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: 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;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: 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;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: 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;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;s:Label fontFamily=&quot;Verdana&quot; fontSize=&quot;50&quot; horizontalCenter=&quot;0&quot; top=&quot;25&quot;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; text=&quot;Hello from Adobe Flex 4.5 ! &quot;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&amp;lt;/s:Application&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;embed height=&quot;100&quot; pluginspage=&quot; http://www.macromedia.com/go/getflashplayer&quot; src=&quot;https://sites.google.com/site/adobeflex45/Main.swf&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;550&quot;&gt;&lt;/embed&gt;</content><link rel='replies' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/6553276175244144614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/spark-label.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/6553276175244144614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/6553276175244144614'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/spark-label.html' title='Spark Label'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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/AVvXsEg2eiOPYT7pyPZqaUTenYsmQELCdvJF32T5hPZjPtn0WFPHvVPUkZ9SBg6YZ2iz86r0ynmldNcy6hG1A2cKYNGN1JGJyI218Rkw1DcfLweRJhT8GquqA66eC5V93dZ3CZUtxgrr5MWRXLI/s72-c/hello.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4147108393845724784.post-2779404930320961859</id><published>2011-11-14T20:50:00.002-07:00</published><updated>2011-11-19T14:16:04.124-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Spark Components"/><title type='text'>Spark Datagrid</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;Adobe Flex 4.5 has some really exciting new things in it. Among them my favorite is the new Spark DataGrid component.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;line-height: 16px; margin-bottom: 8px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The Spark DataGrid control provides the following features:&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;line-height: 16px; list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 10px; margin-right: 10px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li style=&quot;list-style: inherit; margin-bottom: 6px; margin-left: 12px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 3px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Interactive column width resizing&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;list-style: inherit; margin-bottom: 6px; margin-left: 12px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 3px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Control of column visibility&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;list-style: inherit; margin-bottom: 6px; margin-left: 12px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 3px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Cell and row selection&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;list-style: inherit; margin-bottom: 6px; margin-left: 12px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 3px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Single item and multiple item selection modes&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;list-style: inherit; margin-bottom: 6px; margin-left: 12px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 3px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Customizable column headers&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;list-style: inherit; margin-bottom: 6px; margin-left: 12px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 3px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Cell editing&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;list-style: inherit; margin-bottom: 6px; margin-left: 12px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 3px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Column sorting&lt;/span&gt;&lt;/div&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijaI0WoBUcMOY29LQjRM_KyzJjZ7_a8tCSFFhzhtSw-udWTTKwrX2woGibnB1aFrIIom6Pd8rHSTY9Aog4doQLVtQWxQmnNZMlQcQelAx66XHaKxx3SXKbZSmJPh0UVNKDy2_7S-8rrAo/s1600/sparkDatagrid.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;174&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijaI0WoBUcMOY29LQjRM_KyzJjZ7_a8tCSFFhzhtSw-udWTTKwrX2woGibnB1aFrIIom6Pd8rHSTY9Aog4doQLVtQWxQmnNZMlQcQelAx66XHaKxx3SXKbZSmJPh0UVNKDy2_7S-8rrAo/s320/sparkDatagrid.jpeg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Adobe Flex 4.5 Spark Datagrid&lt;br /&gt;
Here is the Code for Spark Datagrid&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&amp;lt;s:Application xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: 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;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: 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; minWidth=&quot;955&quot; minHeight=&quot;600&quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;s:layout&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;s:VerticalLayout/&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/s:layout&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: 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;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: 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;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;s:ArrayCollection id=&quot;userColl&quot;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;fx:Object &amp;nbsp;SNO=&quot;1&quot; USERNAME=&quot;FLEX&quot; EMAIL=&quot;flex@gmail.com&quot;/&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;fx:Object &amp;nbsp;SNO=&quot;2&quot; USERNAME=&quot;PHOTO SHOP&quot; EMAIL=&quot;photoshop@gmail.com&quot;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;fx:Object &amp;nbsp;SNO=&quot;3&quot; USERNAME=&quot;CSS&quot; EMAIL=&quot;css@gmail.com&quot;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;fx:Object &amp;nbsp;SNO=&quot;4&quot; USERNAME=&quot;JAVA&quot; EMAIL=&quot;java@gmail.com&quot;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;fx:Object &amp;nbsp;SNO=&quot;5&quot; USERNAME=&quot;PHP&quot; EMAIL=&quot;php@gmail.com&quot;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;fx:Object &amp;nbsp;SNO=&quot;6&quot; USERNAME=&quot;COLD FUSION&quot; EMAIL=&quot;coldfusion@gmail.com&quot;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;/s:ArrayCollection&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: 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;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;s:Label width=&quot;441&quot; height=&quot;42&quot; fontFamily=&quot;Verdana&quot; fontSize=&quot;26&quot;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; text=&quot;Adobe Flex 4.5 Spark DataGrid&quot;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;s:DataGrid id=&quot;mySparkDatagrid&quot; width=&quot;350&quot; dataProvider=&quot;{userColl}&quot;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;s:columns&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;s:ArrayList&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&amp;lt;s:GridColumn &amp;nbsp;dataField=&quot;SNO&quot; /&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&amp;lt;s:GridColumn dataField=&quot;USERNAME&quot;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&amp;lt;s:GridColumn dataField=&quot;EMAIL&quot;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;/s:ArrayList&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;/s:columns&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/s:DataGrid&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&amp;lt;/s:Application&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif, SimSun-18030; font-size: 11px; margin-bottom: 3px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;embed height=&quot;300&quot; pluginspage=&quot; http://www.macromedia.com/go/getflashplayer&quot; src=&quot;https://sites.google.com/site/adobeflex45/SparkDataGrid.swf&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;500&quot;&gt;&lt;/embed&gt;</content><link rel='replies' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/2779404930320961859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/spark-datagrid.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/2779404930320961859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/2779404930320961859'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/spark-datagrid.html' title='Spark Datagrid'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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/AVvXsEijaI0WoBUcMOY29LQjRM_KyzJjZ7_a8tCSFFhzhtSw-udWTTKwrX2woGibnB1aFrIIom6Pd8rHSTY9Aog4doQLVtQWxQmnNZMlQcQelAx66XHaKxx3SXKbZSmJPh0UVNKDy2_7S-8rrAo/s72-c/sparkDatagrid.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4147108393845724784.post-4365422154137335998</id><published>2011-11-14T16:59:00.000-07:00</published><updated>2011-11-14T16:59:37.312-07:00</updated><title type='text'>Video Player 4.5</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The VideoPlayer control is a skinnable video player that supports progressive  download, multi-bitrate streaming, and streaming video. The VideoPlayer control contains a full-featured UI for  controlling video playback.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;* Note&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;It supports playback of FLV and F4v files :)&lt;br /&gt;
&amp;nbsp;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;code&gt;VideoDisplay&lt;/code&gt; is the chromeless version that does not support  skinning. It is useful when you do not want the user to interact with the  control.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Here is the Sample code:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;lt;s:Application xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&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;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&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; minWidth=&quot;955&quot; minHeight=&quot;600&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&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;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&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;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&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;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;s:VideoPlayer horizontalCenter=&quot;0&quot; verticalCenter=&quot;0&quot;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt; &amp;nbsp; source=&quot;http://domain-name.com/filename.flv&quot;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt; &amp;nbsp; autoPlay=&quot;true&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;lt;/s:Application&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/4365422154137335998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/video-player-45.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/4365422154137335998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/4365422154137335998'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/video-player-45.html' title='Video Player 4.5'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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-4147108393845724784.post-8693960021659305306</id><published>2011-11-14T16:15:00.001-07:00</published><updated>2011-11-14T16:15:55.198-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Interview"/><title type='text'>Flex Interview Questions</title><content type='html'>&lt;div class=&quot;MsoListParagraph&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .25in; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-line-height-alt: 7.7pt; mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;1)&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;How will you remove the first element from the Array?&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-line-height-alt: 7.7pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The elements from the Array can be removed by using splice method. splice method accepts mainly two arguments. First one tells the starting index and second one the number of elements to be retrieved. This will return an array of the spliced elements. See the code below.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-line-height-alt: 7.7pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Var arr:Array= new Array(“a”,”b”,”c”,”d”);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-line-height-alt: 7.7pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Alert.Show(arr.toString());&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-line-height-alt: 7.7pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Arr.splice(1,arr.length-1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-line-height-alt: 7.7pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Alert.Show(arr.toString());&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;margin-left: .25in; mso-add-space: auto; mso-line-height-alt: 7.7pt; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;2)&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Can you share with us your experience regarding performance of the Flash 9 in a real time mode? What are your thoughts on advantages of using Flash 9 say in a real-time trading applications comparing to a tried-and-true Java Swing front end?&lt;br /&gt;
A.&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Flex is very capable of providing near real-time data rendering to the GUI and very high refresh rates on large data sets. Flash Player 9 is the high-performance modern virtual machine with precompiled optimized code and just-in-time (JIT) machine code compiler. And it is very possible to build the client portion of a real-time portfolio display integrated with news feeds and graphs with about 100 lines of Flex 2 code. A similar Java Swing program (even if it’s created by commercial IDEs) would be on average ten times larger.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;The real selling point becomes obvious on a second or third day of the proof of concept phase. A decent Flex developer should be able to prototype (short of server processing) most of the UI for specific trading system by the end of the first week. If you are lucky and the system integration went fine, you can add the collaboration features and multimedia – with total client code base for the whole project within 1000-1500 lines.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: .25in; mso-add-space: auto; mso-line-height-alt: 7.7pt; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;3)&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;if you move from one page to another in a pure Flash Web site, can you bookmark, say page #4?&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The bookmarking of the sites is still available on the browser. But in Flash-based applications you do not move from one page to another as there is no roundtrip to the server – essentially you are on the same URL all the time. What looks like a page to the user is just another screen in the either monolithic or dynamic application. The approach I would take is to make application bookmark the data the user is looking for – that provides you much richer insight into the user’s preferences and type of information he is customary searching for. That data would be associated with user and combined with regular URL bookmark upon the user re-logon/cookie retrieval.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;margin-left: .25in; mso-add-space: auto; mso-line-height-alt: 7.7pt; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;4)&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;What are three ways to skin a component in flex?&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Skinning is the process of changing the appearance of a component by modifying or replacing its&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;visual elements. These elements can be made up of images swf files or class files that contain&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;drawing API methods.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;There are several ways that you can define skins: inline, by using the setStyle() method, and by using&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Cascading Style Sheets (CSS).&lt;span style=&quot;background: white;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .25in; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;5)&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;How do I get access to the J2EE session from my RemoteObjects?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The AMF Gateway provides access to the current HttpServletRequest instance in a thread local variable. The session can be obtained from the request, as follows:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in; text-indent: .5in;&quot;&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;flashgateway.Gateway.getHttpRequest().getSession();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .25in; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-list: l0 level1 lfo1; mso-outline-level: 1; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;6)&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Why are my ValueObject member variables undefined in the results from my RemoteObject requests?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 40.5pt; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-outline-level: 1;&quot;&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Flash Player deserializes objects in a special order that can confuse developers used to object serialization from other RPC systems. When a strongly typed object is returned to the player, it first creates an instance from the prototype of the registered class without calling the constructor. It then populates the object with the properties sent in the result. Finally, it calls the constructor without arguments.&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif;&quot;&gt;If your ValueObject constructor expects arguments to initialize an instance, be sure to check whether arguments were actually sent to the constructor before overriding member variable values.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .25in; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-list: l0 level1 lfo1; mso-outline-level: 1; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;7)&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif;&quot;&gt;What is MVC and how do you relate it to flex apps&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 40.5pt; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-outline-level: 1;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif;&quot;&gt;The goal of the Model-View-Controller (MVC) architecture is that by&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 40.5pt; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-outline-level: 1;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif;&quot;&gt;creating components with a well-defined and limited scope inyour application, you increase the&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 40.5pt; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-outline-level: 1;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif;&quot;&gt;reusability of the components and improve the maintainability of the overall system. Using the MVC&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 40.5pt; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-outline-level: 1;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif;&quot;&gt;architecture, you can partition your system into three categories of components:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 40.5pt; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-outline-level: 1;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif;&quot;&gt;* Model components Encapsulates data and behaviors related to the data.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 40.5pt; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-outline-level: 1;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif;&quot;&gt;* View components Defines your application&#39;s user interface.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 40.5pt; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-outline-level: 1;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif;&quot;&gt;* Controller components Handles the data interconnectivity in your application.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-outline-level: 1; text-indent: .5in;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif;&quot;&gt;8)Explain Metadata&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 40.5pt; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-outline-level: 1;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif;&quot;&gt;You insert metadata tags into your MXML and ActionScript files to provide information to the Adobe Flex compiler. Metadata tags do not get compiled into executable code, but provide information to control how portions of your code get compiled.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 40.5pt; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-outline-level: 1;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 40.5pt; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-outline-level: 1;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif;&quot;&gt;9)What are the channels and their types&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 40.5pt; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-outline-level: 1;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif;&quot;&gt;The Channel class is the base message channel class that all channels in the messaging system must extend.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 40.5pt; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-outline-level: 1;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif;&quot;&gt;Channels are specific protocol-based conduits for messages sent between MessageAgents and remote destinations. Preconfigured channels are obtained within the framework using the ServerConfig.getChannel() method. You can create a Channel directly using the new operator and add it to a ChannelSet directly&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 40.5pt; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-outline-level: 1;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif;&quot;&gt;In Flex AMFChannel is used mostly. Action Message Format&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 40.5pt; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-outline-level: 1;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif;&quot;&gt;Methods&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 40.5pt; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-outline-level: 1;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif;&quot;&gt;applySettings (),connect(),connectFailed(),connectSuccess(), connectTimeoutHandler()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 40.5pt; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-outline-level: 1;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 40.5pt; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-outline-level: 1;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif;&quot;&gt;disconnect(),disconnectFailed(),disconnectSuccess(),flexClientWaitHandler(), getMessageResponder(),internalConnect(),internalDisconnect(),internalSend(),logout()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 40.5pt; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-outline-level: 1;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif;&quot;&gt;send(),setCredentials()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 40.5pt; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-outline-level: 1;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif;&quot;&gt;Properties&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 40.5pt; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-outline-level: 1;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif;&quot;&gt;reconnecting,recordMessageSizes,recordMessageTimes,reQuestionuestTimeout,uri&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h1 style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif; font-weight: normal;&quot;&gt;10)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-weight: normal;&quot;&gt; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-weight: normal;&quot;&gt;When I set visible=&quot;false&quot;, the component still takes up space and appears in the tab order. Why is that?&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background: white; line-height: 11.5pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 40.5pt; margin-right: 0in; margin-top: 0in; mso-add-space: auto; mso-outline-level: 1;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 40.5pt; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif;&quot;&gt;You can often achieve the &quot;display=none&quot; effect by setting the height/width to zero when you set it invisible, and then set it back to a fixed value or to undefined when you make it visible again&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/8693960021659305306/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/flex-interview-questions_14.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/8693960021659305306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/8693960021659305306'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/flex-interview-questions_14.html' title='Flex Interview Questions'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4147108393845724784.post-8084079441776042354</id><published>2011-11-13T14:12:00.000-07:00</published><updated>2011-11-13T14:12:49.541-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Spark Components"/><title type='text'>Spark Currency Formatter</title><content type='html'>Spark Currency Formatter&lt;br /&gt;
&lt;br /&gt;
Here is the component&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhV8zntHeqqKMRfIkWVUmSjZYyx6hPwOvdXF8OWZyOzc0HT70DROTdSZdg7JPOHG7aiGu4r92SAXM9c5java-kDTVR4PYHjosP6ksac3_WdPJi-PF6kLvX3Ln83-anEETpw6VJzXO1uIew/s1600/Currency.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;174&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhV8zntHeqqKMRfIkWVUmSjZYyx6hPwOvdXF8OWZyOzc0HT70DROTdSZdg7JPOHG7aiGu4r92SAXM9c5java-kDTVR4PYHjosP6ksac3_WdPJi-PF6kLvX3Ln83-anEETpw6VJzXO1uIew/s320/Currency.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Currency formatter&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&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;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; &amp;nbsp;fontSize=&quot;18&quot; locale=&quot;{c.selectedItem}&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; &amp;nbsp; &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;
&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;lt;s:layout&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;s:VerticalLayout horizontalAlign=&quot;center&quot; paddingTop=&quot;10&quot; paddingBottom=&quot;10&quot; paddingLeft=&quot;10&quot; paddingRight=&quot;10&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt; &amp;nbsp;gap=&quot;8&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;/s:layout&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;
&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;s:CurrencyFormatter id=&quot;cf&quot; useCurrencySymbol=&quot;true&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;s:DateTimeFormatter id=&quot;df&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;s:Label text=&quot;CURRENCY FORMATTER&quot; fontSize=&quot;16&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;s:Label text=&quot;Select a locale to see the formatted currency and date of your Choice&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;s:ComboBox id=&quot;c&quot; selectedItem=&quot;en-US...&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;s:dataProvider&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;s:ArrayList&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:String&amp;gt;de-DE&amp;lt;/fx:String&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:String&amp;gt;en-US&amp;lt;/fx:String&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:String&amp;gt;es-ES&amp;lt;/fx:String&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:String&amp;gt;fi-FI&amp;lt;/fx:String&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:String&amp;gt;fr-FR&amp;lt;/fx:String&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:String&amp;gt;it-IT&amp;lt;/fx:String&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:String&amp;gt;ja-JP&amp;lt;/fx:String&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:String&amp;gt;ko-KR&amp;lt;/fx:String&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:String&amp;gt;nb-NO&amp;lt;/fx:String&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:String&amp;gt;pt-PT&amp;lt;/fx:String&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:String&amp;gt;ru-RU&amp;lt;/fx:String&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:String&amp;gt;zh-CN&amp;lt;/fx:String&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;/s:ArrayList&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;/s:dataProvider&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;/s:ComboBox&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;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;s:Label text=&quot;{cf.format(17.7)}&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;s:Label text=&quot;{df.format(new Date())}&quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/s:Application&amp;gt;</content><link rel='replies' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/8084079441776042354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/spark-currency-formatter.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/8084079441776042354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/8084079441776042354'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/spark-currency-formatter.html' title='Spark Currency Formatter'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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/AVvXsEhV8zntHeqqKMRfIkWVUmSjZYyx6hPwOvdXF8OWZyOzc0HT70DROTdSZdg7JPOHG7aiGu4r92SAXM9c5java-kDTVR4PYHjosP6ksac3_WdPJi-PF6kLvX3Ln83-anEETpw6VJzXO1uIew/s72-c/Currency.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4147108393845724784.post-6664308779056884274</id><published>2011-11-13T13:34:00.004-07:00</published><updated>2011-11-19T13:42:36.726-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Spark Components"/><title type='text'>Spark Form</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Here is the Sample Spark Form for Adobe Flex 4.5&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq4DOaeSjnNgJje1zpokBWfuUcShpztpmQmG1J-DIyFW8LwXthjbhuU5OY4z7IVdT7jPMjHGjZ40BJ63shkthDb0vsdxPGkw81DzJaelmBU4V0yfsKp7AVKVTa-Mg1eP-qUAUrquXeXXw/s1600/SparkForm.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;174&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq4DOaeSjnNgJje1zpokBWfuUcShpztpmQmG1J-DIyFW8LwXthjbhuU5OY4z7IVdT7jPMjHGjZ40BJ63shkthDb0vsdxPGkw81DzJaelmBU4V0yfsKp7AVKVTa-Mg1eP-qUAUrquXeXXw/s320/SparkForm.jpeg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Spark Form&amp;nbsp;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;lt;s:Application xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&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;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&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; minWidth=&quot;955&quot; minHeight=&quot;600&quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&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;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&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;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&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;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;s:Panel title=&quot;PERSONAL INFO PAGE&quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-family: Verdana, sans-serif; white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-family: Verdana, sans-serif; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;s:Form horizontalCenter=&quot;0&quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;s:FormItem width=&quot;267&quot; height=&quot;39&quot; label=&quot;EMAIL ID&quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;s:TextInput/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;/s:FormItem&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;s:FormItem label=&quot;PASSWORD&quot; &amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;s:TextInput displayAsPassword=&quot;true&quot;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;/s:FormItem&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;s:FormItem label=&quot;SELECT GENDER&quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;s:CheckBox label=&quot;MALE&quot;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;s:CheckBox label=&quot;FEMALE&quot;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;/s:FormItem&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;s:Button label=&quot;Submit it!&quot;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/s:Form&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/s:Panel&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;lt;/s:Application&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Click Below link. That will display Spark Form:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;https://sites.google.com/site/adobeflex45/SparkForm.swf&quot; target=&quot;_blank&quot;&gt;SparkForm &lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;embed height=&quot;500&quot; pluginspage=&quot; http://www.macromedia.com/go/getflashplayer&quot; src=&quot;https://sites.google.com/site/adobeflex45/SparkForm.swf&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;400&quot;&gt;&lt;/embed&gt;</content><link rel='replies' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/6664308779056884274/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/spark-form.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/6664308779056884274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/6664308779056884274'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/spark-form.html' title='Spark Form'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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/AVvXsEgq4DOaeSjnNgJje1zpokBWfuUcShpztpmQmG1J-DIyFW8LwXthjbhuU5OY4z7IVdT7jPMjHGjZ40BJ63shkthDb0vsdxPGkw81DzJaelmBU4V0yfsKp7AVKVTa-Mg1eP-qUAUrquXeXXw/s72-c/SparkForm.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4147108393845724784.post-975581460782780447</id><published>2011-11-12T20:21:00.001-07:00</published><updated>2011-11-12T20:21:45.578-07:00</updated><title type='text'>Flex Interview Questions</title><content type='html'>1) What are the differences b/w AS 2.0 and AS 3.0.&lt;br /&gt;
2) Differences b/w Undefined and Object.&lt;br /&gt;
3) Differences b/w Array and ArrayCollection.&lt;br /&gt;
4) What is Binding? How can we create bindable classes and bindable methods.&lt;br /&gt;
5) What is abstraction ?&lt;br /&gt;
6) What is localization in Flex?&lt;br /&gt;
7) Item rendering in AS and MXML.&lt;br /&gt;
8) How can we populate the data from XML to Tree?&lt;br /&gt;
9) What is Shared Object?&lt;br /&gt;
10) What is Remoting and how can we call RemoteObject?&lt;br /&gt;
11) How can we work with Javascript methods in AS?&lt;br /&gt;
12) How can we create custom components? In how many ways can we create those.&lt;br /&gt;
13) How can we access the properties of a Dynamic object in Flex?&lt;br /&gt;
14) What is Encapsulation?&lt;br /&gt;
15) What are the access specifiers in AS?&lt;br /&gt;
16) Diff b/w internal and private access specifiers?&lt;br /&gt;
17) How many ways we can write AS in Flex?&lt;br /&gt;
18) What is MXML?&lt;br /&gt;
19) Diff b/w Flex and AIR?&lt;br /&gt;
20) What is LCDS? How it helpful to flex?&lt;br /&gt;
21) What is MVC? Describe any framework in Flex?&lt;br /&gt;
22) How can we override methods in AS?&lt;br /&gt;
23) What is an interface and package?&lt;br /&gt;
24) How can we make a communication b/w two SWC’s?&lt;br /&gt;
25) How can we release a Flex project?&lt;br /&gt;
26) File Management System in Flex?&lt;br /&gt;
27) How can we animate images and effects?&lt;br /&gt;
28) What are main containers in Flex?&lt;br /&gt;
29) Explain about layouts in Flex?&lt;br /&gt;
30) What is the default layout in Flex?&lt;br /&gt;
31) What is diff b/w a Panel and a Canvas ?&lt;br /&gt;
32) What is RPC?&lt;br /&gt;
33) HttpService class in Flex?&lt;br /&gt;
34) Drag and Drop functionality in Flex with any control like DataGrid?&lt;br /&gt;
35) What is the diff b/w List, HorizontalList and TileList ?&lt;br /&gt;
36) Inheritance and Polymorphism in AS?&lt;br /&gt;
37) Explain Flex architecture ?&lt;br /&gt;
38) Describe AIR features?&lt;br /&gt;
39) Explain RIA features?&lt;br /&gt;
40) What are the diff b/w Flex and Flash?</content><link rel='replies' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/975581460782780447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/flex-interview-questions.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/975581460782780447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/975581460782780447'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/flex-interview-questions.html' title='Flex Interview Questions'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4147108393845724784.post-4999416497003883753</id><published>2011-11-12T20:19:00.001-07:00</published><updated>2011-11-17T21:11:03.333-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Links"/><title type='text'>Flex Documentation links</title><content type='html'>Flex Documentation link: &lt;a href=&quot;http://livedocs.adobe.com/flex/3/flex3_documentation.zip&quot;&gt;http://livedocs.adobe.com/flex/3/flex3_documentation.zip&lt;/a&gt;&lt;br /&gt;
Component Explorer: &lt;a href=&quot;http://examples.adobe.com/flex3/componentexplorer/explorer.html&quot;&gt;http://examples.adobe.com/flex3/componentexplorer/explorer.html&lt;/a&gt;&lt;br /&gt;
Style Explorer: &lt;a href=&quot;http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html&quot;&gt;http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html&lt;/a&gt;&lt;br /&gt;
Tour De Flex (Download and Install it Will solve your lots of Questions- Requires AIR) : &lt;a href=&quot;http://www.adobe.com/devnet/flex/tourdeflex/&quot;&gt;http://www.adobe.com/devnet/flex/tourdeflex/&lt;/a&gt;&lt;br /&gt;
Adobe Flex in a Week: &lt;a href=&quot;http://www.adobe.com/devnet/flex/videotraining/&quot;&gt;http://www.adobe.com/devnet/flex/videotraining/&lt;/a&gt;&lt;br /&gt;
Adobe Online resources: &lt;a href=&quot;http://www.anandvardhan.com/adobe-resources/&quot;&gt;http://www.anandvardhan.com/adobe-resources/&lt;/a&gt;&lt;br /&gt;
Flex 2 FMS Explorer&lt;br /&gt;
&lt;a href=&quot;http://www.flash-communications.net/technotes/flex2FMSExplorer/flex2FMSExplorer.html&quot;&gt;http://www.flash-communications.net/technotes/flex2FMSExplorer/flex2FMSExplorer.html&lt;/a&gt;Help: &lt;a href=&quot;http://www.flash-communications.net/technotes/flex2FMSExplorer/&quot;&gt;http://www.flash-communications.net/technotes/flex2FMSExplorer/&lt;/a&gt;&lt;br /&gt;
Away3D explorer for Flex&lt;br /&gt;
http://www.nielsbruin.nl/flex_examples/away3d/Download from :http://away3d.com/downloads&lt;br /&gt;
Flex 2 Primitive Explorer&lt;br /&gt;
http://www.flexibleexperiments.com/Flex/PrimitiveExplorer/Flex2PrimitiveExplorer.html&lt;br /&gt;
Flex Examples&lt;br /&gt;
http://blog.flexexamples.com/&lt;br /&gt;
Flex 2 Component Explorer&lt;br /&gt;
http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html&lt;br /&gt;
Flex 3 Component Explorer&lt;br /&gt;
http://examples.adobe.com/flex3/componentexplorer/explorer.html&lt;br /&gt;
Flex 2 Style Explorers&lt;br /&gt;
http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleExplorer.html&lt;br /&gt;
Flex 3 Style Explorers&lt;br /&gt;
http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html&lt;br /&gt;
Charting Components Explorer&lt;br /&gt;
http://demo.quietlyscheming.com/ChartSampler/app.html&lt;br /&gt;
JAM – Just ActionScript and MXML&lt;br /&gt;
http://www.onflex.org/code/2006/08/fresh-jam-flex-app-right-click-for.html&lt;br /&gt;
FlexSpy – To modify and inspect all the visual components off Flex&lt;br /&gt;
http://www.mieuxcoder.com/data/2007/12/FlexSpy-1.2/dashboard.html&lt;br /&gt;
A directory of Adobe Flex components&lt;br /&gt;
http://flexbox.mrinalwadhwa.com/&lt;br /&gt;
Flex Style Creator&lt;br /&gt;
http://www.flexonrails.net/stylescreator/public/&lt;br /&gt;
Easing Effects Explorer&lt;br /&gt;
http://www.madeinflex.com/img/entries/2007/05/customeasingexplorer.html&lt;br /&gt;
Color Explorer&lt;br /&gt;
http://kuler.adobe.com/&lt;br /&gt;
Cairngorm Diagram Explorer&lt;br /&gt;
http://www.cairngormdocs.org/tools/CairngormDiagramExplorer.html&lt;br /&gt;
Resize Manager&lt;br /&gt;
http://www.flex-flex.net/flex/ResizeManager/ResizeManager.htmlhttp://blogs.adobe.com/flexdoc/2007/03/creating_resizable_and_draggab.htmlhttp://www.teotigraphix.com/explorers/ResizeManagerFX/ResizeManagerFXExplorer.html&lt;br /&gt;
Flex Enhanced Button Skin Explorer&lt;br /&gt;
http://www.wabysabi.com/flex/enhancedbuttonskin/&lt;br /&gt;
Flex Book&lt;br /&gt;
http://www.rubenswieringa.com/code/as3/flex/Book/&lt;br /&gt;
Distortion Effects Explorer&lt;br /&gt;
http://www.alex-uhlmann.de/flash/adobe/blog/distortionEffects/effectCube/&lt;br /&gt;
Random Walk&lt;br /&gt;
http://demo.quietlyscheming.com/RandomWalk/IconWalk.html&lt;br /&gt;
Flex Super Panel&lt;br /&gt;
http://www.wietseveenstra.nl/files/flex/SuperPanel/v1_5/MainView.html&lt;br /&gt;
Chart Range Selection Component&lt;br /&gt;
http://www.stretchmedia.ca/code_examples/chart_range_selection/main.html&lt;br /&gt;
Dual Slider&lt;br /&gt;
http://www.visualconcepts.ca/flex2/dualslider2/DualSlideTest.html&lt;br /&gt;
Advance Form&lt;br /&gt;
http://www.renaun.com/flex2/AdvancedForm/&lt;br /&gt;
Drag Tile&lt;br /&gt;
http://demo.quietlyscheming.com/DragTile/Alphabet.html&lt;br /&gt;
Dictionary – Word Information&lt;br /&gt;
http://mark-shepherd.com/thesaurus/&lt;br /&gt;
Flex Text Effects Explorer&lt;br /&gt;
http://www.sakri.net/technology/flash/flex/flex_text_effects/FlexTextEffectsExplorer.html&lt;br /&gt;
Flex Presentations – You can also add your presentations in thishttp://www.asfusion.com/projects/cf-presenter/&lt;br /&gt;
MXNA Reader&lt;br /&gt;
http://www.asfusion.com/mxna/&lt;br /&gt;
Drop Shadow&lt;br /&gt;
http://www.asfusion.com/examples/item/drop-shadow-en-flash-8&lt;br /&gt;
Bevel Filters&lt;br /&gt;
http://www.asfusion.com/examples/item/bevel-filter-en-flash-8&lt;br /&gt;
Bevel Filters&lt;br /&gt;
http://www.jamesward.com/census/&lt;br /&gt;
Getting Started&lt;br /&gt;
http://learn.adobe.com/wiki/display/Flex/Getting+Started&lt;br /&gt;
Flex 3 Help&lt;br /&gt;
http://livedocs.adobe.com/flex/3/html/index.html&lt;br /&gt;
Reflection Explorer&lt;br /&gt;
http://www.wietseveenstra.nl/files/flex/ReflectionExplorer/v1_0/ReflectionExplorer.html&lt;br /&gt;
DZone – Community for developers&lt;br /&gt;
http://www.dzone.com&lt;br /&gt;
Flex.org – Community for Flex developers&lt;br /&gt;
http://flex.org&lt;br /&gt;
Degrafa – Declarative graphics framework for Flex. Degrafa allows you to use MXML markup to draw shapes, make complex graphics, create skins and also includes advanced CSS support.&lt;br /&gt;
http://www.degrafa.com/&lt;br /&gt;
Text layout Editor&lt;br /&gt;
http://www.madeinflex.com/img/entries/2007/05/customeasingexplorer.html&lt;br /&gt;
Custom Easing Function Explorer&lt;br /&gt;
http://labs.adobe.com/technologies/textlayout/demos/&lt;br /&gt;
Flex Games&lt;br /&gt;
http://s3.amazonaws.com/apphost/MGB.html&lt;br /&gt;
tour-de-flex Component Explorer&lt;br /&gt;
http://arunbluebrain.wordpress.com/2008/11/19/tour-de-flex-component-explorer/&lt;br /&gt;
Flex Samples&lt;br /&gt;
http://www.adobe.com/devnet/flex/?navID=sampleshttp://www.adobe.com/devnet/flex/community_samples.html&lt;br /&gt;
Flex Applications&lt;br /&gt;
http://www.onflex.org/flexapps/applications/Flipper/&lt;br /&gt;
Scrawl Application&lt;br /&gt;
http://www.thebetterside.com/scrawl/ScrawlExample4.html&lt;br /&gt;
Display Shelf&lt;br /&gt;
http://demo.quietlyscheming.com/displayShelf/index.html&lt;br /&gt;
Rating Component&lt;br /&gt;
http://www.flexibleexperiments.com/Flex/RatingComponent/Blog_Post_Rating_Component.html&lt;br /&gt;
Create Flow Chart&lt;br /&gt;
http://my.lovelycharts.com/&lt;br /&gt;
Designer Effects for Flex&lt;br /&gt;
http://www.efflex.org/&lt;br /&gt;
find answers to your Flex questions&lt;br /&gt;
http://sandboxviolation.appspot.com&lt;br /&gt;
Flex 3 regular expression explorer&lt;br /&gt;
http://ryanswanson.com/regexp/#start&lt;br /&gt;
Adobe bugs and issue management system&lt;br /&gt;
http://bugs.adobe.com/jira/secure/Dashboard.jspa&lt;br /&gt;
Rich Spatial Flex viewer&lt;br /&gt;
http://flex888.com/lab/geoweb/flexviewer/&lt;br /&gt;
Color tool&lt;br /&gt;
http://www.adobe.com/cfusion/marketplace/index.cfm?event=marketplace.offering&amp;amp;offeringid=10763&amp;amp;marketplaceid=1&lt;br /&gt;
Advance data visualization for flex&lt;br /&gt;
http://www.ilog.com/products/ilogelixir/demos/&lt;br /&gt;
RIA Trax Explorer&lt;br /&gt;
http://www.insideria.com/2009/03/riatrax-flex-event-tracking-no.htmlhttp://labs.happytoad.com/RIATrax/explorer/&lt;br /&gt;
25 Excellent And Useful Adobe AIR Tutorials &amp;amp; Resources&lt;br /&gt;
http://www.smashingapps.com/2009/03/06/25-excellent-and-useful-adobe-air-tutorials-resources.html&lt;br /&gt;
Visualization Explorer&lt;br /&gt;
http://lab.benstucki.net/archives/visualizationexplorer/&lt;br /&gt;
CSS3 Box Explorer&lt;br /&gt;
http://lab.benstucki.net/archives/css3boxexplorer/&lt;br /&gt;
Scroller Explorer&lt;br /&gt;
http://lab.benstucki.net/archives/scrollerexplorer/&lt;br /&gt;
Pixel 3D Explorer&lt;br /&gt;
http://lab.benstucki.net/archives/pixel3dexplorer/&lt;br /&gt;
Google Social Graph Explorer&lt;br /&gt;
http://dreamingwell.com/examples/flex/googleSocial/GoogleSocial.htmlhttp://www.tarasnovak.com/lab/FlexSVGExplorer/01/FlexSVGExplorer.html#&lt;br /&gt;
Component Framework&lt;br /&gt;
http://blog.benstucki.net/index.php?paged=10&lt;br /&gt;
Opensocial&lt;br /&gt;
http://code.google.com/p/opensocial-actionscript-client-sdk/http://code.google.com/p/as3opensociallib/&lt;br /&gt;
Library of Flex Components&lt;br /&gt;
http://code.google.com/p/flexlib/&lt;br /&gt;
Open Flux – Framework&lt;br /&gt;
http://code.google.com/p/openflux/&lt;br /&gt;
Degrafa – Declarative graphics framework for Flex. Degrafa allows you to use MXML markup to draw shapes, make complex graphics, create skins and also includes advanced CSS support.&lt;br /&gt;
http://code.google.com/p/degrafa/&lt;br /&gt;
FlexLib Component List&lt;br /&gt;
http://code.google.com/p/flexlib/wiki/ComponentList&lt;br /&gt;
Firebug for flex applications&lt;br /&gt;
http://code.google.com/p/fxspy/&lt;br /&gt;
lightweight logger extension for Flex 3-4, AIR and Flash 9-10 applications&lt;br /&gt;
http://code.google.com/p/flash-thunderbolt/&lt;br /&gt;
List of 31 Flex APIs, Libraries, Components and Tools&lt;br /&gt;
http://seantheflashguy.com/blog/2007/08/21/list-of-31-flex-apis-libraries-components-and-tools/&lt;br /&gt;
List of 22 ActionScript 3.0 API’s&lt;br /&gt;
http://seantheflashguy.com/blog/2007/08/13/list-of-22-actionscript-30-apis/&lt;br /&gt;
ActionScript 3.0 APIs developed specifically for Adobe Flex and AIR.&lt;br /&gt;
http://www.ericfeminella.com/blog/actionscript-3-apis/&lt;br /&gt;
ASMailer : The ASMailer class sends emails using an SMTP server. ASMailer sends mail without the need of a server side language like PHP or JSP.&lt;br /&gt;
http://asmailer.riaforge.org/&lt;br /&gt;
Away3d 2.1 : Away3D is a realtime 3d engine for flash in ActionScript 3.0&lt;br /&gt;
http://away3d.com/away3d-21-demos-docs&lt;br /&gt;
Bullet Graph : A good way to show actual time spent vs. the estimated time for a project&lt;br /&gt;
http://agileui.blogspot.com/2008/05/bullet-graph-free-flex-component.html&lt;br /&gt;
Degrafa : Declarative Graphics Framework&lt;br /&gt;
http://www.degrafa.com/&lt;br /&gt;
Desuade Partigen : Desuade Partigen is an extension for Adobe Flash which lets you create realistic vector and raster particle effects (such as fire, smoke, sparkles), without requiring you to do any complex coding.&lt;br /&gt;
http://desuade.com/products/partigen/&lt;br /&gt;
EasyMVC : EasyMVC is an event driven MVC framework which focuses on flexibility while not getting in the developers way.&lt;br /&gt;
http://projects.simb.net/easyMVC/&lt;br /&gt;
Five3D : vector-based 3d rendering framework by Mathieu Badimon – has just received a significant update, bringing it to version 2.1. New features this version brings: Back Face Culling, Flat Shading, Z-sorting, Space Drawing functions, Bitmap3D class, Video3D class, Sprite2D Class, Letter Spacing, Text Width&lt;br /&gt;
http://five3d.mathieu-badimon.com/&lt;br /&gt;
Flash Player 10 API Documentation!&lt;br /&gt;
http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_as3langref_052008.zip&lt;br /&gt;
Flex 3 Performance and Memory Profiling : Memory profiling lets you look at objects being created, take snapshots and compare them. Performance profiling allows snapshots for looking at cumulative and internal time.&lt;br /&gt;
http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_Performance_and_Memory_Profiling&lt;br /&gt;
Flex 3 RSLs : Use Flex 3 runtime-shared-libraries (RSLs) to reduce the size of your applications and thereby reduce the time required to download the application. RSLs are just SWF files whose code is used as a shared library between different application SWF files.&lt;br /&gt;
http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:Flex_3_RSLs&lt;br /&gt;
Flex 4 States syntax changes : Flex 4 will target all of the legacy usage scenarios of classic Flex states functionality (stateful components, states as application views or pages, effects and transitions between view states, etc.). This document outlines what is primarily a syntax change for the existing functionality.&lt;br /&gt;
http://opensource.adobe.com/wiki/display/flexsdk/Enhanced+States+Syntax&lt;br /&gt;
Flex and Flex Developers Magazine&lt;br /&gt;
http://www.ffdmag.com/&lt;br /&gt;
Flex Designer Scroll Bars : skinny little tone on tone scroll bars that have no scroll arrows&lt;br /&gt;
http://www.gskinner.com/blog/archives/2008/05/designer_scroll.html&lt;br /&gt;
FlexMDI : flexmdi is a robust, extensible Multiple Document Interface framework for Adobe Flex.&lt;br /&gt;
http://code.google.com/p/flexmdi/&lt;br /&gt;
Flex Resource Bundles : Resource bundle is a set of values that you externalize from your source code in a properties file. And it can be swapped out at compile time or, with Flex 3, at runtime. Think of it like a style sheet for values.&lt;br /&gt;
http://blog.extends.eventdispatcher.org/roger/introduction-to-flex-resource-bundles/&lt;br /&gt;
FOAM : two-dimensional rigid body physics engine written in ActionScript 3.0.&lt;br /&gt;
http://code.google.com/p/foam-as3/&lt;br /&gt;
Go3D : Cool Tweening Engine, the Go3D which give you more control over moving objects in 3d space.&lt;br /&gt;
http://code.google.com/p/goplayground/source/checkout&lt;br /&gt;
GoogleMap Flex Component : A new component for Flex Developers who want to add more control or be very well organized.&lt;br /&gt;
http://www.igorcosta.org/?p=140&lt;br /&gt;
Guttershark : Actionscript 3 library that pushes some simple conventions on you, only to make you faster as a developer. It’s a pattern for Flash development that cuts out a huge amount of time, especially when you’re in the first stages of development.&lt;br /&gt;
http://www.guttershark.net/&lt;br /&gt;
ILOG Elixir : A suite of professional user interface controls that gives developers a rich collection of innovative and interactive data display components. It includes ready-to-use schedule displays, map displays, dials, gauges, 3D and radar charts, a treemap chart and organization charts.&lt;br /&gt;
http://www.ilog.com/products/ilogelixir/&lt;br /&gt;
LoadingImage : Takes a regular Flex Image component, and adds a self contained ProgressBar to it to show its own loading progress.&lt;br /&gt;
http://www.munkiihouse.com/?p=135&lt;br /&gt;
Logger Library and RIALogger : The Logger component provides classes to that abstract the Flex 2 Log and logging Target classes. It provides a simple approach to logging messages with category information and provide hooks into multiple targets. It supports the following logging targets by default: RIALoggerTarget, TraceTarget (trace()), XPanelTarget, and FlexTracePanelTarget. The LogController also provides functionality to allow you to setup your own custom logging Target.&lt;br /&gt;
http://renaun.com/blog/flex-components/rialogger/&lt;br /&gt;
Mate : Mate is a tag-based, event-driven Flex framework.&lt;br /&gt;
http://mate.asfusion.com/index.cfm&lt;br /&gt;
Merapi : Merapi is a new project that is a framework for connecting AIR to java at the desktop.&lt;br /&gt;
http://adamflater.blogspot.com/search/?q=merapi&lt;br /&gt;
MinimalComps : Minimal AS3 UI Component Set : CheckBox, PushButton, HSlider, VSlider, InputText, ProgressBar, RadioButton, ColorChooser (text input only) and Panel.&lt;br /&gt;
http://www.bit-101.com/minimalcomps/&lt;br /&gt;
OpenFlux : OpenFlux is an open-source Flex component framework which allows developers to create radically new and custom Flex components.&lt;br /&gt;
http://code.google.com/p/openflux/&lt;br /&gt;
PeekPanel : Cool way to hide options or preferences in an application. It borrows the look and feel from the FlexBook/PageFlip components already out there, but instead of simulating a book, this is more of a way to use the “flip” to hide other components.&lt;br /&gt;
http://www.billdwhite.com/wordpress/?p=29&lt;br /&gt;
PlexiGlass&lt;br /&gt;
http://www.bobjim.com/category/plexiglass/&lt;br /&gt;
Share (Document Services API) : Online service provided by Adobe that allows you to share, publish, and organize documents online.&lt;br /&gt;
http://code.google.com/p/as3sharelib/downloads/list&lt;br /&gt;
Slide : Slide is an application framework for projects built in Flex 2 or 3. Using familiar design patterns, Slide provides a robust MVC structure, view state management decoupled from view implementation and a flexible approach to model and controller access, eliminating need for singleton classes.&lt;br /&gt;
http://code.google.com/p/flex-slide/&lt;br /&gt;
Sandy 3.0.2 : Sandy is an intuitive and user-friendly 3D open-source library.&lt;br /&gt;
http://www.flashsandy.org/versions/3.0&lt;br /&gt;
Sprouts : Sprouts is an open-source, cross-platform project generation and configuration tool for ActionScript 2, ActionScript 3, Adobe AIR and Flex projects.&lt;br /&gt;
http://www.projectsprouts.org/&lt;br /&gt;
Universal Mind Extensions for Adobe Cairngorm : Universal Mind has extended the classic Adobe 2.2.x Cairngorm version to provide many productivity and maintenance enhancements.&lt;br /&gt;
http://code.google.com/p/flexcairngorm/&lt;br /&gt;
Video Tutorial on Compiling for Flash Player 10&lt;br /&gt;
http://theflashblog.com/?p=383&lt;br /&gt;
Virtual Space (AS 3.0) V. 1.0 : The Virtual Space is an AS3 component that can be used to create virtual-tour type visualizations very easily. Simply specify 6 images to be used for top, bottom, left, right, front, and back. Then, position the camera, set the initial view, and specify interaction parameters.&lt;br /&gt;
http://www.afcomponents.com/components/virtual_space_as3/&lt;br /&gt;
TextArea Explorer&lt;br /&gt;
http://www.techizzles.com/2009/03/14-most-productive-adobe-air-applications/&lt;br /&gt;
Noise Explorer&lt;br /&gt;
http://www.bit-101.com/explorers/NoiseExplorer.swf&lt;br /&gt;
Perlin Explorer&lt;br /&gt;
http://www.bit-101.com/explorers/PerlinExplorer.swf&lt;br /&gt;
Threshold Explorer&lt;br /&gt;
http://www.bit-101.com/blog/?p=819&lt;br /&gt;
PixelBender&lt;br /&gt;
http://labs.adobe.com/technologies/flashplayer10/demos/pixelbender/http://www.adobe.com/cfusion/exchange/index.cfm?event=productHome&amp;amp;exc=26&amp;amp;loc=en_us&lt;br /&gt;
TiltShift Generator&lt;br /&gt;
http://labs.artandmobile.com/tiltshift/&lt;br /&gt;
Flex 3 Regular Expression Explorer&lt;br /&gt;
http://ryanswanson.com/regexp/#start</content><link rel='replies' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/4999416497003883753/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/flex-documentation-links.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/4999416497003883753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/4999416497003883753'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/flex-documentation-links.html' title='Flex Documentation links'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4147108393845724784.post-7341412795287910992</id><published>2011-11-12T20:03:00.000-07:00</published><updated>2011-11-12T20:03:36.894-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Performance"/><title type='text'>Flex Error Handling with simple Example</title><content type='html'>I have recently read and heard about situations in which Flex error handling is misunderstood. In this blog entry, I&#39;ll attempt to demonstrate, with a simple example, how Flex error handling works and attempt to drive out some of the sources of confusion. To keep this entry a reasonable size, I&#39;ll focus specifically on the Flex handling of errors (synchronous) and won&#39;t address Flex handling of error events (asynchronous).&lt;br /&gt;
&lt;br /&gt;
Before I get into the actual example of throwing, catching, and &quot;handling&quot; (printing error contents in this simple case) a synchronous error in Flex, I need to point out the significance of using the Flash Player Debugger Version. My example will demonstrate that an error will provide some information regardless of whether it is used with a regular Flash Player or a Debugger Flash Player, but the Error class&#39;s getStackTrace() method will only return a not-null value if run in a debugger version of the Flash Player.&lt;br /&gt;
&lt;br /&gt;
As I explained in my blog post on the command-line fdb debugger, it makes sense to me to only be able to see the stack trace in the debugger player because you probably don&#39;t want to spill too much error information (including ugly stack traces) all over your average client&#39;s application. On the other hand, when you have debugging turned on and are running a debugger version of the Flash Player, you probably do want the ability to see the stack trace as provided by Error.getStackTrace().&lt;br /&gt;
&lt;br /&gt;
Flex provides several pre-defined ActionScript-based error classes that a Flex developer can explicitly throw when appropriate and can also expect certain Flex methods to throw when the related exceptional condition is encountered. These error classes provided by Flex out of the box include ECMAScript-mandated errors and some Flash-specific errors. All errors should extend the Error class. For Java developers, extending Flex&#39;s Error class and catching thrown Flex errors (either Error or any of its children) will seem very similar to exception handling in Java. Even the try-catch-finally syntax is remarkably similar.&lt;br /&gt;
&lt;br /&gt;
Let&#39;s look at some code. The following is the code listing for the simple example.&lt;br /&gt;
&lt;br /&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;
width=&quot;900&quot; height=&quot;900&quot;
applicationComplete=&quot;testException()&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;!-- This example demonstrates a simple example of Flex error
handling. One of the main illustrated points in this
example is that the Error.getStackTrace() method returns
null when the regular Flash Player is used and only returns
a not-null value when run in a debugger Flash Player. The
ObjectUtil class is used to make it more obvious that a null
is returned from Error.getStackTrace() when not running in
the debugger Flash Player.

This example is associated with the blog &quot;Dustin&#39;s Software
Cogitations and Speculations.&quot;

The Flash Players, regular and debugger, can be downloaded
at http://www.adobe.com/support/flashplayer/downloads.html. --&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;mx:Script&gt;&lt;br /&gt;
import mx.utils.ObjectUtil;&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
* Test Flex exception handling.&lt;br /&gt;
*/&lt;br /&gt;
public function testException():void&lt;br /&gt;
{&lt;br /&gt;
try&lt;br /&gt;
{&lt;br /&gt;
intentionallyThrowException();&lt;br /&gt;
}&lt;br /&gt;
catch (error:Error)&lt;br /&gt;
{&lt;br /&gt;
stackTraceText.text = ObjectUtil.toString(error.getStackTrace());&lt;br /&gt;
messageText.text = error.message;&lt;br /&gt;
toStringText.text = error.toString();&lt;br /&gt;
nameText.text = error.name;&lt;br /&gt;
errorIdText.text = String(error.errorID);&lt;br /&gt;
}&lt;br /&gt;
finally&lt;br /&gt;
{&lt;br /&gt;
// I get called whether an exception is caught or not.&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
* Intentionally throw an exception for use in Flex exception&lt;br /&gt;
* testing.&lt;br /&gt;
*/&lt;br /&gt;
public function intentionallyThrowException():void&lt;br /&gt;
{&lt;br /&gt;
throw new SyntaxError(&quot;That was some bad syntax!&quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;/mx:Script&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;mx:VBox id=&quot;mainDisplay&quot;&gt;&lt;br /&gt;
&lt;mx:Form&gt;&lt;br /&gt;
&lt;mx:FormItem id=&quot;stackTraceItem&quot; label=&quot;Exception Stack Trace&quot;&gt;&lt;br /&gt;
&lt;mx:Text id=&quot;stackTraceText&quot; /&gt;&lt;br /&gt;
&lt;/mx:FormItem&gt;&lt;br /&gt;
&lt;mx:FormItem id=&quot;messageItem&quot; label=&quot;Message&quot;&gt;&lt;br /&gt;
&lt;mx:Text id=&quot;messageText&quot; /&gt;&lt;br /&gt;
&lt;/mx:FormItem&gt;&lt;br /&gt;
&lt;mx:FormItem id=&quot;toStringItem&quot; label=&quot;toString&quot;&gt;&lt;br /&gt;
&lt;mx:Text id=&quot;toStringText&quot; /&gt;&lt;br /&gt;
&lt;/mx:FormItem&gt;&lt;br /&gt;
&lt;mx:FormItem id=&quot;nameItem&quot; label=&quot;Name&quot;&gt;&lt;br /&gt;
&lt;mx:Text id=&quot;nameText&quot; /&gt;&lt;br /&gt;
&lt;/mx:FormItem&gt;&lt;br /&gt;
&lt;mx:FormItem id=&quot;errorIdItem&quot; label=&quot;Error ID&quot;&gt;&lt;br /&gt;
&lt;mx:Text id=&quot;errorIdText&quot; /&gt;&lt;br /&gt;
&lt;/mx:FormItem&gt;&lt;br /&gt;
&lt;/mx:Form&gt;&lt;br /&gt;
&lt;/mx:VBox&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/mx:Application&gt;&lt;br /&gt;
&lt;br /&gt;
A significant portion of the above code is actually comments. If you remove the explanatory comments, the code is pretty small. Either way, the code is straightforward, especially if you have written Java exception handling code before.&lt;br /&gt;
&lt;br /&gt;
The example code presents key properties (ID, message, and name), a key method (getStackTrace()), and the toString() representation of an Error class in the Flex form for easy viewing. When the compiled Flex application (.swf file) is executed with a normal (non-debugger) Flash Player, the output appears as shown in the next screen snapshot:&lt;br /&gt;
&lt;br /&gt;
Even without the debugger player being used, the &quot;message&quot; and &quot;name&quot; properties (the combination of which is provided by the Error&#39;s toString()) provide useful information. However, the stack trace is a null because we are not using a debugger player.&lt;br /&gt;
&lt;br /&gt;
With a debugger player being used, the results are different as shown in the next screen snapshot:&lt;br /&gt;
&lt;br /&gt;
Without making any changes to my code and, in fact, the only change being the use of a debugger Flash Player instead of the regular Flash Player, I now have access to the stack trace!&lt;br /&gt;
&lt;br /&gt;
It is also worth mentioning here another advantage of the Flash Player Debugger version when working with errors in Flex development. The example above demonstrated a case where an error was anticipated and code was written to catch it. Flex, unlike Java but like most other languages, does not have checked exceptions/errors. This means that a developer is never required to catch a particular error. This also implies that unanticipated errors can and do get thrown. What happens to these differs depending on which Flash Player is being used. If the regular Flash Player is being used, there is usually no sign of an error condition, but often things don&#39;t work as they should either (because the underlying error is preventing something necessary from happening). With the debugger version of the Flash Player, a stack trace is automatically presented in a pop-up for any uncaught errors. Again, it makes sense that one would want this in development but would not necessarily want the average end-user with a regular Flash Player to see it.&lt;br /&gt;
&lt;br /&gt;
To illustrate the uncaught error scenario, I am adding a method to the above example that calls the same method that intentionally throws the error. This second code listing also differs from the first because I made a concerted effort to rename things from Exception to Error to be more in line with Flex terminology.&lt;br /&gt;
&lt;br /&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;
width=&quot;900&quot; height=&quot;900&quot;
applicationComplete=&quot;testErrors()&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;!-- This example demonstrates a simple example of Flex error
handling. One of the main illustrated points in this
example is that the Error.getStackTrace() method returns
null when the regular Flash Player is used and only returns
a not-null value when run in a debugger Flash Player. The
ObjectUtil class is used to make it more obvious that a null
is returned from Error.getStackTrace() when not running in
the debugger Flash Player.

A second central point of this example is to demonstrate
handling on an unanticipated (and hence uncaught) error in
the regular Flash Player and in the Debugger Flash Player.

This example is associated with the blog &quot;Dustin&#39;s Software
Cogitations and Speculations.&quot;

The Flash Players, regular and debugger, can be downloaded
at http://www.adobe.com/support/flashplayer/downloads.html. --&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;mx:Script&gt;&lt;br /&gt;
&lt;![CDATA[
import mx.utils.ObjectUtil;

/**
* Test error handling with and without explicit capture
* of an error.
*/
public function testErrors():void
{
testError();
testWithoutErrorHandling();
}

/**
* Demonstrate what happens when an error is not explicitly
* caught.
*/
public function testWithoutErrorHandling():void
{
intentionallyThrowError();
}

/**
* Test Flex Error handling.
*/
public function testError():void
{
try
{
intentionallyThrowError();
}
catch (error:Error)
{
stackTraceText.text = ObjectUtil.toString(error.getStackTrace());
messageText.text = error.message;
toStringText.text = error.toString();
nameText.text = error.name;
errorIdText.text = String(error.errorID);
}
finally
{
// I get called whether an exception is caught or not.
}
}

/**
* Intentionally throw an error for use in Flex error handling
* testing.
*/
public function intentionallyThrowError():void
{
throw new SyntaxError(&quot;That was some bad syntax!&quot;);
}
]]&gt;&lt;br /&gt;
&lt;/mx:Script&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;mx:VBox id=&quot;mainDisplay&quot;&gt;&lt;br /&gt;
&lt;mx:Form&gt;&lt;br /&gt;
&lt;mx:FormItem id=&quot;stackTraceItem&quot; label=&quot;Exception Stack Trace&quot;&gt;&lt;br /&gt;
&lt;mx:Text id=&quot;stackTraceText&quot; /&gt;&lt;br /&gt;
&lt;/mx:FormItem&gt;&lt;br /&gt;
&lt;mx:FormItem id=&quot;messageItem&quot; label=&quot;Message&quot;&gt;&lt;br /&gt;
&lt;mx:Text id=&quot;messageText&quot; /&gt;&lt;br /&gt;
&lt;/mx:FormItem&gt;&lt;br /&gt;
&lt;mx:FormItem id=&quot;toStringItem&quot; label=&quot;toString&quot;&gt;&lt;br /&gt;
&lt;mx:Text id=&quot;toStringText&quot; /&gt;&lt;br /&gt;
&lt;/mx:FormItem&gt;&lt;br /&gt;
&lt;mx:FormItem id=&quot;nameItem&quot; label=&quot;Name&quot;&gt;&lt;br /&gt;
&lt;mx:Text id=&quot;nameText&quot; /&gt;&lt;br /&gt;
&lt;/mx:FormItem&gt;&lt;br /&gt;
&lt;mx:FormItem id=&quot;errorIdItem&quot; label=&quot;Error ID&quot;&gt;&lt;br /&gt;
&lt;mx:Text id=&quot;errorIdText&quot; /&gt;&lt;br /&gt;
&lt;/mx:FormItem&gt;&lt;br /&gt;
&lt;/mx:Form&gt;&lt;br /&gt;
&lt;/mx:VBox&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/mx:Application&gt;&lt;br /&gt;
&lt;br /&gt;
When the SWF compiled from the code immediately above is executed against the regular Flash Player, there is no visual evidence of the uncaught exception in the newly added ActionScript method testWithoutErrorHandling(). However, there is a dramatic difference when using the debugger Flash Player. It places the stack trace in an pop-up as shown in the next screen snapshot.&lt;br /&gt;
&lt;br /&gt;
As the above screen snapshot shows, we did not need to add any extra code to see this stack trace. Simply using the debugger Flash Player led to the unanticipated error having its stack trace displayed.&lt;br /&gt;
&lt;br /&gt;
Side Note: Because of advantages such as access to the stack trace via Error.getStackTrace() call, access to the stack trace automatically when an unanticipated error is not captured, and the ability to trace statements to the fdb debugger, I recommend to anyone considering working with Flex that they use the Flash Player debugger version by default during Flex development.&lt;br /&gt;
&lt;br /&gt;
The results shown above were run on SWF files compiled with mxmlc using its default options as specified in the flex-config.xml file. I now move onto looking at how tweaking one of the settings in the flex-config.xml file can affect error handling in Flex.&lt;br /&gt;
&lt;br /&gt;
There is an entry in the flex-config.xml file that looks like this:&lt;br /&gt;
&lt;br /&gt;
&lt;!-- Turns on the display of stack traces for uncaught runtime errors. --&gt;&lt;br /&gt;
&lt;verbose-stacktraces&gt;false&lt;/verbose-stacktraces&gt;&#39;&lt;br /&gt;
&lt;br /&gt;
Changing the &quot;false&quot; to &quot;true&quot; leads to more verbose output in the pop-up that appears for uncaught errors when run in the Flash Debugger Player as shown in the next screen snapshot. Similarly, this change leads to the same extra verbosity in the Error.getStackTrace() results. In short, the stack trace associated with an Error and available either implicitly for uncaught errors or explicitly for captured errors via the Error.getStackTrace() call, can have its level of verbosity controlled with this verbose-stacktrace setting.&lt;br /&gt;
&lt;br /&gt;
If the two pop-ups are compared, it is obvious that the turning the option from &quot;false&quot; to &quot;true&quot; really did increase the stack trace verbosity. If the application is run in a regular, non-debug Flash Player, there is still no indication of an uncaught error ever occurring and null is still returned from Error.getStackTrace().&lt;br /&gt;
&lt;br /&gt;
Conclusion&lt;br /&gt;
&lt;br /&gt;
Flex provides error handling mechanisms that have many similar characteristics as Java exception handling, including the syntax. However, there are also some differences in the treatment of errors in ActionScript and Flex as compared to Java (such as no checked exceptions). Using a debugger version of the Flash Player for development of Flex is always a good idea, but this is particularly true when dealing with Flex error handling.</content><link rel='replies' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/7341412795287910992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/flex-error-handling-with-simple-example.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/7341412795287910992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/7341412795287910992'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/flex-error-handling-with-simple-example.html' title='Flex Error Handling with simple Example'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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-4147108393845724784.post-2471362896841985579</id><published>2011-11-12T20:00:00.000-07:00</published><updated>2011-11-12T20:00:22.974-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Performance"/><title type='text'>Top 10 Tips for Flex Application Performance</title><content type='html'>In general, it is good practice to maintain clean code. Not only in the sense of having properly formatted and readable code, but also code that leaves nothing behind… no memory leaks, no cpu hogs, nothing but a clean object that can be reclaimed by the GC.&lt;br /&gt;
&lt;br /&gt;
Rule # 1: Clean up after yourself&lt;br /&gt;
&lt;br /&gt;
1) Manage your event listeners – this message is two fold. First, you should always remove event listeners that are no longer needed. They can lead to object references that prevent the garbage collector, which equates to memory leaks, which can be very difficult to track down and detrimental to application performance. You can use weakly referenced event listeners to minimize memory leakage, but you still should explicitly clean them up when you don’t need them anymore. The second factor is that failure to remove event listeners can cause performance issues. Event handlers could be firing within your application, which you weren’t even aware of. You dispatch an event in a child component, and there could be handlers up the DOM tree (parent objects) that are also firing on the same event. If you don’t want this to happen, be explicit with your event handlers; make them handle specific event types, and get rid of them when your application doesn’t need them anymore.&lt;br /&gt;
&lt;br /&gt;
2) Unload loaders – any time that you are using an object based on a loader (Image, SWFLoader, etc…), it’s a good practice to call unloadAndStop() to unload the content from the loader, and invoke the GC. This will free up valuable system resources and cpu cycles won’t be wasted if they aren’t needed. I typically even do this for static image files, to prevent memory usage from creeping up.&lt;br /&gt;
&lt;br /&gt;
3) Dispose of things – I find it to be a very good practice to create “dispose()” functions in your custom components, data managers, or views that will clean up the object’s resources. The dispose() method will need to be explicitly invoked when you are finished using an object, but that dispose method will handle everything needed to clean up an object and free it’s resources. For example, stop timers, remove event listeners, unload loader objects, set variable references to null, etc… Basically, get rid of anything that could possibly cause a memory leak or eat cpu cycles behind the scenes. Yes, it takes cpu cycles to invoke a dispose method, but trust me. It is much easier and much less computationally expensive to explicitly dispose of objects, rather than burn time, computation resources, and budget tracking down leaks and performance issues.&lt;br /&gt;
&lt;br /&gt;
Rule #2: If you don’t have to do it, don’t do it&lt;br /&gt;
&lt;br /&gt;
Another good rule to live by is that if you don’t have to do something, then don’t do it. No, I don’t mean “don’t do your work”, or “don’t brush your teeth”. You need to do those. Instead, I mean don’t perform computationally intensive, or resource consuming actions if you don’t need to.&lt;br /&gt;
&lt;br /&gt;
4) Handle collections properly – There are a few things I see all the time, and they’re always the first things to change if I see them. Collections (ArrayCollection, XMLListCollection, etc…) are helper classes that wrap primitive structures like array or xmllist. In order to help make working with those primitives easier, the collection classes do things that can be computationally expensive if you aren’t aware of them. The reason that bindings to collection work is because every time you add, remove, or update an item, events get dispatched. They also get dispatched every time you refresh a collection.&lt;br /&gt;
&lt;br /&gt;
The first tip is to be conscious of collection events. If you loop over a collection and update 100,000 items, 100,000 events will get dispatched. This can cause massive performance implications, and can completely lock your application UI. If you don’t need those collection events to be dispatched, you can use the disableAutoUpdate() function to suspend collection events. Just be sure to turn them back on when you are done, or if you need them again, using the enableAutoUpdate() function.&lt;br /&gt;
&lt;br /&gt;
The second, is to not use a collection if you don’t have to. If all you need is to do loop over 100,000 items, and you arne’t using data bindings, then use an array.&lt;br /&gt;
&lt;br /&gt;
And the third tip on collections is only when collections are filtered using a filter function… If a filter function is applied, you don’t need to call the refresh() function every time you add a new object to the collection. This can cause performance hits, in some of the least expected places. For example, if you have a datagrid bound to a collection, and have another process which updates that collection. If there is a filter on the collection, it will automatically get filtered when you call the collection’s addItem method. Calling the refresh() method after adding an item will cause the list data of the datagrid to be invalidated, thus causing the entire datagrid to be re-validated and re-drawn. This is easily missed when optimizing, and can make drastic changes in application performance.&lt;br /&gt;
&lt;br /&gt;
5) Use deferred instantiation – By default, all navigational containers within Flex (tab nav, accordion, viewstack, etc…) only create their children as they are needed. This prevents the application from creating thousands of components that aren’t needed yet, which helps keep the application running smooth, and without hogging resources or locking up. Changing the creation policy can cause big problems if you are not careful.&lt;br /&gt;
&lt;br /&gt;
You should also keep deferred instantiation in mind when creating your own custom components. Don’t create child objects in the constructor. Instead, override the createChildren() method, and create them in there. This way, your components also follow deferred instantiation rules, and they don’t introduce any performance issues that can be difficult to track down.&lt;br /&gt;
&lt;br /&gt;
6) Object recycling vs new objects – I’ve written about this one before, but I’ll say it again. It is often less expensive to reuse existing objects, rather than creating new ones. This goes hand-in-hand with data virtualization.&lt;br /&gt;
&lt;br /&gt;
7) Don’t invalidate/destroy/re-validate your objects if nothing changed.&lt;br /&gt;
If you are building custom components, and someone changes a property (through a getter/setter), don’t invalidate the component properties if the incoming value didn’t change. This will cause the component to go through the full invalidation/validation lifecycle, causing properties to be re-validated/comitted, and the object to be redrawn on the display list. Only invalidate properties if something actually changed. Here is a straightforward example to demonstrate the concept:&lt;br /&gt;
public function set myProperty( value : Number ) : void&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
if ( _myProperty != value )&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
_myProperty = value;&lt;br /&gt;
&lt;br /&gt;
propertiesChanged = true;&lt;br /&gt;
&lt;br /&gt;
invalidateProperties();&lt;br /&gt;
&lt;br /&gt;
dispatchEvent( new Event( &quot;change&quot; ) );&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Rule #3: Use the language appropriately&lt;br /&gt;
&lt;br /&gt;
The ActionScript language has features that enable performance… use them.&lt;br /&gt;
&lt;br /&gt;
8) Dynamic/Generic vs. Typed Objects – Dynamic and generic objects certainly have their place. They are generic, flexible, can be modified with any attribute, and can be used in a wide variety of situations. However, if you have a typed object and do not need the generic qualities, use strongly typed objects. The strongly typed nature of ActionScript 3 is one of the reasons it is fast. Accessing properties of strongly typed objects is simply faster than accessing properties of generic &amp; dynamic objects.&lt;br /&gt;
&lt;br /&gt;
9) Use constants when applicable - If you have a value that does not ever change, but you reference it all the time, use a constant. Constants are accessed faster and require less overhead.&lt;br /&gt;
&lt;br /&gt;
10) Use static members – Static properties and functions do not require a variable instance to be invoked or accessed. Since they don’t require an instance, it is faster to access them directly from the class, and does not require the memory necessary to instantiate the object. Utility functions, or functions that do not require attributes of a specific instance should be put into static functions.&lt;br /&gt;
&lt;br /&gt;
Speaking of constants in #9… normally I suggest to make constants static. This will help you keep your memory footprint to a minimum b/c it will not need to be attached to a class instance.&lt;br /&gt;
&lt;br /&gt;
All of these may seem like trivial or minor coding practices, but believe me, they can add up. In reality, it always boils down to proper coding practice, and this list highlights just a few things that you should consider when building your applications.</content><link rel='replies' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/2471362896841985579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/top-10-tips-for-flex-application.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/2471362896841985579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/2471362896841985579'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/top-10-tips-for-flex-application.html' title='Top 10 Tips for Flex Application Performance'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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-4147108393845724784.post-6509113525041994049</id><published>2011-11-12T19:57:00.001-07:00</published><updated>2011-11-12T19:57:35.996-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Custom Components"/><title type='text'>Date Sorting on Datagrid Column</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;For Sorting the Date timestamp column in datagrid you need to add the following changes in datagrid to the MXML file which contain timestamp value for EST timezone conversion .&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;The following code &amp;nbsp;is an example:-&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;Sorting on Date Column on Datagrid use the following code&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 11px; white-space: pre;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;mx:datagridcolumn &lt;br=&quot;&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;lt;mx:DataGridColumn headerText=&quot;Timestamp&quot;&amp;nbsp;dataField=&quot;errorDateTime&quot;&amp;nbsp;width=&quot;200&quot;&amp;nbsp;sortCompareFunction=&quot;dateSortCompare&quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sorting is done by calling sortComapareFunction in Datagrid Column. Please follow method below for date sorting.&lt;br /&gt;
&lt;br /&gt;
public static function dateSortCompare(date1:Object, date2:Object):int&lt;br /&gt;
{&lt;br /&gt;
var dateA:Date=DateFormatter.parseDateString(date1.errorDateTime);&lt;br /&gt;
var dateB:Date=DateFormatter.parseDateString(date2.errorDateTime);&lt;br /&gt;
//trace(&quot;date1.errorDateTime=&quot;+date1.errorDateTime+&quot;, date2.errorDateTime=&quot;+date2.errorDateTime+&quot;, &quot;+ObjectUtil.dateCompare(dateA, dateB));&lt;br /&gt;
return ObjectUtil.dateCompare(dateA, dateB);&lt;br /&gt;
}&lt;/mx:datagridcolumn&gt;</content><link rel='replies' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/6509113525041994049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/date-sorting-on-datagrid-column.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/6509113525041994049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/6509113525041994049'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/date-sorting-on-datagrid-column.html' title='Date Sorting on Datagrid Column'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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-4147108393845724784.post-6100237377819526947</id><published>2011-11-12T12:39:00.000-07:00</published><updated>2011-11-12T12:39:12.867-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Custom Components"/><title type='text'>Text Image Renderer Component</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;lt;mx:Canvas xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; horizontalScrollPolicy=&quot;off&quot; textAlign=&quot;center&quot;&amp;gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;lt;mx:Script&amp;gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;lt;![CDATA[&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;import mx.controls.Alert;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;import mx.collections.*;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;import flash.events.Event;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;import mx.controls.DataGrid;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;import com.ApplicationConstants;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;]]&amp;gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;lt;/mx:Script&amp;gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;lt;mx:HBox width=&quot;100%&quot; verticalAlign=&quot;middle&quot; horizontalAlign=&quot;center&quot;&amp;gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;lt;mx:TextInput id=&quot;txtUniCircuitId&quot; width=&quot;80%&quot; automationName=&quot;txtUniCircuitIdAN&quot;/&amp;gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;lt;mx:Image horizontalAlign=&quot;center&quot; source=&quot;@Embed(source=&#39;image source&#39;)&quot; buttonMode=&quot;true&quot; useHandCursor=&quot;true&quot; width=&quot;20%&quot;/&amp;gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;lt;/mx:HBox&amp;gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;lt;/mx:Canvas&amp;gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/6100237377819526947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/text-image-renderer-component.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/6100237377819526947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/6100237377819526947'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/text-image-renderer-component.html' title='Text Image Renderer Component'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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-4147108393845724784.post-2797079465407645010</id><published>2011-11-12T12:35:00.000-07:00</published><updated>2011-11-12T12:35:48.854-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Custom Components"/><title type='text'>Alert with Label Link Component</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;lt;mx:TitleWindow xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; layout=&quot;vertical&quot; horizontalAlign=&quot;center&quot; title=&quot;Order Successfully Created&quot; textAlign=&quot;center&quot; width=&quot;460&quot; styleName=&quot;alert&quot; height=&quot;110&quot; verticalGap=&quot;15&quot; color=&quot;black&quot; shadowDirection=&quot;center&quot; shadowDistance=&quot;10&quot;&amp;nbsp;&amp;gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp; &amp;lt;mx:Script&amp;gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;![CDATA[&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; import mx.events.CloseEvent;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;import mx.managers.PopUpManager;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;public var&amp;nbsp; closeHandler:Function = null;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private function clickHandler(evt:MouseEvent):void&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;var closeEvent:CloseEvent = new CloseEvent(CloseEvent.CLOSE);&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;closeEvent.detail = 001;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;closeHandler(closeEvent);&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;PopUpManager.removePopUp(this);&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private function removeHandler(evt:MouseEvent):void&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;mx.managers.PopUpManager.removePopUp(this);&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]]&amp;gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp; &amp;lt;/mx:Script&amp;gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp; &amp;lt;mx:Style&amp;gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .alert{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;color : #0f3177;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;title-style-name : &quot;alertTitle&quot;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;header-height:25;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;drop-shadow-enabled: true;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;drop-shadow-color :#d1ddf7;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;background-color: #ffffff;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;corner-radius :6;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;header-colors : #90a4d1, #5970a0;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;footer-colors : #9db6d9, #ffffff;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;border-color : #5970a0;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp; &amp;lt;/mx:Style&amp;gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp; &amp;lt;mx:HBox id=&quot;genId1281449230637_2&quot; automationName=&quot;genId1281449230637_2AN&quot;&amp;gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mx:FormItem label=&quot;Order Id:&quot; id=&quot;genId1281449230637_3&quot;&amp;gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- &amp;lt;mx:Label id=&quot;orderLabel&quot; color=&quot;blue&quot; selectable=&quot;true&quot; textDecoration=&quot;underline&quot; styleName=&quot;alert&quot; click=&quot;clickHandler(event)&quot; useHandCursor=&quot;true&quot; mouseChildren=&quot;false&quot; buttonMode=&quot;true&quot; /&amp;gt; --&amp;gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mx:LinkButton id=&quot;orderLabel&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp; color=&quot;blue&quot;&amp;nbsp;&amp;nbsp; styleName=&quot;alert&quot; useHandCursor=&quot;true&quot; mouseChildren=&quot;false&quot; click=&quot;clickHandler(event)&quot;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; textDecoration=&quot;underline&quot; fontWeight=&quot;normal&quot;&amp;nbsp; /&amp;gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/mx:FormItem&amp;gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp; &amp;lt;/mx:HBox&amp;gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;nbsp; &amp;lt;mx:Button id=&quot;btnOk&quot; label=&quot;OK&quot; click=&quot;removeHandler(event)&quot; styleName=&quot;alert&quot; fillColors=&quot;0xFFFFFF, 0xAAAAAA&quot;/&amp;gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&amp;lt;/mx:TitleWindow&amp;gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/2797079465407645010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/alert-with-label-link-component.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/2797079465407645010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/2797079465407645010'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/alert-with-label-link-component.html' title='Alert with Label Link Component'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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-4147108393845724784.post-569407500089339458</id><published>2011-11-12T12:31:00.000-07:00</published><updated>2011-11-12T12:31:42.248-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Custom Components"/><title type='text'>Export to Excel and CSV Component</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;package com.main.components&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{import flash.errors.*;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;import flash.events.*;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;import flash.external.*;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;import flash.net.URLRequest;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;import flash.net.URLRequestMethod;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;import flash.net.URLVariables;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;import flash.net.navigateToURL;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;import flash.system.Capabilities;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;import mx.collections.ArrayCollection;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;import mx.controls.DataGrid;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;public class ExportToExcelorCSV&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;public static const EXPORT_ALL:String = &quot;exportAll&quot;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;public static const EXPORT_VISIBLE:String = &quot;exportVisible&quot;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;public static const EXPORT_SELECTED:String = &quot;exportSelected&quot;;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;private static var titleDate:String = &#39;&#39;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;private static var titleNTE:String = &#39;&#39;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;public static const TYPE_CSV:String = &quot;typeCsv&quot;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;public static const TYPE_TSV:String = &quot;typeTsv&quot;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;public static var data:String = &quot;&quot;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;private static function convertDGToHTMLTable(dg:DataGrid ):String {&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;//Set default values&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var font:String = dg.getStyle(&#39;fontFamily&#39;);&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var size:String = dg.getStyle(&#39;fontSize&#39;);&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var str:String = &#39;&#39;;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var colors:String = &#39;&#39;;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var style:String = &#39;style=&quot;font-family:&#39;+font+&#39;;font-size:&#39;+size+&#39;pt;&quot;&#39;;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var hcolor:Array;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;//Retrieve the headercolor&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;if(dg.getStyle(&quot;headerColor&quot;) != undefined) {&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;hcolor = [dg.getStyle(&quot;headerColor&quot;)];&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;} else {&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;hcolor = dg.getStyle(&quot;headerColors&quot;);&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;//Set the htmltabel based upon knowlegde from the datagrid&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;str+= &#39;&amp;lt;table&amp;gt;&amp;lt;thead&amp;gt;&amp;lt;tr width=&quot;&#39;+dg.width+&#39;&quot; style=&quot;background-color:#1E90FF&quot;&amp;gt;&#39;;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;//Set the tableheader data (retrieves information from the datagrid header&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;for(var i:int = 0;i&amp;lt;dg.columns.length;i++) {&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;colors = dg.getStyle(&quot;themeColor&quot;);&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;if(dg.columns[i].headerText != undefined) {&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;str+=&quot;&amp;lt;th &quot;+style+&quot;&amp;gt;&quot;+dg.columns[i].headerText+&quot;&amp;lt;/th&amp;gt;&quot;;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;} else {&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;str+= &quot;&amp;lt;th &quot;+style+&quot;&amp;gt;&quot;+dg.columns[i].dataField+&quot;&amp;lt;/th&amp;gt;&quot;;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;str += &quot;&amp;lt;/tr&amp;gt;&amp;lt;/thead&amp;gt;&amp;lt;tbody&amp;gt;&quot;;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;colors = dg.getStyle(&quot;alternatingRowColors&quot;);&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;//Loop through the records in the dataprovider and&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;//insert the column information into the table&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;if(dg.dataProvider != null ){&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;for(var j:int =0;j&amp;lt;dg.dataProvider.length;j++)&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;str+=&quot;&amp;lt;tr width=\&quot;&quot;+Math.ceil(dg.width)+&quot;\&quot;&amp;gt;&quot;;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;for(var k:int=0; k &amp;lt; dg.columns.length; k++)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;//Do we still have a valid item?&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;if(dg.dataProvider.getItemAt(j) != undefined &amp;amp;&amp;amp; dg.dataProvider.getItemAt(j) != null)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;//Check to see if the user specified a labelfunction which we must&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;//use instead of the dataField&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;if(dg.columns[k].labelFunction != undefined)&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;str += &quot;&amp;lt;td &quot;+style+&quot;&amp;gt;&quot;+dg.columns[k].labelFunction(dg.dataProvider.getItemAt(j),dg.columns[k].dataField)+&quot;&amp;lt;/td&amp;gt;&quot;;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;} else&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;str += &quot;&amp;lt;td &quot;+style+&quot;&amp;gt;&quot;+dg.dataProvider.getItemAt(j)[dg.columns[k].dataField]+&quot;&amp;lt;/td&amp;gt;&quot;;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;str += &quot;&amp;lt;/tr&amp;gt;&quot;;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;str+=&quot;&amp;lt;/tbody&amp;gt;&amp;lt;/table&amp;gt;&quot;;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;return str;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;public static function getTitleAndDate(title:String , date:String):void&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;titleDate = &#39;&amp;lt;p align=&quot;center&quot;&amp;gt;&amp;lt;font size = &quot;4&quot;&amp;gt;&amp;lt;b&amp;gt;&#39;+ title + &#39;&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p align= &quot;right&quot;&amp;gt;&#39; + date + &#39;&amp;lt;/p&amp;gt;&#39;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;public static function getTitle(title:String ):void&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;titleNTE = &#39;&amp;lt;p align=&quot;center&quot;&amp;gt;&amp;lt;font size = &quot;4&quot;&amp;gt;&amp;lt;b&amp;gt;&#39;+ title + &#39;&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/p&amp;gt;&#39;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;public static function loadDataGridInExcel( dataGrid:DataGrid, dataGridNTE:DataGrid = null ):void&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;//Pass the htmltable in a variable so that it can be delivered&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;//to the backend script&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;if(dataGridNTE == null)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var variables:URLVariables = new URLVariables();&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;variables.htmlTable =titleDate + convertDGToHTMLTable(dataGrid);&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var url:String = &quot;export.jsp&quot;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var u:URLRequest = new URLRequest( url );&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;u.data = variables; //Pass the variables&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;u.method = URLRequestMethod.POST;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;navigateToURL( u, &quot;_self&quot; );&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;else&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var variable:URLVariables = new URLVariables();&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;variable.htmlTable =titleDate + convertDGToHTMLTable(dataGrid) + titleNTE + convertDGToHTMLTable(dataGridNTE);&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var urlQ:String = &quot;export.jsp&quot;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var ur:URLRequest = new URLRequest( urlQ );&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;ur.data = variable; //Pass the variables&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;ur.method = URLRequestMethod.POST;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;navigateToURL( ur, &quot;_self&quot; );&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;// Function For Converting into CSV String&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;public static function copyData( dataGrid:DataGrid, fileType:String, exportType:String ):String&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var str:String = &quot;&quot;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var value:String = &quot;&quot;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var skipColumns:Array = [];&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;for (var i:int = 0;i&amp;lt;dataGrid.columns.length;i++)&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;if (dataGrid.columns[i].headerText != undefined)&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;value = dataGrid.columns[i].headerText + &quot;\n&quot;;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;else&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;value = dataGrid.columns[i].dataField;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;// we won&#39;t include columns which don&#39;t have titles&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;if (value.length == 0)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;skipColumns.push( i );&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;continue;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;else&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;if (fileType == TYPE_CSV)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;str += &#39;&quot;&#39; + value + &#39;&quot;&#39;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;else&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;str += value;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;if (i &amp;lt; dataGrid.columns.length-1)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;str += fileType == TYPE_CSV ? &quot;,&quot; : &quot;\t&quot;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;str += lineEnding;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var data:Array;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;if (exportType == EXPORT_ALL)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;data = ArrayCollection( dataGrid.dataProvider ).source;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;else&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;data = dataGrid.selectedItems;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;for each (var item:Object in data)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;for(var k:int=0; k &amp;lt; dataGrid.columns.length; k++)&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;// check if we&#39;re skipping this column&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;if (skipColumns.indexOf( k ) &amp;gt;= 0)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;continue;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;//Check to see if the profile specified a labelfunction which we must&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;//use instead of the dataField&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;if (dataGrid.columns[k].labelFunction != undefined)&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;value = dataGrid.columns[k].labelFunction(item, dataGrid.columns[k]);&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;else&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var dataField:String = dataGrid.columns[k].dataField;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;value = item[ dataField ];&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;if (value)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var pattern:RegExp = /[&quot;]/g;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;value = value.replace( pattern, &quot;&quot; );&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;if (fileType == TYPE_CSV)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;value = &#39;&quot;&#39; + value + &#39;&quot;&#39;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;else&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;if (fileType == TYPE_CSV)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;value = &#39;&quot;&quot;&#39;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;str += value;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;if (k &amp;lt; dataGrid.columns.length - 1)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;str += fileType == TYPE_CSV ? &quot;,&quot; : &quot;\t&quot;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;str += lineEnding;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;setData(str);&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;return str;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;public static function setData( text:String ):void{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;data = text;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;public static function getData( ):String{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;return data;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;public static function getItemsFromText( text:String ):Array&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var rows:Array = text.split( lineEnding );&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;if (rows.length &amp;gt; 0 &amp;amp;&amp;amp; !rows[rows.length - 1])&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;rows.pop();&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var itemsFromText:Array = [];&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;for each (var row:String in rows)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var fields:Array = row.split(&quot;\t&quot;);&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var item:Object = {};&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;for (var i:int = 0; i &amp;lt; fields.length; i++)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;item[&quot;col&quot; + (i+1)] = fields[i];&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;itemsFromText.push(item);&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;return itemsFromText;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;private static function get lineEnding():String&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;if (Capabilities.os == &quot;Linux&quot;)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;return &quot;\n&quot;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;else if (Capabilities.os.indexOf( &quot;Mac&quot; ) &amp;gt;= 0)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;return &quot;\r&quot;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;else&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;return &quot;\r\n&quot;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;public static function loadDataGridCSVExcel( dataGrid:DataGrid ):void&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var variables:URLVariables = new URLVariables();&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;variables.htmlTable = copyData( dataGrid, TYPE_CSV, EXPORT_ALL );&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var url:String = &quot;export.jsp&quot;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;var u:URLRequest = new URLRequest( url );&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;u.data = variables;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;u.method = URLRequestMethod.POST;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;navigateToURL( u, &quot;_self&quot; );&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;This component is used for export the data into Excel spreadsheet or CSV file.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, Calibri, &#39;Myriad Pro&#39;, Myriad, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 22px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-size: 16px;&quot;&gt;Simple script to convert a Datagrid to a HTML table and then&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-size: 16px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-size: 16px;&quot;&gt;&amp;nbsp;pass it on to an external excel exporter&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-size: 16px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-size: 16px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-size: 16px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-size: 16px;&quot;&gt;&amp;nbsp;Has Method Which Coverts to CSV string&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-size: 16px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-size: 16px;&quot;&gt;&amp;nbsp;Can Pass Title and need to Change the Code a little If anything else Needed&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://adobeflex45.blogspot.com/feeds/569407500089339458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/export-to-excel-and-csv-component.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/569407500089339458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4147108393845724784/posts/default/569407500089339458'/><link rel='alternate' type='text/html' href='http://adobeflex45.blogspot.com/2011/11/export-to-excel-and-csv-component.html' title='Export to Excel and CSV Component'/><author><name>Venkat</name><uri>http://www.blogger.com/profile/06495424565753393516</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>2</thr:total></entry></feed>