<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Get URL query-string variables within Flex application</title>
	<atom:link href="http://flexed.wordpress.com/2006/10/25/get-url-query-string-variables-within-flex-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://flexed.wordpress.com/2006/10/25/get-url-query-string-variables-within-flex-application/</link>
	<description>Flex 2, Actionscript 3.0</description>
	<lastBuildDate>Wed, 30 Dec 2009 03:38:36 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Aksolut</title>
		<link>http://flexed.wordpress.com/2006/10/25/get-url-query-string-variables-within-flex-application/#comment-14882</link>
		<dc:creator>Aksolut</dc:creator>
		<pubDate>Wed, 09 Sep 2009 08:08:17 +0000</pubDate>
		<guid isPermaLink="false">http://flexed.wordpress.com/2006/10/25/get-url-query-string-variables-within-flex-application/#comment-14882</guid>
		<description>You have to use the ExternalInterface method when SWF is embedded in a html file, but for a standard SWF execution, application.parameters is better.

Then you can combine two methods to get urlParameters in all case like this :

private function getUrlParamaters():Dictionary
{
	var urlParams:Dictionary = new Dictionary();
	
	if (ExternalInterface.available)
	{
		var fullUrl:String = ExternalInterface.call(&#039;eval&#039;, &#039;document.location.href&#039;);
		var paramStr:String = fullUrl.split(&#039;?&#039;)[1];
		if (paramStr != null)
		{
			var params:Array = paramStr.split(&#039;&amp;&#039;);
			for (var i:int=0; i &lt; params.length; i++)
			{
				var kv:Array = params[i].split(&#039;=&#039;);
				urlParams[kv[0]] = kv[1];
			}
		}
	}
	else
	{
		urlParams = Application.application.parameters;
	}

	return urlParams;
}</description>
		<content:encoded><![CDATA[<p>You have to use the ExternalInterface method when SWF is embedded in a html file, but for a standard SWF execution, application.parameters is better.</p>
<p>Then you can combine two methods to get urlParameters in all case like this :</p>
<p>private function getUrlParamaters():Dictionary<br />
{<br />
	var urlParams:Dictionary = new Dictionary();</p>
<p>	if (ExternalInterface.available)<br />
	{<br />
		var fullUrl:String = ExternalInterface.call(&#8216;eval&#8217;, &#8216;document.location.href&#8217;);<br />
		var paramStr:String = fullUrl.split(&#8216;?&#8217;)[1];<br />
		if (paramStr != null)<br />
		{<br />
			var params:Array = paramStr.split(&#8216;&amp;&#8217;);<br />
			for (var i:int=0; i &lt; params.length; i++)<br />
			{<br />
				var kv:Array = params[i].split(&#039;=&#039;);<br />
				urlParams[kv[0]] = kv[1];<br />
			}<br />
		}<br />
	}<br />
	else<br />
	{<br />
		urlParams = Application.application.parameters;<br />
	}</p>
<p>	return urlParams;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chikadibia</title>
		<link>http://flexed.wordpress.com/2006/10/25/get-url-query-string-variables-within-flex-application/#comment-14829</link>
		<dc:creator>chikadibia</dc:creator>
		<pubDate>Thu, 19 Mar 2009 12:21:17 +0000</pubDate>
		<guid isPermaLink="false">http://flexed.wordpress.com/2006/10/25/get-url-query-string-variables-within-flex-application/#comment-14829</guid>
		<description>I am new to flex...
pls. i need ur assistance on this.
i have two flex mxml files.

I want to pass a variable from mxml a to another b, pls. how do i go about it. am really stuck here. pls. assist.</description>
		<content:encoded><![CDATA[<p>I am new to flex&#8230;<br />
pls. i need ur assistance on this.<br />
i have two flex mxml files.</p>
<p>I want to pass a variable from mxml a to another b, pls. how do i go about it. am really stuck here. pls. assist.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: www.tredent.com</title>
		<link>http://flexed.wordpress.com/2006/10/25/get-url-query-string-variables-within-flex-application/#comment-14778</link>
		<dc:creator>www.tredent.com</dc:creator>
		<pubDate>Wed, 03 Dec 2008 09:26:17 +0000</pubDate>
		<guid isPermaLink="false">http://flexed.wordpress.com/2006/10/25/get-url-query-string-variables-within-flex-application/#comment-14778</guid>
		<description>Abstract: We describe the LHCb detector simulation application (Gauss) based on the Geant4 toolkit. The application is built using the Gaudi software framework, which is used for all event- processing applications in the LHCb experiment. The existence of an underlying framework allows several common basic services such as persistency, interactivity, as well as detector geometry description or particle data to be shared between simulation, reconstruction and analysis applications. The main benefits of such...</description>
		<content:encoded><![CDATA[<p>Abstract: We describe the LHCb detector simulation application (Gauss) based on the Geant4 toolkit. The application is built using the Gaudi software framework, which is used for all event- processing applications in the LHCb experiment. The existence of an underlying framework allows several common basic services such as persistency, interactivity, as well as detector geometry description or particle data to be shared between simulation, reconstruction and analysis applications. The main benefits of such&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bwoyhlnxp nhpeqcfj</title>
		<link>http://flexed.wordpress.com/2006/10/25/get-url-query-string-variables-within-flex-application/#comment-14666</link>
		<dc:creator>bwoyhlnxp nhpeqcfj</dc:creator>
		<pubDate>Sat, 28 Jun 2008 03:11:50 +0000</pubDate>
		<guid isPermaLink="false">http://flexed.wordpress.com/2006/10/25/get-url-query-string-variables-within-flex-application/#comment-14666</guid>
		<description>hfrmevj gkcyrh cnmka nusqp ohwcp qcazi jurmndcfl</description>
		<content:encoded><![CDATA[<p>hfrmevj gkcyrh cnmka nusqp ohwcp qcazi jurmndcfl</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: seassymible</title>
		<link>http://flexed.wordpress.com/2006/10/25/get-url-query-string-variables-within-flex-application/#comment-11354</link>
		<dc:creator>seassymible</dc:creator>
		<pubDate>Thu, 01 Nov 2007 13:03:46 +0000</pubDate>
		<guid isPermaLink="false">http://flexed.wordpress.com/2006/10/25/get-url-query-string-variables-within-flex-application/#comment-11354</guid>
		<description>ONLINE - DRUGSTORE! 
PRICES of ALL MEDICINES! 
 
FIND THAT NECESSARY... 
VIAGRA, CIALIS, PHENTERMINE, SOMA... and other pills! 
 
Welcome please:     pills-prices.blogspot.com 
 
 
NEW INFORMATION ABOUT PAYDAY LOANS! 
 
Welcome please:     payday-d-loans.blogspot.com 
 
GOOD LUCK!</description>
		<content:encoded><![CDATA[<p>ONLINE &#8211; DRUGSTORE!<br />
PRICES of ALL MEDICINES! </p>
<p>FIND THAT NECESSARY&#8230;<br />
VIAGRA, CIALIS, PHENTERMINE, SOMA&#8230; and other pills! </p>
<p>Welcome please:     pills-prices.blogspot.com </p>
<p>NEW INFORMATION ABOUT PAYDAY LOANS! </p>
<p>Welcome please:     payday-d-loans.blogspot.com </p>
<p>GOOD LUCK!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: udayms</title>
		<link>http://flexed.wordpress.com/2006/10/25/get-url-query-string-variables-within-flex-application/#comment-1297</link>
		<dc:creator>udayms</dc:creator>
		<pubDate>Fri, 16 Mar 2007 05:02:05 +0000</pubDate>
		<guid isPermaLink="false">http://flexed.wordpress.com/2006/10/25/get-url-query-string-variables-within-flex-application/#comment-1297</guid>
		<description>Prasanth... check it out now ;)</description>
		<content:encoded><![CDATA[<p>Prasanth&#8230; check it out now <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: udayms</title>
		<link>http://flexed.wordpress.com/2006/10/25/get-url-query-string-variables-within-flex-application/#comment-1296</link>
		<dc:creator>udayms</dc:creator>
		<pubDate>Fri, 16 Mar 2007 04:40:41 +0000</pubDate>
		<guid isPermaLink="false">http://flexed.wordpress.com/2006/10/25/get-url-query-string-variables-within-flex-application/#comment-1296</guid>
		<description>I guess I should have made the post more clear. I will update the post with some more information :)</description>
		<content:encoded><![CDATA[<p>I guess I should have made the post more clear. I will update the post with some more information <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aidawanz</title>
		<link>http://flexed.wordpress.com/2006/10/25/get-url-query-string-variables-within-flex-application/#comment-1295</link>
		<dc:creator>aidawanz</dc:creator>
		<pubDate>Thu, 15 Mar 2007 19:09:32 +0000</pubDate>
		<guid isPermaLink="false">http://flexed.wordpress.com/2006/10/25/get-url-query-string-variables-within-flex-application/#comment-1295</guid>
		<description>use your brain when u ask a question, jerk! 
first read the article.</description>
		<content:encoded><![CDATA[<p>use your brain when u ask a question, jerk!<br />
first read the article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prasanta Saha</title>
		<link>http://flexed.wordpress.com/2006/10/25/get-url-query-string-variables-within-flex-application/#comment-1222</link>
		<dc:creator>Prasanta Saha</dc:creator>
		<pubDate>Thu, 15 Feb 2007 09:04:13 +0000</pubDate>
		<guid isPermaLink="false">http://flexed.wordpress.com/2006/10/25/get-url-query-string-variables-within-flex-application/#comment-1222</guid>
		<description>is it possible to get the query string if it is embedded in HTML</description>
		<content:encoded><![CDATA[<p>is it possible to get the query string if it is embedded in HTML</p>
]]></content:encoded>
	</item>
</channel>
</rss>
