<?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/"
		>
<channel>
	<title>Comments on: How to get URL query-string variables within Flex application</title>
	<atom:link href="http://www.abdulqabiz.com/blog/archives/2006/03/06/how-to-get-url-query-string-variables-within-flex-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.abdulqabiz.com/blog/archives/2006/03/06/how-to-get-url-query-string-variables-within-flex-application/</link>
	<description>a developer and entrepreneur on web technologies, adobe flash platform (flex, flash, air), web, opensource, linux, free software, usability, startups, India...</description>
	<lastBuildDate>Sun, 14 Mar 2010 08:42:34 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: arthipesa</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/03/06/how-to-get-url-query-string-variables-within-flex-application/comment-page-2/#comment-6869</link>
		<dc:creator>arthipesa</dc:creator>
		<pubDate>Fri, 29 Jan 2010 22:20:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=170#comment-6869</guid>
		<description>Thank you abdul, this code is what I was needed to know.</description>
		<content:encoded><![CDATA[<p>Thank you abdul, this code is what I was needed to know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sachin Dev Tripathi</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/03/06/how-to-get-url-query-string-variables-within-flex-application/comment-page-2/#comment-6861</link>
		<dc:creator>Sachin Dev Tripathi</dc:creator>
		<pubDate>Mon, 11 Jan 2010 06:18:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=170#comment-6861</guid>
		<description>Could you please advise to Adobe Flex team to make a class &#039;URLParser&#039; or &#039;QueryString&#039; like this? It must be added with the SDK. If your solution is not much complecated so why they had not think about it to already implement with SDK? :x &lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;Sachin&lt;br&gt;&lt;a href=&quot;mailto:sachindevtripathi@gmail.com&quot; rel=&quot;nofollow&quot;&gt;sachindevtripathi@gmail.com&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Could you please advise to Adobe Flex team to make a class &#39;URLParser&#39; or &#39;QueryString&#39; like this? It must be added with the SDK. If your solution is not much complecated so why they had not think about it to already implement with SDK? <img src='http://www.abdulqabiz.com/wordpress/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' />  </p>
<p>Thanks<br />Sachin<br /><a href="mailto:sachindevtripathi@gmail.com" rel="nofollow">sachindevtripathi@gmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sachin Dev Tripathi</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/03/06/how-to-get-url-query-string-variables-within-flex-application/comment-page-2/#comment-6852</link>
		<dc:creator>Sachin Dev Tripathi</dc:creator>
		<pubDate>Thu, 17 Dec 2009 11:26:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=170#comment-6852</guid>
		<description>Its excellent...works perfectly..i am exactly looking for this..Thanks you very much..&lt;br&gt;&lt;br&gt;Thanks again&lt;br&gt;&lt;br&gt;Warm regards&lt;br&gt;Sachin dev tripathi</description>
		<content:encoded><![CDATA[<p>Its excellent&#8230;works perfectly..i am exactly looking for this..Thanks you very much..</p>
<p>Thanks again</p>
<p>Warm regards<br />Sachin dev tripathi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sachin Dev Tripathi</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/03/06/how-to-get-url-query-string-variables-within-flex-application/comment-page-2/#comment-6851</link>
		<dc:creator>Sachin Dev Tripathi</dc:creator>
		<pubDate>Wed, 16 Dec 2009 11:34:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=170#comment-6851</guid>
		<description>Hi abdul,&lt;br&gt;I have passed the ImgId in UrlRequest and then i used navigateToUrl to open new window. i opened application i am using Application.application.parameters.ImgId but it is not working although ?ImgId=1 is displaying in url. i have not used your QueryString.as class. It is must to use?&lt;br&gt;&lt;br&gt;Please let me know what i am doing wrong?&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;Sachin</description>
		<content:encoded><![CDATA[<p>Hi abdul,<br />I have passed the ImgId in UrlRequest and then i used navigateToUrl to open new window. i opened application i am using Application.application.parameters.ImgId but it is not working although ?ImgId=1 is displaying in url. i have not used your QueryString.as class. It is must to use?</p>
<p>Please let me know what i am doing wrong?</p>
<p>Thanks<br />Sachin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abdul Qabiz</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/03/06/how-to-get-url-query-string-variables-within-flex-application/comment-page-2/#comment-6798</link>
		<dc:creator>Abdul Qabiz</dc:creator>
		<pubDate>Tue, 10 Nov 2009 22:24:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=170#comment-6798</guid>
		<description>That&#039;s right, it should work that way. I wrote this class long time back and have not tested it against latest browsers, flash player and flex framework.&lt;br&gt;&lt;br&gt;Please let me know, if you confirm it still works.</description>
		<content:encoded><![CDATA[<p>That&#39;s right, it should work that way. I wrote this class long time back and have not tested it against latest browsers, flash player and flex framework.</p>
<p>Please let me know, if you confirm it still works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/03/06/how-to-get-url-query-string-variables-within-flex-application/comment-page-2/#comment-6784</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Tue, 20 Oct 2009 13:22:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=170#comment-6784</guid>
		<description>How do I use this class?&lt;br&gt;&lt;br&gt;Like this:&lt;br&gt;&lt;br&gt;var qs:QueryString = new QueryString();&lt;br&gt;var id:int = qs.parameters.id;&lt;br&gt;&lt;br&gt;Will this give me the id number in this url:&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.domain.com/index.html?id=5&quot; rel=&quot;nofollow&quot;&gt;http://www.domain.com/index.html?id=5&lt;/a&gt;&lt;br&gt;&lt;br&gt;Nice if it&#039;s so easy=)</description>
		<content:encoded><![CDATA[<p>How do I use this class?</p>
<p>Like this:</p>
<p>var qs:QueryString = new QueryString();<br />var id:int = qs.parameters.id;</p>
<p>Will this give me the id number in this url:</p>
<p><a href="http://www.domain.com/index.html?id=5" rel="nofollow">http://www.domain.com/index.html?id=5</a></p>
<p>Nice if it&#39;s so easy=)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajnish</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/03/06/how-to-get-url-query-string-variables-within-flex-application/comment-page-2/#comment-6738</link>
		<dc:creator>Rajnish</dc:creator>
		<pubDate>Mon, 07 Sep 2009 18:16:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=170#comment-6738</guid>
		<description>yuytuytuytu</description>
		<content:encoded><![CDATA[<p>yuytuytuytu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nicoweb.contact</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/03/06/how-to-get-url-query-string-variables-within-flex-application/comment-page-2/#comment-5720</link>
		<dc:creator>nicoweb.contact</dc:creator>
		<pubDate>Thu, 06 Aug 2009 09:50:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=170#comment-5720</guid>
		<description>Hi, 

thanks abdul for this great article, i knew about flashvars, how to get them, etc, but it seems this process is faster and easier ;) thks for the details :)

@+++</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>thanks abdul for this great article, i knew about flashvars, how to get them, etc, but it seems this process is faster and easier <img src='http://www.abdulqabiz.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  thks for the details <img src='http://www.abdulqabiz.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>@+++</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Sijpkes</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/03/06/how-to-get-url-query-string-variables-within-flex-application/comment-page-2/#comment-4945</link>
		<dc:creator>Paul Sijpkes</dc:creator>
		<pubDate>Sun, 19 Jul 2009 19:07:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=170#comment-4945</guid>
		<description>Thanks Abdul!  I could not get the flashvars to work with my custom app but this has solved it for me.  No need to pass any variables to the EMBED tag via PHP!  So easy!  Thanks.</description>
		<content:encoded><![CDATA[<p>Thanks Abdul!  I could not get the flashvars to work with my custom app but this has solved it for me.  No need to pass any variables to the EMBED tag via PHP!  So easy!  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/03/06/how-to-get-url-query-string-variables-within-flex-application/comment-page-2/#comment-4082</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Thu, 02 Jul 2009 03:37:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=170#comment-4082</guid>
		<description>Hi Abdul, 

That&#039;s great !

Here is a very interesting use of your code: 

I have two Applications. MyAppWidget is a small swf used to navigate to different main applications on different servers.

In MyAppWidget:

var url:String = &quot;&quot;
url += navigateEvent.applicationBaseURL;
var request:URLRequest = new URLRequest(url);
var variables:URLVariables = new URLVariables();
variables.email =  _modelLocator.loginAttempt.username;
variables.pwd =  _modelLocator.loginAttempt.password;
request.data = variables;

request.method = URLRequestMethod.GET;

try {
	navigateToURL(request);
...


Im MyMainApp: 
I use your wrapper and it work great ! However, as you can see my parameters are email and encrypted pwd over https, so I would like to use the URLRequestMethod.POST (not GET) to hide it (it&#039;s best practice too) and in this case the script doesn&#039;t work anymore...

Any suggestion ?

By the way, I have a recommendation: It will be great to create a js that can simply be include in the standard flex wrapper (html) and &quot;push&quot; flashvar on demand. I&#039;m so disappointed that it&#039;s not out of the Flex 3 box ! maybe in Flex 4 ? My understanding is that BrowserManager can only read fragment (everything after # character by using browserManager.fragment) and not parameters (from GET or POST function in HTML)

Simon</description>
		<content:encoded><![CDATA[<p>Hi Abdul, </p>
<p>That&#8217;s great !</p>
<p>Here is a very interesting use of your code: </p>
<p>I have two Applications. MyAppWidget is a small swf used to navigate to different main applications on different servers.</p>
<p>In MyAppWidget:</p>
<p>var url:String = &#8220;&#8221;<br />
url += navigateEvent.applicationBaseURL;<br />
var request:URLRequest = new URLRequest(url);<br />
var variables:URLVariables = new URLVariables();<br />
variables.email =  _modelLocator.loginAttempt.username;<br />
variables.pwd =  _modelLocator.loginAttempt.password;<br />
request.data = variables;</p>
<p>request.method = URLRequestMethod.GET;</p>
<p>try {<br />
	navigateToURL(request);<br />
&#8230;</p>
<p>Im MyMainApp:<br />
I use your wrapper and it work great ! However, as you can see my parameters are email and encrypted pwd over https, so I would like to use the URLRequestMethod.POST (not GET) to hide it (it&#8217;s best practice too) and in this case the script doesn&#8217;t work anymore&#8230;</p>
<p>Any suggestion ?</p>
<p>By the way, I have a recommendation: It will be great to create a js that can simply be include in the standard flex wrapper (html) and &#8220;push&#8221; flashvar on demand. I&#8217;m so disappointed that it&#8217;s not out of the Flex 3 box ! maybe in Flex 4 ? My understanding is that BrowserManager can only read fragment (everything after # character by using browserManager.fragment) and not parameters (from GET or POST function in HTML)</p>
<p>Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abdul Qabiz</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/03/06/how-to-get-url-query-string-variables-within-flex-application/comment-page-2/#comment-3606</link>
		<dc:creator>Abdul Qabiz</dc:creator>
		<pubDate>Thu, 25 Jun 2009 04:20:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=170#comment-3606</guid>
		<description>@vajahat: Glad to know, you found it useful. It&#039;s very old one and I believe, it can updated to use better technique.</description>
		<content:encoded><![CDATA[<p>@vajahat: Glad to know, you found it useful. It&#8217;s very old one and I believe, it can updated to use better technique.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abdul Qabiz</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/03/06/how-to-get-url-query-string-variables-within-flex-application/comment-page-2/#comment-3605</link>
		<dc:creator>Abdul Qabiz</dc:creator>
		<pubDate>Thu, 25 Jun 2009 04:19:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=170#comment-3605</guid>
		<description>@olga:

Glad to know, it helped you.

-abdul</description>
		<content:encoded><![CDATA[<p>@olga:</p>
<p>Glad to know, it helped you.</p>
<p>-abdul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olga S.</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/03/06/how-to-get-url-query-string-variables-within-flex-application/comment-page-2/#comment-3210</link>
		<dc:creator>Olga S.</dc:creator>
		<pubDate>Thu, 18 Jun 2009 16:38:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=170#comment-3210</guid>
		<description>Thank you very much, I started to use your class right away.</description>
		<content:encoded><![CDATA[<p>Thank you very much, I started to use your class right away.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vajahat Ali</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/03/06/how-to-get-url-query-string-variables-within-flex-application/comment-page-2/#comment-3156</link>
		<dc:creator>Vajahat Ali</dc:creator>
		<pubDate>Wed, 17 Jun 2009 13:51:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=170#comment-3156</guid>
		<description>Nice Article Adul</description>
		<content:encoded><![CDATA[<p>Nice Article Adul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SL</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/03/06/how-to-get-url-query-string-variables-within-flex-application/comment-page-2/#comment-608</link>
		<dc:creator>SL</dc:creator>
		<pubDate>Wed, 13 May 2009 22:08:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=170#comment-608</guid>
		<description>I can&#039;t believe how long I had to search for this, it&#039;s exactly what I needed yet no body on any of the forums could help me. I knew the solution was there but it&#039;s a matter of knowing how to access the variable name.
Thanks so much,
</description>
		<content:encoded><![CDATA[<p>I can&#8217;t believe how long I had to search for this, it&#8217;s exactly what I needed yet no body on any of the forums could help me. I knew the solution was there but it&#8217;s a matter of knowing how to access the variable name.<br />
Thanks so much,</p>
]]></content:encoded>
	</item>
</channel>
</rss>
