<?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: SecurityError: Error #2000: No active security context.</title>
	<atom:link href="http://www.markledford.com/blog/2008/07/24/securityerror-error-2000-no-active-security-context/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markledford.com/blog/2008/07/24/securityerror-error-2000-no-active-security-context/</link>
	<description>Documenting the trials and triumphs of a mobile / front end web developer</description>
	<lastBuildDate>Thu, 02 Feb 2012 09:48:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: mjameei</title>
		<link>http://www.markledford.com/blog/2008/07/24/securityerror-error-2000-no-active-security-context/comment-page-1/#comment-53183</link>
		<dc:creator>mjameei</dc:creator>
		<pubDate>Sun, 11 Dec 2011 11:25:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.markledford.com/blog/?p=15#comment-53183</guid>
		<description>if you receive this error when trying to establish a local connection, don&#039;t forget to add this to your code :
localconnectioninstance.client=this;
this is for redirecting requests to a different object other than the receiving local connection instance</description>
		<content:encoded><![CDATA[<p>if you receive this error when trying to establish a local connection, don&#8217;t forget to add this to your code :<br />
localconnectioninstance.client=this;<br />
this is for redirecting requests to a different object other than the receiving local connection instance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BrainDad</title>
		<link>http://www.markledford.com/blog/2008/07/24/securityerror-error-2000-no-active-security-context/comment-page-1/#comment-51080</link>
		<dc:creator>BrainDad</dc:creator>
		<pubDate>Thu, 24 Nov 2011 15:26:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.markledford.com/blog/?p=15#comment-51080</guid>
		<description>Hey Frank,
you must be the brain here..</description>
		<content:encoded><![CDATA[<p>Hey Frank,<br />
you must be the brain here..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: benjoya</title>
		<link>http://www.markledford.com/blog/2008/07/24/securityerror-error-2000-no-active-security-context/comment-page-1/#comment-42592</link>
		<dc:creator>benjoya</dc:creator>
		<pubDate>Tue, 16 Aug 2011 20:59:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.markledford.com/blog/?p=15#comment-42592</guid>
		<description>yeah, when there&#039;s a problem in the URL, you get this error. trace out the url, make sure your assets are in the right place.</description>
		<content:encoded><![CDATA[<p>yeah, when there&#8217;s a problem in the URL, you get this error. trace out the url, make sure your assets are in the right place.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kate</title>
		<link>http://www.markledford.com/blog/2008/07/24/securityerror-error-2000-no-active-security-context/comment-page-1/#comment-40751</link>
		<dc:creator>Kate</dc:creator>
		<pubDate>Fri, 22 Jul 2011 03:32:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.markledford.com/blog/?p=15#comment-40751</guid>
		<description>I am simply trying to load a local jpg and I get this error!</description>
		<content:encoded><![CDATA[<p>I am simply trying to load a local jpg and I get this error!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diane</title>
		<link>http://www.markledford.com/blog/2008/07/24/securityerror-error-2000-no-active-security-context/comment-page-1/#comment-37871</link>
		<dc:creator>Diane</dc:creator>
		<pubDate>Sun, 12 Jun 2011 16:51:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.markledford.com/blog/?p=15#comment-37871</guid>
		<description>I&#039;m getting the same error message when playing all pogo games.  HELP</description>
		<content:encoded><![CDATA[<p>I&#8217;m getting the same error message when playing all pogo games.  HELP</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ministe2003</title>
		<link>http://www.markledford.com/blog/2008/07/24/securityerror-error-2000-no-active-security-context/comment-page-1/#comment-37271</link>
		<dc:creator>ministe2003</dc:creator>
		<pubDate>Wed, 01 Jun 2011 10:56:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.markledford.com/blog/?p=15#comment-37271</guid>
		<description>Just wanted to add my experience here, I was looping through a bunch of URLs and downloading images from the urls with a Loader, I was getting this error and it turned out some of the URLs had changed and no longer contained the data I was trying to download.

Simple tip, as juanargento says, catch the IOErrorEvent and add a breakpoint on it - when you hit it, look through the data to see if you&#039;re trying to download a null value!</description>
		<content:encoded><![CDATA[<p>Just wanted to add my experience here, I was looping through a bunch of URLs and downloading images from the urls with a Loader, I was getting this error and it turned out some of the URLs had changed and no longer contained the data I was trying to download.</p>
<p>Simple tip, as juanargento says, catch the IOErrorEvent and add a breakpoint on it &#8211; when you hit it, look through the data to see if you&#8217;re trying to download a null value!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: juanargento</title>
		<link>http://www.markledford.com/blog/2008/07/24/securityerror-error-2000-no-active-security-context/comment-page-1/#comment-36906</link>
		<dc:creator>juanargento</dc:creator>
		<pubDate>Tue, 24 May 2011 17:45:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.markledford.com/blog/?p=15#comment-36906</guid>
		<description>The same issue happened to me when i was trying to call the save() method of the FileReference class. The workaround that I found to solve this issue is add a listener for the IOErrorEvent and just catch the exception that is trown:

Here  my code snipped:

 var byteArray:ByteArray = myPDF.save(Method.LOCAL);
 var fileRef:FileReference = new FileReference();
 fileRef.addEventListener(IOErrorEvent.IO_ERROR, onIOError, false, 0, true);
 fileRef.save(byteArray, &quot;MyReport.pdf&quot;);


		
private function onIOError(event:Event):void {			
     //do nothing here
}	


Hope this helps somebody else.</description>
		<content:encoded><![CDATA[<p>The same issue happened to me when i was trying to call the save() method of the FileReference class. The workaround that I found to solve this issue is add a listener for the IOErrorEvent and just catch the exception that is trown:</p>
<p>Here  my code snipped:</p>
<p> var byteArray:ByteArray = myPDF.save(Method.LOCAL);<br />
 var fileRef:FileReference = new FileReference();<br />
 fileRef.addEventListener(IOErrorEvent.IO_ERROR, onIOError, false, 0, true);<br />
 fileRef.save(byteArray, &#8220;MyReport.pdf&#8221;);</p>
<p>private function onIOError(event:Event):void {<br />
     //do nothing here<br />
}	</p>
<p>Hope this helps somebody else.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank</title>
		<link>http://www.markledford.com/blog/2008/07/24/securityerror-error-2000-no-active-security-context/comment-page-1/#comment-36153</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Sat, 07 May 2011 01:17:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.markledford.com/blog/?p=15#comment-36153</guid>
		<description>ok, just solved the problem,
my code before was 
var xmURL:URLRequest=new URLRequest(&quot;C:/Users/frankshan/Downloads&quot;);
it&#039;s suppose to be
var xmURL:URLRequest=new URLRequest(&quot;C:/Users/frankshan/Downloads/timeline.xml&quot;);

so stupid.... :(</description>
		<content:encoded><![CDATA[<p>ok, just solved the problem,<br />
my code before was<br />
var xmURL:URLRequest=new URLRequest(&#8220;C:/Users/frankshan/Downloads&#8221;);<br />
it&#8217;s suppose to be<br />
var xmURL:URLRequest=new URLRequest(&#8220;C:/Users/frankshan/Downloads/timeline.xml&#8221;);</p>
<p>so stupid&#8230;. :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank</title>
		<link>http://www.markledford.com/blog/2008/07/24/securityerror-error-2000-no-active-security-context/comment-page-1/#comment-36152</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Sat, 07 May 2011 01:13:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.markledford.com/blog/?p=15#comment-36152</guid>
		<description>i had this error when loading in a xml file...so weird, never happened before today.</description>
		<content:encoded><![CDATA[<p>i had this error when loading in a xml file&#8230;so weird, never happened before today.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tom</title>
		<link>http://www.markledford.com/blog/2008/07/24/securityerror-error-2000-no-active-security-context/comment-page-1/#comment-33585</link>
		<dc:creator>tom</dc:creator>
		<pubDate>Thu, 17 Mar 2011 14:27:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.markledford.com/blog/?p=15#comment-33585</guid>
		<description>^^^ .. that was using the &quot;img&quot; tag</description>
		<content:encoded><![CDATA[<p>^^^ .. that was using the &#8220;img&#8221; tag</p>
]]></content:encoded>
	</item>
</channel>
</rss>

