<?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: Scaling a dynamic background image in proportion using flash</title>
	<atom:link href="http://www.flashnutz.com/2009/08/scaling-a-dynamic-background-image-in-proportion-using-flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flashnutz.com/2009/08/scaling-a-dynamic-background-image-in-proportion-using-flash/</link>
	<description>HELPING WEB DEVELOPERS DEVELOP</description>
	<lastBuildDate>Thu, 29 Jul 2010 23:29:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: maggie</title>
		<link>http://www.flashnutz.com/2009/08/scaling-a-dynamic-background-image-in-proportion-using-flash/comment-page-1/#comment-5379</link>
		<dc:creator>maggie</dc:creator>
		<pubDate>Fri, 19 Mar 2010 19:01:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashnutz.com/?p=154#comment-5379</guid>
		<description>wow~~ this works great! thanks for sharing!</description>
		<content:encoded><![CDATA[<p>wow~~ this works great! thanks for sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rackdoll</title>
		<link>http://www.flashnutz.com/2009/08/scaling-a-dynamic-background-image-in-proportion-using-flash/comment-page-1/#comment-3125</link>
		<dc:creator>Rackdoll</dc:creator>
		<pubDate>Mon, 11 Jan 2010 23:51:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashnutz.com/?p=154#comment-3125</guid>
		<description>what happened to:

image._xscale = your_scale_factor;
image._yscale = image._xscale;

or

image._width = 200;
image._yscale = image._xscale;

or

image._height = 200;
image._xscale = image._yscale 

above code looks alot more compact,
just need to center the image --&gt; [ _x = (width*.5) - (image._width*.5), _y = (height*.5) - (image._height * .5)  ], 
and you are on your way ;)</description>
		<content:encoded><![CDATA[<p>what happened to:</p>
<p>image._xscale = your_scale_factor;<br />
image._yscale = image._xscale;</p>
<p>or</p>
<p>image._width = 200;<br />
image._yscale = image._xscale;</p>
<p>or</p>
<p>image._height = 200;<br />
image._xscale = image._yscale </p>
<p>above code looks alot more compact,<br />
just need to center the image &#8211;&gt; [ _x = (width*.5) - (image._width*.5), _y = (height*.5) - (image._height * .5)  ],<br />
and you are on your way <img src='http://www.flashnutz.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://www.flashnutz.com/2009/08/scaling-a-dynamic-background-image-in-proportion-using-flash/comment-page-1/#comment-2757</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Wed, 09 Dec 2009 09:06:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashnutz.com/?p=154#comment-2757</guid>
		<description>Hi Flashnutz,

I have a challenge for you! I&#039;ve always wanted to see this full screen image work a little smarter in that if you feed it a landscape image it will scale it while preserving it&#039;s aspect ratio, AND, also know to scale the image to fill the browser window no matter what size the window... so if the browser was tall and narrow the image would snap to the top and bottom of the screen with the sides scaling off screen. If the browser were short and wide, then the image would snap to the sides with the top and bottom scaling off screen. Portrait images wold work a little differently, so the scrip would need to be able to differentiate between landscape and portrait. Understand? I have a diagram I posted on another Flash forum a long time ago that better explains it. Hit me up if you could please to discuss further if this interests you. I&#039;d love to find a solution.</description>
		<content:encoded><![CDATA[<p>Hi Flashnutz,</p>
<p>I have a challenge for you! I&#8217;ve always wanted to see this full screen image work a little smarter in that if you feed it a landscape image it will scale it while preserving it&#8217;s aspect ratio, AND, also know to scale the image to fill the browser window no matter what size the window&#8230; so if the browser was tall and narrow the image would snap to the top and bottom of the screen with the sides scaling off screen. If the browser were short and wide, then the image would snap to the sides with the top and bottom scaling off screen. Portrait images wold work a little differently, so the scrip would need to be able to differentiate between landscape and portrait. Understand? I have a diagram I posted on another Flash forum a long time ago that better explains it. Hit me up if you could please to discuss further if this interests you. I&#8217;d love to find a solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.flashnutz.com/2009/08/scaling-a-dynamic-background-image-in-proportion-using-flash/comment-page-1/#comment-2652</link>
		<dc:creator>David</dc:creator>
		<pubDate>Mon, 16 Nov 2009 01:41:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashnutz.com/?p=154#comment-2652</guid>
		<description>hey there!

I was hoping you could help me out with some onResize code.. Basically all I have is a MC current size is 1680x980

I need it to scale proportionatly and stop scaling when the browser window is 50% or less than its original size.

This is what I am working with

var stageL:Object = new Object();
stageL.onResize = function() {





}
Stage.addListener(stageL);

Thanks in advance!</description>
		<content:encoded><![CDATA[<p>hey there!</p>
<p>I was hoping you could help me out with some onResize code.. Basically all I have is a MC current size is 1680&#215;980</p>
<p>I need it to scale proportionatly and stop scaling when the browser window is 50% or less than its original size.</p>
<p>This is what I am working with</p>
<p>var stageL:Object = new Object();<br />
stageL.onResize = function() {</p>
<p>}<br />
Stage.addListener(stageL);</p>
<p>Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Candy&#8217;s Garden Oasis: Tips on Picking Garden Decorations &#124; Last Minute Gift Ideas</title>
		<link>http://www.flashnutz.com/2009/08/scaling-a-dynamic-background-image-in-proportion-using-flash/comment-page-1/#comment-1813</link>
		<dc:creator>Candy&#8217;s Garden Oasis: Tips on Picking Garden Decorations &#124; Last Minute Gift Ideas</dc:creator>
		<pubDate>Thu, 27 Aug 2009 00:20:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashnutz.com/?p=154#comment-1813</guid>
		<description>[...] Scaling a dynamic background image in proportion using flash &#8230; [...]</description>
		<content:encoded><![CDATA[<p>[...] Scaling a dynamic background image in proportion using flash &#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flashnutz</title>
		<link>http://www.flashnutz.com/2009/08/scaling-a-dynamic-background-image-in-proportion-using-flash/comment-page-1/#comment-1810</link>
		<dc:creator>Flashnutz</dc:creator>
		<pubDate>Wed, 26 Aug 2009 23:01:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashnutz.com/?p=154#comment-1810</guid>
		<description>Hi Colin, Are your buttons in .jpg or .png format?</description>
		<content:encoded><![CDATA[<p>Hi Colin, Are your buttons in .jpg or .png format?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colin</title>
		<link>http://www.flashnutz.com/2009/08/scaling-a-dynamic-background-image-in-proportion-using-flash/comment-page-1/#comment-1808</link>
		<dc:creator>Colin</dc:creator>
		<pubDate>Wed, 26 Aug 2009 20:43:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashnutz.com/?p=154#comment-1808</guid>
		<description>hi, I&#039;m doing something similar where I want my buttons to scale depending on the viewer&#039;s browser size...in order to try and minimize distortion. Do you think this code (referrencing my movie clip buttons) will do the trick? thanks!</description>
		<content:encoded><![CDATA[<p>hi, I&#8217;m doing something similar where I want my buttons to scale depending on the viewer&#8217;s browser size&#8230;in order to try and minimize distortion. Do you think this code (referrencing my movie clip buttons) will do the trick? thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
