<?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: Dynamically loading an image in ActionScript 2.0 and ActionScript 3.0</title>
	<atom:link href="http://actionscriptexamples.com/2008/03/02/dynamically-loading-an-image-in-actionscript-20-and-actionscript-30/feed/" rel="self" type="application/rss+xml" />
	<link>http://actionscriptexamples.com/2008/03/02/dynamically-loading-an-image-in-actionscript-20-and-actionscript-30/</link>
	<description>A bunch of ActionScript 2.0 and ActionScript 3.0 examples*</description>
	<lastBuildDate>Sun, 21 Mar 2010 00:56:04 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Amber</title>
		<link>http://actionscriptexamples.com/2008/03/02/dynamically-loading-an-image-in-actionscript-20-and-actionscript-30/comment-page-1/#comment-557</link>
		<dc:creator>Amber</dc:creator>
		<pubDate>Sat, 11 Jul 2009 21:39:48 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/2008/03/02/dynamically-loading-an-image-in-actionscript-20-and-actionscript-30/#comment-557</guid>
		<description>How would I get this to work where you can click buttons to load these various images, one at a time?</description>
		<content:encoded><![CDATA[<p>How would I get this to work where you can click buttons to load these various images, one at a time?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vanzo</title>
		<link>http://actionscriptexamples.com/2008/03/02/dynamically-loading-an-image-in-actionscript-20-and-actionscript-30/comment-page-1/#comment-542</link>
		<dc:creator>vanzo</dc:creator>
		<pubDate>Tue, 23 Jun 2009 13:13:32 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/2008/03/02/dynamically-loading-an-image-in-actionscript-20-and-actionscript-30/#comment-542</guid>
		<description>thanks man</description>
		<content:encoded><![CDATA[<p>thanks man</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://actionscriptexamples.com/2008/03/02/dynamically-loading-an-image-in-actionscript-20-and-actionscript-30/comment-page-1/#comment-537</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 16 Jun 2009 17:19:40 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/2008/03/02/dynamically-loading-an-image-in-actionscript-20-and-actionscript-30/#comment-537</guid>
		<description>Found out the error!!!
My firewall was blocking the request!</description>
		<content:encoded><![CDATA[<p>Found out the error!!!<br />
My firewall was blocking the request!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://actionscriptexamples.com/2008/03/02/dynamically-loading-an-image-in-actionscript-20-and-actionscript-30/comment-page-1/#comment-536</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 16 Jun 2009 17:17:51 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/2008/03/02/dynamically-loading-an-image-in-actionscript-20-and-actionscript-30/#comment-536</guid>
		<description>Everytime I try to use this script I get the following error:
&lt;code&gt;Error opening URL &#039;%SITE PATH%&#039;
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.&lt;/code&gt;

I&#039;ve tried with many different site paths (all with correct URLs I even tried with the two in this tutorial!) but nothing seems to work :( 

please help!
- Alex</description>
		<content:encoded><![CDATA[<p>Everytime I try to use this script I get the following error:<br />
<code>Error opening URL '%SITE PATH%'<br />
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.</code></p>
<p>I&#8217;ve tried with many different site paths (all with correct URLs I even tried with the two in this tutorial!) but nothing seems to work :( </p>
<p>please help!<br />
- Alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martijn</title>
		<link>http://actionscriptexamples.com/2008/03/02/dynamically-loading-an-image-in-actionscript-20-and-actionscript-30/comment-page-1/#comment-518</link>
		<dc:creator>Martijn</dc:creator>
		<pubDate>Wed, 27 May 2009 11:18:58 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/2008/03/02/dynamically-loading-an-image-in-actionscript-20-and-actionscript-30/#comment-518</guid>
		<description>This way is a little bit faster... 
&lt;pre lang=&quot;actionscript3&quot;&gt;
// ActionScript 3.0
var loader:Loader = new Loader();
loader.load(new URLRequest(&quot;http://www.adobe.com/devnet/images/160x160/flash_cs3_logo.jpg&quot;));
addChild(loader);
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>This way is a little bit faster&#8230;</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #009900;">// ActionScript 3.0</span>
<span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">loader</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Loader</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">Loader</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
<span style="color: #004993;">loader</span>.<span style="color: #004993;">load</span><span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">URLRequest</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;http://www.adobe.com/devnet/images/160x160/flash_cs3_logo.jpg&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;
<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">loader</span><span style="color: #000000;">&#41;</span>;</pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: roshan</title>
		<link>http://actionscriptexamples.com/2008/03/02/dynamically-loading-an-image-in-actionscript-20-and-actionscript-30/comment-page-1/#comment-494</link>
		<dc:creator>roshan</dc:creator>
		<pubDate>Thu, 23 Apr 2009 05:50:59 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/2008/03/02/dynamically-loading-an-image-in-actionscript-20-and-actionscript-30/#comment-494</guid>
		<description>Great work. Simple. There is one doubt though. I get  an error when I execute the code ..

Error opening URL &#039;http://www.helpexamples.com/flash/images/image2.jpg&#039;
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.

I replaced the URL with a file on my system, then it works fine. I tried replacing your link with another link from my website, but it gave the same error. What might be the reason? Im suspecting a security sandbox issue, sometimes links dont work in Flash due to the network settings here. Or is it something to do with the code?

Regards and Thanks,
Roshan</description>
		<content:encoded><![CDATA[<p>Great work. Simple. There is one doubt though. I get  an error when I execute the code ..</p>
<p>Error opening URL &#8216;http://www.helpexamples.com/flash/images/image2.jpg&#8217;<br />
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.</p>
<p>I replaced the URL with a file on my system, then it works fine. I tried replacing your link with another link from my website, but it gave the same error. What might be the reason? Im suspecting a security sandbox issue, sometimes links dont work in Flash due to the network settings here. Or is it something to do with the code?</p>
<p>Regards and Thanks,<br />
Roshan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://actionscriptexamples.com/2008/03/02/dynamically-loading-an-image-in-actionscript-20-and-actionscript-30/comment-page-1/#comment-410</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Mon, 09 Mar 2009 16:05:35 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/2008/03/02/dynamically-loading-an-image-in-actionscript-20-and-actionscript-30/#comment-410</guid>
		<description>Mark,

This example was for Flash CS3/CS4/ActionScript 3.0, not for a Flex project.

Peter</description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>This example was for Flash CS3/CS4/ActionScript 3.0, not for a Flex project.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://actionscriptexamples.com/2008/03/02/dynamically-loading-an-image-in-actionscript-20-and-actionscript-30/comment-page-1/#comment-393</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 27 Feb 2009 11:19:27 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/2008/03/02/dynamically-loading-an-image-in-actionscript-20-and-actionscript-30/#comment-393</guid>
		<description>Useless example!

Running the Example code for ActionScript 3.0 results in an error:
TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::Loader@1946e6a1 to mx.core.IUIComponent.

You can&#039;t display the content of a Loader that easy.</description>
		<content:encoded><![CDATA[<p>Useless example!</p>
<p>Running the Example code for ActionScript 3.0 results in an error:<br />
TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::Loader@1946e6a1 to mx.core.IUIComponent.</p>
<p>You can&#8217;t display the content of a Loader that easy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pokey</title>
		<link>http://actionscriptexamples.com/2008/03/02/dynamically-loading-an-image-in-actionscript-20-and-actionscript-30/comment-page-1/#comment-388</link>
		<dc:creator>Pokey</dc:creator>
		<pubDate>Mon, 23 Feb 2009 21:32:19 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/2008/03/02/dynamically-loading-an-image-in-actionscript-20-and-actionscript-30/#comment-388</guid>
		<description>Thank you for the easy guide ^_^
it also seems that you can change the image whenever you want by redoing the 
movieClip.loadMovie(url);
line and giving a different url without having to redo the whole lot XD
(probibly obvious but thought i would say it anyway)</description>
		<content:encoded><![CDATA[<p>Thank you for the easy guide ^_^<br />
it also seems that you can change the image whenever you want by redoing the<br />
movieClip.loadMovie(url);<br />
line and giving a different url without having to redo the whole lot XD<br />
(probibly obvious but thought i would say it anyway)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: isik</title>
		<link>http://actionscriptexamples.com/2008/03/02/dynamically-loading-an-image-in-actionscript-20-and-actionscript-30/comment-page-1/#comment-359</link>
		<dc:creator>isik</dc:creator>
		<pubDate>Wed, 21 Jan 2009 10:56:30 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/2008/03/02/dynamically-loading-an-image-in-actionscript-20-and-actionscript-30/#comment-359</guid>
		<description>thanks</description>
		<content:encoded><![CDATA[<p>thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
