<?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"
	>
<channel>
	<title>Comments on: AS3: QueryString</title>
	<atom:link href="http://evolve.reintroducing.com/2008/07/03/as3/as3-querystring/feed/" rel="self" type="application/rss+xml" />
	<link>http://evolve.reintroducing.com/2008/07/03/as3/as3-querystring/</link>
	<description>Learn &#38; Interact with the ActionScript World</description>
	<pubDate>Sat, 22 Nov 2008 07:52:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Matt Przybylski</title>
		<link>http://evolve.reintroducing.com/2008/07/03/as3/as3-querystring/#comment-2262</link>
		<dc:creator>Matt Przybylski</dc:creator>
		<pubDate>Thu, 20 Nov 2008 18:40:31 +0000</pubDate>
		<guid isPermaLink="false">http://evolve.reintroducing.com/?p=141#comment-2262</guid>
		<description>roi,
I just updated the class to fix your issue.  It'll now return an empty string for any variables that don't exist in the query string.  I didn't initially account for this because I figured people wouldn't try to call variables that don't exist, but that's my mistake as they may be coming from a script and some may be missing.  good catch and thanks for pointing it out.</description>
		<content:encoded><![CDATA[<p>roi,<br />
I just updated the class to fix your issue.  It&#8217;ll now return an empty string for any variables that don&#8217;t exist in the query string.  I didn&#8217;t initially account for this because I figured people wouldn&#8217;t try to call variables that don&#8217;t exist, but that&#8217;s my mistake as they may be coming from a script and some may be missing.  good catch and thanks for pointing it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AS3: QueryString v1.1</title>
		<link>http://evolve.reintroducing.com/2008/07/03/as3/as3-querystring/#comment-2261</link>
		<dc:creator>AS3: QueryString v1.1</dc:creator>
		<pubDate>Thu, 20 Nov 2008 18:36:30 +0000</pubDate>
		<guid isPermaLink="false">http://evolve.reintroducing.com/?p=141#comment-2261</guid>
		<description>[...] variables to not show, rather it just returns an empty string. You can get the update from the original post.          AS3, query, QueryString, [...]</description>
		<content:encoded><![CDATA[<p>[...] variables to not show, rather it just returns an empty string. You can get the update from the original post.          AS3, query, QueryString, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roi</title>
		<link>http://evolve.reintroducing.com/2008/07/03/as3/as3-querystring/#comment-2152</link>
		<dc:creator>roi</dc:creator>
		<pubDate>Tue, 04 Nov 2008 20:48:40 +0000</pubDate>
		<guid isPermaLink="false">http://evolve.reintroducing.com/?p=141#comment-2152</guid>
		<description>I've discovered a little bug with this script...

Lets say you are calling in 2 parameters from the url....

So you line them in in AS as 

QueryString.getInstance().getValue("myDate");
QueryString.getInstance().getValue("myTitle"); 

if you do not supply the first var, which in this case is "myDate" and you supplied the "myTitle" only parameter, it will not be read in...if you comment out the first parameter mydate...myTitle would than show.....

Off course if all parameters are present to be read in, everything works fine....

thanks</description>
		<content:encoded><![CDATA[<p>I&#8217;ve discovered a little bug with this script&#8230;</p>
<p>Lets say you are calling in 2 parameters from the url&#8230;.</p>
<p>So you line them in in AS as </p>
<p>QueryString.getInstance().getValue(&#8221;myDate&#8221;);<br />
QueryString.getInstance().getValue(&#8221;myTitle&#8221;); </p>
<p>if you do not supply the first var, which in this case is &#8220;myDate&#8221; and you supplied the &#8220;myTitle&#8221; only parameter, it will not be read in&#8230;if you comment out the first parameter mydate&#8230;myTitle would than show&#8230;..</p>
<p>Off course if all parameters are present to be read in, everything works fine&#8230;.</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Przybylski</title>
		<link>http://evolve.reintroducing.com/2008/07/03/as3/as3-querystring/#comment-2151</link>
		<dc:creator>Matt Przybylski</dc:creator>
		<pubDate>Tue, 04 Nov 2008 20:15:17 +0000</pubDate>
		<guid isPermaLink="false">http://evolve.reintroducing.com/?p=141#comment-2151</guid>
		<description>you're welcome, glad it helped :P</description>
		<content:encoded><![CDATA[<p>you&#8217;re welcome, glad it helped <img src='http://evolve.reintroducing.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roi</title>
		<link>http://evolve.reintroducing.com/2008/07/03/as3/as3-querystring/#comment-2150</link>
		<dc:creator>roi</dc:creator>
		<pubDate>Tue, 04 Nov 2008 20:11:51 +0000</pubDate>
		<guid isPermaLink="false">http://evolve.reintroducing.com/?p=141#comment-2150</guid>
		<description>off couse it does, lol I finally looked into the .as script itself and there it was the ExternalInterface.call (little evil ;) hiding away ) and after hunting down the meaning of a singleton class...and just as we speak....im able to refresh my page and my textField is filled with one of the test parameters ;)
Ok here your official thank you. Thank you. :)

Good class. :)</description>
		<content:encoded><![CDATA[<p>off couse it does, lol I finally looked into the .as script itself and there it was the ExternalInterface.call (little evil <img src='http://evolve.reintroducing.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> hiding away ) and after hunting down the meaning of a singleton class&#8230;and just as we speak&#8230;.im able to refresh my page and my textField is filled with one of the test parameters <img src='http://evolve.reintroducing.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
Ok here your official thank you. Thank you. <img src='http://evolve.reintroducing.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Good class. <img src='http://evolve.reintroducing.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Przybylski</title>
		<link>http://evolve.reintroducing.com/2008/07/03/as3/as3-querystring/#comment-2149</link>
		<dc:creator>Matt Przybylski</dc:creator>
		<pubDate>Tue, 04 Nov 2008 19:55:37 +0000</pubDate>
		<guid isPermaLink="false">http://evolve.reintroducing.com/?p=141#comment-2149</guid>
		<description>roi,
it will automatically take the current URL into account to gather the query string variables from.  All you have to do is say QueryString.getInstance().getValue("valueNameHere"); and it will return the variable that goes with that value.  Hope that helps.</description>
		<content:encoded><![CDATA[<p>roi,<br />
it will automatically take the current URL into account to gather the query string variables from.  All you have to do is say QueryString.getInstance().getValue(&#8221;valueNameHere&#8221;); and it will return the variable that goes with that value.  Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roi</title>
		<link>http://evolve.reintroducing.com/2008/07/03/as3/as3-querystring/#comment-2147</link>
		<dc:creator>roi</dc:creator>
		<pubDate>Tue, 04 Nov 2008 19:41:02 +0000</pubDate>
		<guid isPermaLink="false">http://evolve.reintroducing.com/?p=141#comment-2147</guid>
		<description>ok....for the life of me, how do we use this class?
I have added it in flash and setup its class path ok...

but how do we get the string to be evaluated into this class in the first place? How do we pass it the main url we want to evaluate? 

Thanks</description>
		<content:encoded><![CDATA[<p>ok&#8230;.for the life of me, how do we use this class?<br />
I have added it in flash and setup its class path ok&#8230;</p>
<p>but how do we get the string to be evaluated into this class in the first place? How do we pass it the main url we want to evaluate? </p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Przybylski</title>
		<link>http://evolve.reintroducing.com/2008/07/03/as3/as3-querystring/#comment-2130</link>
		<dc:creator>Matt Przybylski</dc:creator>
		<pubDate>Tue, 28 Oct 2008 18:42:09 +0000</pubDate>
		<guid isPermaLink="false">http://evolve.reintroducing.com/?p=141#comment-2130</guid>
		<description>Andrew,
Certainly, but that is not what the class was made to do.  If you want to have defaults you have to anticipate that in your code in AS and not actually through the query string or this class.  You could, though, add a getter to this class for the pairs array and check to see if its length is greater than 0 which would mean there is a query string in the URL and if not then set the defaults in your app.</description>
		<content:encoded><![CDATA[<p>Andrew,<br />
Certainly, but that is not what the class was made to do.  If you want to have defaults you have to anticipate that in your code in AS and not actually through the query string or this class.  You could, though, add a getter to this class for the pairs array and check to see if its length is greater than 0 which would mean there is a query string in the URL and if not then set the defaults in your app.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Goddard</title>
		<link>http://evolve.reintroducing.com/2008/07/03/as3/as3-querystring/#comment-2129</link>
		<dc:creator>Andrew Goddard</dc:creator>
		<pubDate>Tue, 28 Oct 2008 16:08:22 +0000</pubDate>
		<guid isPermaLink="false">http://evolve.reintroducing.com/?p=141#comment-2129</guid>
		<description>I was wondering if there was a way of passing a default value if no variable was present eg if:

http://www.reintroducing.com was sent with no variables you could set var1=one and var2=two as a default.</description>
		<content:encoded><![CDATA[<p>I was wondering if there was a way of passing a default value if no variable was present eg if:</p>
<p><a href="http://www.reintroducing.com" rel="nofollow">http://www.reintroducing.com</a> was sent with no variables you could set var1=one and var2=two as a default.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Przybylski</title>
		<link>http://evolve.reintroducing.com/2008/07/03/as3/as3-querystring/#comment-2070</link>
		<dc:creator>Matt Przybylski</dc:creator>
		<pubDate>Thu, 09 Oct 2008 15:38:24 +0000</pubDate>
		<guid isPermaLink="false">http://evolve.reintroducing.com/?p=141#comment-2070</guid>
		<description>you could put it in the folder where your FLA is (the whole folder structure together, com.reintroducing..etc) or you could set it as a global classpath in your Flash preferences</description>
		<content:encoded><![CDATA[<p>you could put it in the folder where your FLA is (the whole folder structure together, com.reintroducing..etc) or you could set it as a global classpath in your Flash preferences</p>
]]></content:encoded>
	</item>
</channel>
</rss>
