<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Relax Breath of Solution. &#187; URLRequest()</title>
	<atom:link href="http://www.beasrilankan.com/tag/urlrequest/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.beasrilankan.com</link>
	<description>Just I wanted.. Do you?...</description>
	<lastBuildDate>Wed, 14 Dec 2011 17:52:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Displaying dynamically loaded XML in a DataGrid control in Flex &#8211; QName</title>
		<link>http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/</link>
		<comments>http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/#comments</comments>
		<pubDate>Sat, 18 Sep 2010 03:00:12 +0000</pubDate>
		<dc:creator>Sameera Thilakasiri</dc:creator>
				<category><![CDATA[Flex 3]]></category>
		<category><![CDATA[Flex 3 Action Script 3 Tutorial]]></category>
		<category><![CDATA[load()]]></category>
		<category><![CDATA[QName()]]></category>
		<category><![CDATA[URLRequest()]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[XMLListCollection()]]></category>

		<guid isPermaLink="false">http://www.beasrilankan.com/?p=731</guid>
		<description><![CDATA[<h4>Incoming search terms:</h4><ul><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="datagrid displaying xml in flex">datagrid displaying xml in flex</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="flex xml qname qn">flex xml qname qn</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="flex qname datagrid">flex qname datagrid</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="flex qname change">flex qname change</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="flex progressbar datagrid">flex progressbar datagrid</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="flex 4 import xml datagrid">flex 4 import xml datagrid</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex">displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="Displaying dynamically loaded XML in a DataGrid control in Flex">Displaying dynamically loaded XML in a DataGrid control in Flex</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="datagridcolumn datafield dynamic flex">datagridcolumn datafield dynamic flex</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="namespace xml datagrid control flex 4">namespace xml datagrid control flex 4</a> (1)</li></ul></p> <a href='http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/' rel="nofollow">Read More &raquo;</a></p>]]></description>
			<content:encoded><![CDATA[<pre class="brush: as3; title: ; notranslate">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application   name=&quot;DataGrid_XML_test&quot;
          xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;
          xmlns:net=&quot;flash.net.*&quot;
          layout=&quot;vertical&quot;
          verticalAlign=&quot;middle&quot;
          backgroundColor=&quot;white&quot;&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            import mx.events.ListEvent;
            import mx.controls.dataGridClasses.DataGridColumn;

                public namespace sitemapNS = &quot;http://www.google.com/schemas/sitemap/0.84&quot;;

              private function loadXML(targetURL:String):void {
                urlLdr.load(new URLRequest(targetURL));
                loadBtn.enabled   = false;
            }

            private function urlLdr_complete(evt:Event):void {
                  var xmlData:XML = new XML(URLLoader(evt.currentTarget).data);
                  xmlListColl = new XMLListCollection(xmlData.children());
                dataGrid.enabled = true;
                  loadBtn.enabled = true;
              }

            private function dataGrid_labelFunc(item:XML, col:DataGridColumn):String {
                var   qN:QName = new QName(sitemapNS, col.dataField);
                return item[qN].text();
            }

              private function dataGrid_dateLabelFunc(item:XML, col:DataGridColumn):String {
                var qN:QName = new QName(sitemapNS, col.dataField);
                var value:String = item[qN].text();
                value = value.replace(/-/g, &quot;/&quot;);
                  value = value.replace(&quot;T&quot;,   &quot; &quot;);
                value = value.replace(&quot;+00:00&quot;,   &quot;&quot;);
                  return value;
            }

            private function dataGrid_itemDoubleClick(evt:ListEvent):void   {
                use namespace sitemapNS;
                var url:String = evt.itemRenderer.data.loc;
                navigateToURL(new URLRequest(url), &quot;_blank&quot;);
            }
        ]]&gt;
    &lt;/mx:Script&gt;

      &lt;net:URLLoader   id=&quot;urlLdr&quot;
            complete=&quot;urlLdr_complete(event);&quot; /&gt;
    &lt;mx:XMLListCollection id=&quot;xmlListColl&quot; /&gt;

    &lt;mx:ApplicationControlBar dock=&quot;true&quot;&gt;
        &lt;mx:Button id=&quot;loadBtn&quot;
                label=&quot;Load XML&quot;
                click=&quot;loadXML('http://www.beasrilankan.com/sitemap.xml');&quot;   /&gt;
        &lt;mx:Spacer   width=&quot;100%&quot; /&gt;
          &lt;mx:ProgressBar id=&quot;progressBar&quot;
                    mode=&quot;event&quot;
                source=&quot;{urlLdr}&quot;
                labelPlacement=&quot;center&quot; /&gt;
    &lt;/mx:ApplicationControlBar&gt;

    &lt;mx:DataGrid   id=&quot;dataGrid&quot;
              dataProvider=&quot;{xmlListColl}&quot;
            doubleClickEnabled=&quot;true&quot;
              itemDoubleClick=&quot;dataGrid_itemDoubleClick(event);&quot;
              enabled=&quot;false&quot;
              width=&quot;100%&quot;
              height=&quot;100%&quot;&gt;
            &lt;mx:columns&gt;
            &lt;mx:DataGridColumn   dataField=&quot;loc&quot;
                    labelFunction=&quot;dataGrid_labelFunc&quot;
                      itemRenderer=&quot;mx.controls.Label&quot;   /&gt;
            &lt;mx:DataGridColumn   dataField=&quot;lastmod&quot;
                    labelFunction=&quot;dataGrid_dateLabelFunc&quot;
                      width=&quot;150&quot; /&gt;
            &lt;mx:DataGridColumn dataField=&quot;changefreq&quot;
                    labelFunction=&quot;dataGrid_labelFunc&quot;
                    width=&quot;100&quot; /&gt;
              &lt;mx:DataGridColumn   dataField=&quot;priority&quot;
                    labelFunction=&quot;dataGrid_labelFunc&quot;
                    width=&quot;100&quot; /&gt;
        &lt;/mx:columns&gt;
    &lt;/mx:DataGrid&gt;

&lt;/mx:Application&gt;
</pre>
<h4>Incoming search terms:</h4><ul><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="datagrid displaying xml in flex">datagrid displaying xml in flex</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="flex xml qname qn">flex xml qname qn</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="flex qname datagrid">flex qname datagrid</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="flex qname change">flex qname change</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="flex progressbar datagrid">flex progressbar datagrid</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="flex 4 import xml datagrid">flex 4 import xml datagrid</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex">displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="Displaying dynamically loaded XML in a DataGrid control in Flex">Displaying dynamically loaded XML in a DataGrid control in Flex</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="datagridcolumn datafield dynamic flex">datagridcolumn datafield dynamic flex</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="namespace xml datagrid control flex 4">namespace xml datagrid control flex 4</a> (1)</li></ul></p> <a href='http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/' rel="nofollow">Read More &raquo;</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Load external image in to swf file &#8211; Load image class</title>
		<link>http://www.beasrilankan.com/2010/06/load-external-image-in-to-swf-file-load-image-class/</link>
		<comments>http://www.beasrilankan.com/2010/06/load-external-image-in-to-swf-file-load-image-class/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 09:20:07 +0000</pubDate>
		<dc:creator>Sameera Thilakasiri</dc:creator>
				<category><![CDATA[Flex 3 Action Script 3 Tutorial]]></category>
		<category><![CDATA[Loader()]]></category>
		<category><![CDATA[URLRequest()]]></category>

		<guid isPermaLink="false">http://www.beasrilankan.com/?p=701</guid>
		<description><![CDATA[<p>Load   external   image in to swf file &#8211; Load image class</p> <a href='http://www.beasrilankan.com/2010/06/load-external-image-in-to-swf-file-load-image-class/' rel="nofollow">Read More &raquo;</a></p>]]></description>
			<content:encoded><![CDATA[<p>Load   external   image in to swf file &#8211; Load image class</p> <a href='http://www.beasrilankan.com/2010/06/load-external-image-in-to-swf-file-load-image-class/' rel="nofollow">Read More &raquo;</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.beasrilankan.com/2010/06/load-external-image-in-to-swf-file-load-image-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intro to E4X &#8211; data manipulation with flex &#8211; xml</title>
		<link>http://www.beasrilankan.com/2010/05/intro-to-e4x-data-manipulation-with-flex-xml/</link>
		<comments>http://www.beasrilankan.com/2010/05/intro-to-e4x-data-manipulation-with-flex-xml/#comments</comments>
		<pubDate>Sun, 02 May 2010 06:44:35 +0000</pubDate>
		<dc:creator>Sameera Thilakasiri</dc:creator>
				<category><![CDATA[Flex 3]]></category>
		<category><![CDATA[Flex 3 Action Script 3 Tutorial]]></category>
		<category><![CDATA[E4X]]></category>
		<category><![CDATA[load()]]></category>
		<category><![CDATA[URLLoader()]]></category>
		<category><![CDATA[URLRequest()]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.beasrilankan.com/?p=665</guid>
		<description><![CDATA[<p>Up until now working with XML data in Flash   hasn&#8217;t been very intuitive.   That was mainly due to the semantics of the ActionScript Language. But,   with the birth of AS3 we have new hope in E4X. For those that don&#8217;t know E4X stands for ECMAScript for XML and this specification introduces some new functionality that makes working with XML a lot simpler. New to AS3 are the XML, XMLList,QSpace   and Namespace E4X classes. E4X not only makes life simpler but provides greater code consistency and familiarity   (we can use dot syntax more similiar to ActionScript).</p> <a href='http://www.beasrilankan.com/2010/05/intro-to-e4x-data-manipulation-with-flex-xml/' rel="nofollow">Read More &raquo;</a></p>]]></description>
			<content:encoded><![CDATA[<p>Up until now working with XML data in Flash   hasn&#8217;t been very intuitive.   That was mainly due to the semantics of the ActionScript Language. But,   with the birth of AS3 we have new hope in E4X. For those that don&#8217;t know E4X stands for ECMAScript for XML and this specification introduces some new functionality that makes working with XML a lot simpler. New to AS3 are the XML, XMLList,QSpace   and Namespace E4X classes. E4X not only makes life simpler but provides greater code consistency and familiarity   (we can use dot syntax more similiar to ActionScript).</p> <a href='http://www.beasrilankan.com/2010/05/intro-to-e4x-data-manipulation-with-flex-xml/' rel="nofollow">Read More &raquo;</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.beasrilankan.com/2010/05/intro-to-e4x-data-manipulation-with-flex-xml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developing Flash Components for Flex &#8211; addEventListener MouseEvent URLRequest</title>
		<link>http://www.beasrilankan.com/2010/02/developing-flash-components-for-flex-addeventlistener-mouseevent-urlrequest/</link>
		<comments>http://www.beasrilankan.com/2010/02/developing-flash-components-for-flex-addeventlistener-mouseevent-urlrequest/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 16:35:24 +0000</pubDate>
		<dc:creator>Sameera Thilakasiri</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex 3]]></category>
		<category><![CDATA[Flex 3 Action Script 3 Tutorial]]></category>
		<category><![CDATA[Flex Components]]></category>
		<category><![CDATA[addEventListener()]]></category>
		<category><![CDATA[URLRequest()]]></category>

		<guid isPermaLink="false">http://www.beasrilankan.com/?p=649</guid>
		<description><![CDATA[<p>Adobe is about     to release a development kit for Flex to create components by using Flash IDE. This kit may help developers add more interaction and animation effects into their flex components. Now, I will develop a small sample by using   this tool.</p> <a href='http://www.beasrilankan.com/2010/02/developing-flash-components-for-flex-addeventlistener-mouseevent-urlrequest/' rel="nofollow">Read More &raquo;</a></p>]]></description>
			<content:encoded><![CDATA[<p>Adobe is about     to release a development kit for Flex to create components by using Flash IDE. This kit may help developers add more interaction and animation effects into their flex components. Now, I will develop a small sample by using   this tool.</p> <a href='http://www.beasrilankan.com/2010/02/developing-flash-components-for-flex-addeventlistener-mouseevent-urlrequest/' rel="nofollow">Read More &raquo;</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.beasrilankan.com/2010/02/developing-flash-components-for-flex-addeventlistener-mouseevent-urlrequest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

