<?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: Accessing the stage in Flex</title>
	<atom:link href="http://www.alwaysgetbetter.com/blog/2008/11/09/accessing-the-stage-in-flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alwaysgetbetter.com/blog/2008/11/09/accessing-the-stage-in-flex/</link>
	<description>Never stop looking for ways to improve</description>
	<lastBuildDate>Sat, 31 Dec 2011 18:36:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Patrick</title>
		<link>http://www.alwaysgetbetter.com/blog/2008/11/09/accessing-the-stage-in-flex/comment-page-1/#comment-29763</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Thu, 21 Jul 2011 20:48:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.alwaysgetbetter.com/blog/?p=61#comment-29763</guid>
		<description>I had to use the systemManager.stage as well. I put the event listener in my creation complete event:

systemManager.stage.addEventListener(Event.RESIZE, onStageResize); // Listen for resizing

And then my event listener looked like this:
private function onStageResize(e:Event):void
    {
		var widthScale:Number = systemManager.stage.stageWidth / 240; // Determine scaling
		scaleX = scaleY = widthScale; // Resize both the x and y
    }</description>
		<content:encoded><![CDATA[<p>I had to use the systemManager.stage as well. I put the event listener in my creation complete event:</p>
<p>systemManager.stage.addEventListener(Event.RESIZE, onStageResize); // Listen for resizing</p>
<p>And then my event listener looked like this:<br />
private function onStageResize(e:Event):void<br />
    {<br />
		var widthScale:Number = systemManager.stage.stageWidth / 240; // Determine scaling<br />
		scaleX = scaleY = widthScale; // Resize both the x and y<br />
    }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dean</title>
		<link>http://www.alwaysgetbetter.com/blog/2008/11/09/accessing-the-stage-in-flex/comment-page-1/#comment-26055</link>
		<dc:creator>Dean</dc:creator>
		<pubDate>Sun, 22 May 2011 22:21:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.alwaysgetbetter.com/blog/?p=61#comment-26055</guid>
		<description>Thank you!!!   Good grief!  I&#039;ve been trying to figure this out for days.

&quot;systemManager.stage&quot; - that&#039;s what I was looking for!</description>
		<content:encoded><![CDATA[<p>Thank you!!!   Good grief!  I&#8217;ve been trying to figure this out for days.</p>
<p>&#8220;systemManager.stage&#8221; &#8211; that&#8217;s what I was looking for!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: alwaysgetbetter.com @ 2012-02-07 18:22:14 -->
