<?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: Get Current URL and Query String Parameters to Flash &#124; Tutorial</title>
	<atom:link href="http://blog.circlecube.com/2008/03/tutorial/get-current-url-and-query-string-parameters-to-flash-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.circlecube.com/2008/03/tutorial/get-current-url-and-query-string-parameters-to-flash-tutorial/</link>
	<description>Evan&#039;s Interactive Actionscript Exploration</description>
	<lastBuildDate>Mon, 15 Mar 2010 12:53:04 +0000</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: marembu</title>
		<link>http://blog.circlecube.com/2008/03/tutorial/get-current-url-and-query-string-parameters-to-flash-tutorial/#comment-1208</link>
		<dc:creator>marembu</dc:creator>
		<pubDate>Thu, 17 Sep 2009 17:51:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.circlecube.com/2008/03/20/get-current-url-and-query-string-parameters-to-flash-tutorial/#comment-1208</guid>
		<description>I had to put the content directory in the IIS (windows vista and IIS 7)  in order to could run well</description>
		<content:encoded><![CDATA[<p>I had to put the content directory in the IIS (windows vista and IIS 7)  in order to could run well</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan Mullins</title>
		<link>http://blog.circlecube.com/2008/03/tutorial/get-current-url-and-query-string-parameters-to-flash-tutorial/#comment-1202</link>
		<dc:creator>Evan Mullins</dc:creator>
		<pubDate>Sun, 13 Sep 2009 19:02:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.circlecube.com/2008/03/20/get-current-url-and-query-string-parameters-to-flash-tutorial/#comment-1202</guid>
		<description>@Design Guy - A quick suggestion - Try splitting the url as a string with the delimiter at &#039;?&#039; and then try to run the first part through your switch statement.</description>
		<content:encoded><![CDATA[<p>@Design Guy &#8211; A quick suggestion &#8211; Try splitting the url as a string with the delimiter at &#8216;?&#8217; and then try to run the first part through your switch statement.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Design Guy</title>
		<link>http://blog.circlecube.com/2008/03/tutorial/get-current-url-and-query-string-parameters-to-flash-tutorial/#comment-1200</link>
		<dc:creator>Design Guy</dc:creator>
		<pubDate>Tue, 08 Sep 2009 20:47:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.circlecube.com/2008/03/20/get-current-url-and-query-string-parameters-to-flash-tutorial/#comment-1200</guid>
		<description>Thanks a ton for this. Worked like a charm right out of the box. Worked in Safari 4, FF3.5 (mac &amp; PC) IE 7 &amp; 8 etc, etc. I do have one questions which is more of a general AS question perhaps but anyway...

When my swf gets the URL I use a switch statement to determine which button to highlight (the current page&#039;s button). That works great but the issue is that unless the URL is EXACTLY the same as I&#039;ve declared, it won&#039;t work. I&#039;m wondering if there&#039;s a way to declare an open-ended string. i.e. when you are working with IP addresses you might say 192.168.1.% to signify any IP as long as it has those first numbers. or using * to signify any user etc. So whatever that&#039;s called is what I&#039;m looking for. 

I&#039;m using wordpress and some of the URLs for sub-content get appended with query junk: 
so... &quot;http://www.blah.com/site/photos/&quot; works fine but &quot;http://www.blah.com/site/photos/?album=1&amp;gallery=5&quot; does not. so basically I&#039;m trying to say if URL == (&quot;http://www.blah.com/site/photos/&quot; + &lt;b&gt;ANYTHING&lt;/b&gt;) then do what I say. (which is to keep that button highlighted). So how do I declare &quot;ANYTHING&quot; as a string possibility.

Perhaps you covered this but I haven&#039;t been able to find anything.

thoughts? (and thanks again)</description>
		<content:encoded><![CDATA[<p>Thanks a ton for this. Worked like a charm right out of the box. Worked in Safari 4, FF3.5 (mac &amp; PC) IE 7 &amp; 8 etc, etc. I do have one questions which is more of a general AS question perhaps but anyway&#8230;</p>
<p>When my swf gets the URL I use a switch statement to determine which button to highlight (the current page&#8217;s button). That works great but the issue is that unless the URL is EXACTLY the same as I&#8217;ve declared, it won&#8217;t work. I&#8217;m wondering if there&#8217;s a way to declare an open-ended string. i.e. when you are working with IP addresses you might say 192.168.1.% to signify any IP as long as it has those first numbers. or using * to signify any user etc. So whatever that&#8217;s called is what I&#8217;m looking for. </p>
<p>I&#8217;m using wordpress and some of the URLs for sub-content get appended with query junk:<br />
so&#8230; &#8220;http://www.blah.com/site/photos/&#8221; works fine but &#8220;http://www.blah.com/site/photos/?album=1&amp;gallery=5&#8243; does not. so basically I&#8217;m trying to say if URL == (&#8220;http://www.blah.com/site/photos/&#8221; + <b>ANYTHING</b>) then do what I say. (which is to keep that button highlighted). So how do I declare &#8220;ANYTHING&#8221; as a string possibility.</p>
<p>Perhaps you covered this but I haven&#8217;t been able to find anything.</p>
<p>thoughts? (and thanks again)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vincent</title>
		<link>http://blog.circlecube.com/2008/03/tutorial/get-current-url-and-query-string-parameters-to-flash-tutorial/#comment-1170</link>
		<dc:creator>Vincent</dc:creator>
		<pubDate>Mon, 10 Aug 2009 15:38:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.circlecube.com/2008/03/20/get-current-url-and-query-string-parameters-to-flash-tutorial/#comment-1170</guid>
		<description>Evan Mullins, your code really a big help to me.  Thanks.</description>
		<content:encoded><![CDATA[<p>Evan Mullins, your code really a big help to me.  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan Mullins</title>
		<link>http://blog.circlecube.com/2008/03/tutorial/get-current-url-and-query-string-parameters-to-flash-tutorial/#comment-1125</link>
		<dc:creator>Evan Mullins</dc:creator>
		<pubDate>Thu, 04 Jun 2009 18:37:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.circlecube.com/2008/03/20/get-current-url-and-query-string-parameters-to-flash-tutorial/#comment-1125</guid>
		<description>@Victor- Are you sure you&#039;re including all the files? I&#039;m not exactly sure what your question is, but it seems you are having trouble getting my example to work in your files? So just having it live on the server is keeping it from working? Could it be an issue with allowscriptaccess or a crossdomain.xml file?</description>
		<content:encoded><![CDATA[<p>@Victor- Are you sure you&#8217;re including all the files? I&#8217;m not exactly sure what your question is, but it seems you are having trouble getting my example to work in your files? So just having it live on the server is keeping it from working? Could it be an issue with allowscriptaccess or a crossdomain.xml file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor Ocampo</title>
		<link>http://blog.circlecube.com/2008/03/tutorial/get-current-url-and-query-string-parameters-to-flash-tutorial/#comment-1122</link>
		<dc:creator>Victor Ocampo</dc:creator>
		<pubDate>Mon, 01 Jun 2009 16:15:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.circlecube.com/2008/03/20/get-current-url-and-query-string-parameters-to-flash-tutorial/#comment-1122</guid>
		<description>This must be the best way to solve this, only theres a thing i cannot solve since like 10 hours of not standing even for bathroom. I have Windows Vista Home Premium, with IIS 7.0 and PHP 5.
Now, im going crazy, i downloaded your example, i copied it to my server, wow it works perfectly (opera and IE 7 and 8).
I came here not by loading url vars, i used to be able to do that, but somehow, now it doesnt work in IE 7 or 8.
So i saw ur example and works.
BUT WHAT IS DRIVING ME CRAZY, I DONT WANT TO DEAL WITH THIS ANYMORE PLEASE HELP!
Listen, i have this localhost/site/getURLParams/ yor example, everything works. Then i copy all files to localhost/site AND IT DOESNT WORK!!
Before this i just copied code bla bla, to make it for my propuses, but since no success i decided it to COPY files, they seem to work ONLY on your example folder, HOW IN EARTH THIS IS HAPPENING!?! Im about to suicide!! =(

Does anyone have an issue like this?? i surrendered and tried just to copy files on anywhere else. Somehow they just work inside the original example folder, it doesnt matter if i copy all files to another folder!!!</description>
		<content:encoded><![CDATA[<p>This must be the best way to solve this, only theres a thing i cannot solve since like 10 hours of not standing even for bathroom. I have Windows Vista Home Premium, with IIS 7.0 and PHP 5.<br />
Now, im going crazy, i downloaded your example, i copied it to my server, wow it works perfectly (opera and IE 7 and 8).<br />
I came here not by loading url vars, i used to be able to do that, but somehow, now it doesnt work in IE 7 or 8.<br />
So i saw ur example and works.<br />
BUT WHAT IS DRIVING ME CRAZY, I DONT WANT TO DEAL WITH THIS ANYMORE PLEASE HELP!<br />
Listen, i have this localhost/site/getURLParams/ yor example, everything works. Then i copy all files to localhost/site AND IT DOESNT WORK!!<br />
Before this i just copied code bla bla, to make it for my propuses, but since no success i decided it to COPY files, they seem to work ONLY on your example folder, HOW IN EARTH THIS IS HAPPENING!?! Im about to suicide!! =(</p>
<p>Does anyone have an issue like this?? i surrendered and tried just to copy files on anywhere else. Somehow they just work inside the original example folder, it doesnt matter if i copy all files to another folder!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Killroy</title>
		<link>http://blog.circlecube.com/2008/03/tutorial/get-current-url-and-query-string-parameters-to-flash-tutorial/#comment-1083</link>
		<dc:creator>Killroy</dc:creator>
		<pubDate>Thu, 30 Apr 2009 14:01:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.circlecube.com/2008/03/20/get-current-url-and-query-string-parameters-to-flash-tutorial/#comment-1083</guid>
		<description>Excellent work! Very easy to implement and very fast!</description>
		<content:encoded><![CDATA[<p>Excellent work! Very easy to implement and very fast!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Athos</title>
		<link>http://blog.circlecube.com/2008/03/tutorial/get-current-url-and-query-string-parameters-to-flash-tutorial/#comment-988</link>
		<dc:creator>Athos</dc:creator>
		<pubDate>Sat, 13 Dec 2008 17:38:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.circlecube.com/2008/03/20/get-current-url-and-query-string-parameters-to-flash-tutorial/#comment-988</guid>
		<description>THANKS!!!!
Youre code works great for my needs. I&#039;m trying to verify (via ASP) if a user name exists in a DB, and then return (via QueryString) the value to the swf. I&#039;ve spended allmost 2 days looking for answers in many different forums but it have been frustrating. Apparently wath works for many other people (loaderInfo.parameters.myValue) doesn&#039;t work for me. (Probably I have missed something... but I&#039;ve downloaded examples... copy paste code...) and nothing. 

Finally...QueryString.as have done an exellent job!

Thanks again</description>
		<content:encoded><![CDATA[<p>THANKS!!!!<br />
Youre code works great for my needs. I&#8217;m trying to verify (via ASP) if a user name exists in a DB, and then return (via QueryString) the value to the swf. I&#8217;ve spended allmost 2 days looking for answers in many different forums but it have been frustrating. Apparently wath works for many other people (loaderInfo.parameters.myValue) doesn&#8217;t work for me. (Probably I have missed something&#8230; but I&#8217;ve downloaded examples&#8230; copy paste code&#8230;) and nothing. </p>
<p>Finally&#8230;QueryString.as have done an exellent job!</p>
<p>Thanks again</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saravanan</title>
		<link>http://blog.circlecube.com/2008/03/tutorial/get-current-url-and-query-string-parameters-to-flash-tutorial/#comment-950</link>
		<dc:creator>saravanan</dc:creator>
		<pubDate>Tue, 11 Nov 2008 03:52:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.circlecube.com/2008/03/20/get-current-url-and-query-string-parameters-to-flash-tutorial/#comment-950</guid>
		<description>sorry it didn&#039;t display this SWFOBJECT</description>
		<content:encoded><![CDATA[<p>sorry it didn&#8217;t display this SWFOBJECT</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saravanan</title>
		<link>http://blog.circlecube.com/2008/03/tutorial/get-current-url-and-query-string-parameters-to-flash-tutorial/#comment-949</link>
		<dc:creator>saravanan</dc:creator>
		<pubDate>Tue, 11 Nov 2008 03:51:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.circlecube.com/2008/03/20/get-current-url-and-query-string-parameters-to-flash-tutorial/#comment-949</guid>
		<description>I would really like to say a huge thanks to Evan Mullins i have been searching high and low for this solution for 2 days.And i got it here.A few pointers u actually do not need .you can still run perfectly.

This is what i have done :

import QueryString.as;
var myPath:QueryString = new QueryString();
var AlbumID = unescape(myPath.parameters.nom);
// Chose which gallery to display according to the queryString Passed
if ( AlbumID == &quot;1&quot;){
_global.galleryNum = 0;
}
if ( AlbumID == &quot;2&quot;){
_global.galleryNum = 1;
}

but of course u have to include the query string class provided.

Once again really thanks for this wonderful post.</description>
		<content:encoded><![CDATA[<p>I would really like to say a huge thanks to Evan Mullins i have been searching high and low for this solution for 2 days.And i got it here.A few pointers u actually do not need .you can still run perfectly.</p>
<p>This is what i have done :</p>
<p>import QueryString.as;<br />
var myPath:QueryString = new QueryString();<br />
var AlbumID = unescape(myPath.parameters.nom);<br />
// Chose which gallery to display according to the queryString Passed<br />
if ( AlbumID == &#8220;1&#8243;){<br />
_global.galleryNum = 0;<br />
}<br />
if ( AlbumID == &#8220;2&#8243;){<br />
_global.galleryNum = 1;<br />
}</p>
<p>but of course u have to include the query string class provided.</p>
<p>Once again really thanks for this wonderful post.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->