<?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: Unable to Catch IOErrorEvent&#8217;s when Loading a ByteArray into an Image</title>
	<atom:link href="http://www.betadesigns.co.uk/Blog/2009/03/18/unable-to-catch-ioerrorevents-when-loading-a-bytearray-into-an-image/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.betadesigns.co.uk/Blog/2009/03/18/unable-to-catch-ioerrorevents-when-loading-a-bytearray-into-an-image/</link>
	<description>Flex and Component Development</description>
	<lastBuildDate>Mon, 30 Jan 2012 09:18:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Spiral</title>
		<link>http://www.betadesigns.co.uk/Blog/2009/03/18/unable-to-catch-ioerrorevents-when-loading-a-bytearray-into-an-image/#comment-2623</link>
		<dc:creator>Spiral</dc:creator>
		<pubDate>Fri, 25 Sep 2009 12:22:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.betadesigns.co.uk/Blog/?p=49#comment-2623</guid>
		<description>Same issue wanted to have an error when downloading a non supported image e.g. TIF. Came with the 2044 exception. Had to catch it with an event in the ContentLoaderInfo class

var loader:FlexLoader = new FlexLoader();
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, test);
loader.addEventListener(IOErrorEvent.IO_ERROR, handler);
loader.loadBytes(afbeelding);
imageHolder.source = loader.content;

this worked</description>
		<content:encoded><![CDATA[<p>Same issue wanted to have an error when downloading a non supported image e.g. TIF. Came with the 2044 exception. Had to catch it with an event in the ContentLoaderInfo class</p>
<p>var loader:FlexLoader = new FlexLoader();<br />
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, test);<br />
loader.addEventListener(IOErrorEvent.IO_ERROR, handler);<br />
loader.loadBytes(afbeelding);<br />
imageHolder.source = loader.content;</p>
<p>this worked</p>
]]></content:encoded>
	</item>
</channel>
</rss>

