<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Comments on snippet: 'AS3: My favorite helper functions'</title>
<link>http://snipplr.com</link>
<description>Snipplr comments feed'</description>
<language>en-us</language>
<pubDate>Sat, 25 May 2013 10:11:36 GMT</pubDate>
<item>
<title>Winkyboy said on 6/29/10</title>
<link>http://snipplr.com/view/10204/as3-my-favorite-helper-functions/</link>
<description><![CDATA[ Oops! And here's the call to get it  going:

getURL (getFlashVars().clickTag, "_blank"); ]]></description>
<pubDate>Tue, 29 Jun 2010 00:54:21 GMT</pubDate>
<guid>http://snipplr.com/view/10204/as3-my-favorite-helper-functions/</guid>
</item>
<item>
<title>Winkyboy said on 6/29/10</title>
<link>http://snipplr.com/view/10204/as3-my-favorite-helper-functions/</link>
<description><![CDATA[ Just a little note for myself, the next time I come back through here and need to pass flashvars through to a getURL in an .as file...



	import flash.display.LoaderInfo;
	import flash.net.URLRequest;
	import flash.net.navigateToURL;

		private function getURL(url:String, target:String = null){
			try {
				navigateToURL(new URLRequest(url), target);
			}catch(error:Error){
				trace("[getURL] "+error);
			}
		}
		
		private function getFlashVars():Object
		{
			 return Object( LoaderInfo( this.loaderInfo ).parameters );
		}

// using info from Adobe to pass the flashvars: http://kb2.adobe.com/cps/164/tn_16417.html ]]></description>
<pubDate>Tue, 29 Jun 2010 00:53:23 GMT</pubDate>
<guid>http://snipplr.com/view/10204/as3-my-favorite-helper-functions/</guid>
</item>
</channel>
</rss>