<?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: Scale image proportionally</title>
	<atom:link href="http://www.yapiodesign.com/blog/2007/02/11/scale-image-proportionally/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yapiodesign.com/blog/2007/02/11/scale-image-proportionally/</link>
	<description>Flash tidbits, struggles, revelations, and teaching</description>
	<lastBuildDate>Tue, 11 Aug 2009 20:53:01 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: dyl</title>
		<link>http://www.yapiodesign.com/blog/2007/02/11/scale-image-proportionally/comment-page-1/#comment-357</link>
		<dc:creator>dyl</dc:creator>
		<pubDate>Wed, 07 Mar 2007 15:03:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.yapiodesign.com/blog/2007/02/11/scale-image-proportionally/#comment-357</guid>
		<description>worked like a charm...thanks John!</description>
		<content:encoded><![CDATA[<p>worked like a charm&#8230;thanks John!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John O</title>
		<link>http://www.yapiodesign.com/blog/2007/02/11/scale-image-proportionally/comment-page-1/#comment-356</link>
		<dc:creator>John O</dc:creator>
		<pubDate>Wed, 07 Mar 2007 05:15:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.yapiodesign.com/blog/2007/02/11/scale-image-proportionally/#comment-356</guid>
		<description>Jonathan - there is a link above to a sample FLA that you can look at.  I&#039;m sure a little looking around on the web can dig up a &quot;live&quot; example.  Its quite common.</description>
		<content:encoded><![CDATA[<p>Jonathan &#8211; there is a link above to a sample FLA that you can look at.  I&#8217;m sure a little looking around on the web can dig up a &#8220;live&#8221; example.  Its quite common.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John O</title>
		<link>http://www.yapiodesign.com/blog/2007/02/11/scale-image-proportionally/comment-page-1/#comment-355</link>
		<dc:creator>John O</dc:creator>
		<pubDate>Wed, 07 Mar 2007 05:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.yapiodesign.com/blog/2007/02/11/scale-image-proportionally/#comment-355</guid>
		<description>dyl - if your Stage.align was set to &quot;T&quot; (top center), you could comment out the line bkgdMC._x = middleX; and it should work just fine.</description>
		<content:encoded><![CDATA[<p>dyl &#8211; if your Stage.align was set to &#8220;T&#8221; (top center), you could comment out the line bkgdMC._x = middleX; and it should work just fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dyl</title>
		<link>http://www.yapiodesign.com/blog/2007/02/11/scale-image-proportionally/comment-page-1/#comment-353</link>
		<dc:creator>dyl</dc:creator>
		<pubDate>Tue, 06 Mar 2007 18:51:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.yapiodesign.com/blog/2007/02/11/scale-image-proportionally/#comment-353</guid>
		<description>Is there a way to make this work if your stage align is centered...as opposed to top left?</description>
		<content:encoded><![CDATA[<p>Is there a way to make this work if your stage align is centered&#8230;as opposed to top left?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan W.</title>
		<link>http://www.yapiodesign.com/blog/2007/02/11/scale-image-proportionally/comment-page-1/#comment-327</link>
		<dc:creator>Jonathan W.</dc:creator>
		<pubDate>Wed, 21 Feb 2007 21:54:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.yapiodesign.com/blog/2007/02/11/scale-image-proportionally/#comment-327</guid>
		<description>Do you have a link to where this is being used as an example?  Thanks.</description>
		<content:encoded><![CDATA[<p>Do you have a link to where this is being used as an example?  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John O</title>
		<link>http://www.yapiodesign.com/blog/2007/02/11/scale-image-proportionally/comment-page-1/#comment-320</link>
		<dc:creator>John O</dc:creator>
		<pubDate>Mon, 12 Feb 2007 07:36:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.yapiodesign.com/blog/2007/02/11/scale-image-proportionally/#comment-320</guid>
		<description>Yeah. mine code was a bit verbose because I was making it easier for my buddy to read, however, I didn&#039;t think of using Math.max</description>
		<content:encoded><![CDATA[<p>Yeah. mine code was a bit verbose because I was making it easier for my buddy to read, however, I didn&#8217;t think of using Math.max</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Han Sanghun</title>
		<link>http://www.yapiodesign.com/blog/2007/02/11/scale-image-proportionally/comment-page-1/#comment-319</link>
		<dc:creator>Han Sanghun</dc:creator>
		<pubDate>Mon, 12 Feb 2007 05:53:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.yapiodesign.com/blog/2007/02/11/scale-image-proportionally/#comment-319</guid>
		<description>Hi, John.
I used the same trick for my own works.
I don&#039;t know whether the following code is more efficient or not. But it shorten your code, though.

bkgdMC._xscale = bkgdMC._yscale = Math.max(bkgdMC._xscale, bkgdMC._yscale);</description>
		<content:encoded><![CDATA[<p>Hi, John.<br />
I used the same trick for my own works.<br />
I don&#8217;t know whether the following code is more efficient or not. But it shorten your code, though.</p>
<p>bkgdMC._xscale = bkgdMC._yscale = Math.max(bkgdMC._xscale, bkgdMC._yscale);</p>
]]></content:encoded>
	</item>
</channel>
</rss>
