<?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: Positioning a dynamically loaded image in ActionScript 2.0 and ActionScript 3.0 using the MovieClipLoader class and Loader class</title>
	<atom:link href="http://actionscriptexamples.com/2008/03/03/positioning-a-dynamically-loaded-image-in-actionscript-20-and-actionscript-30-using-the-moviecliploader-class-and-loader-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://actionscriptexamples.com/2008/03/03/positioning-a-dynamically-loaded-image-in-actionscript-20-and-actionscript-30-using-the-moviecliploader-class-and-loader-class/</link>
	<description>A bunch of ActionScript 2.0 and ActionScript 3.0 examples*</description>
	<lastBuildDate>Wed, 03 Mar 2010 17:33:26 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Supriya Tenany</title>
		<link>http://actionscriptexamples.com/2008/03/03/positioning-a-dynamically-loaded-image-in-actionscript-20-and-actionscript-30-using-the-moviecliploader-class-and-loader-class/comment-page-1/#comment-632</link>
		<dc:creator>Supriya Tenany</dc:creator>
		<pubDate>Wed, 20 Jan 2010 11:22:29 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/2008/03/03/positioning-a-dynamically-loaded-image-in-actionscript-20-and-actionscript-30-using-the-moviecliploader-class-and-loader-class/#comment-632</guid>
		<description>how can i modify the code of AS2 for multiple images display?</description>
		<content:encoded><![CDATA[<p>how can i modify the code of AS2 for multiple images display?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aleem</title>
		<link>http://actionscriptexamples.com/2008/03/03/positioning-a-dynamically-loaded-image-in-actionscript-20-and-actionscript-30-using-the-moviecliploader-class-and-loader-class/comment-page-1/#comment-587</link>
		<dc:creator>Aleem</dc:creator>
		<pubDate>Thu, 10 Sep 2009 06:43:26 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/2008/03/03/positioning-a-dynamically-loaded-image-in-actionscript-20-and-actionscript-30-using-the-moviecliploader-class-and-loader-class/#comment-587</guid>
		<description>Chris, 
This is good example but I need to set a preloader with this image and I am confuse how to set it. 

regards,
Aleem</description>
		<content:encoded><![CDATA[<p>Chris,<br />
This is good example but I need to set a preloader with this image and I am confuse how to set it. </p>
<p>regards,<br />
Aleem</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://actionscriptexamples.com/2008/03/03/positioning-a-dynamically-loaded-image-in-actionscript-20-and-actionscript-30-using-the-moviecliploader-class-and-loader-class/comment-page-1/#comment-440</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Wed, 01 Apr 2009 19:27:10 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/2008/03/03/positioning-a-dynamically-loaded-image-in-actionscript-20-and-actionscript-30-using-the-moviecliploader-class-and-loader-class/#comment-440</guid>
		<description>I am using a button to load an image into a movie clip so how can I use this code to center the image in the movie clip? This code successfully loads the image into the movieclip:

btn1.addEventListener(MouseEvent.CLICK, img1);

function img1(event:Event):void {
	var i =new Loader();
	i.load(new URLRequest(&quot;paintings/musicroom.jpg&quot;));
	ldr1.addChild(i)
}</description>
		<content:encoded><![CDATA[<p>I am using a button to load an image into a movie clip so how can I use this code to center the image in the movie clip? This code successfully loads the image into the movieclip:</p>
<p>btn1.addEventListener(MouseEvent.CLICK, img1);</p>
<p>function img1(event:Event):void {<br />
	var i =new Loader();<br />
	i.load(new URLRequest(&#8220;paintings/musicroom.jpg&#8221;));<br />
	ldr1.addChild(i)<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://actionscriptexamples.com/2008/03/03/positioning-a-dynamically-loaded-image-in-actionscript-20-and-actionscript-30-using-the-moviecliploader-class-and-loader-class/comment-page-1/#comment-419</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Wed, 18 Mar 2009 14:34:11 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/2008/03/03/positioning-a-dynamically-loaded-image-in-actionscript-20-and-actionscript-30-using-the-moviecliploader-class-and-loader-class/#comment-419</guid>
		<description>Chris,

Then set the &lt;code&gt;x&lt;/code&gt; and/or &lt;code&gt;y&lt;/code&gt; property to whatever coordinates you want. I think I randomly chose to position them in the middle of the stage because it was a bit different in ActionScript 2.0 vs ActionScript 3.0.

Peter</description>
		<content:encoded><![CDATA[<p>Chris,</p>
<p>Then set the <code>x</code> and/or <code>y</code> property to whatever coordinates you want. I think I randomly chose to position them in the middle of the stage because it was a bit different in ActionScript 2.0 vs ActionScript 3.0.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://actionscriptexamples.com/2008/03/03/positioning-a-dynamically-loaded-image-in-actionscript-20-and-actionscript-30-using-the-moviecliploader-class-and-loader-class/comment-page-1/#comment-417</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 17 Mar 2009 21:09:49 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/2008/03/03/positioning-a-dynamically-loaded-image-in-actionscript-20-and-actionscript-30-using-the-moviecliploader-class-and-loader-class/#comment-417</guid>
		<description>This is great but what if you want to center the image somwhere other than the center of the stage?  Say at an x cordinate?</description>
		<content:encoded><![CDATA[<p>This is great but what if you want to center the image somwhere other than the center of the stage?  Say at an x cordinate?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wes</title>
		<link>http://actionscriptexamples.com/2008/03/03/positioning-a-dynamically-loaded-image-in-actionscript-20-and-actionscript-30-using-the-moviecliploader-class-and-loader-class/comment-page-1/#comment-5</link>
		<dc:creator>wes</dc:creator>
		<pubDate>Fri, 11 Apr 2008 18:16:22 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/2008/03/03/positioning-a-dynamically-loaded-image-in-actionscript-20-and-actionscript-30-using-the-moviecliploader-class-and-loader-class/#comment-5</guid>
		<description>btw, i&#039;m using the as2 method</description>
		<content:encoded><![CDATA[<p>btw, i&#8217;m using the as2 method</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wes</title>
		<link>http://actionscriptexamples.com/2008/03/03/positioning-a-dynamically-loaded-image-in-actionscript-20-and-actionscript-30-using-the-moviecliploader-class-and-loader-class/comment-page-1/#comment-4</link>
		<dc:creator>wes</dc:creator>
		<pubDate>Fri, 11 Apr 2008 18:15:29 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/2008/03/03/positioning-a-dynamically-loaded-image-in-actionscript-20-and-actionscript-30-using-the-moviecliploader-class-and-loader-class/#comment-4</guid>
		<description>Hey guys, this works great when I view the exported swf. but when I put it in an html page on a server, it gets off centered. is this because it&#039;s centering before the image loads? or does it possibly have something to do w/ my embed method?</description>
		<content:encoded><![CDATA[<p>Hey guys, this works great when I view the exported swf. but when I put it in an html page on a server, it gets off centered. is this because it&#8217;s centering before the image loads? or does it possibly have something to do w/ my embed method?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
