<?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: strange stage-size problem, but only in ie6</title>
	<atom:link href="http://blog.creacog.co.uk/2007/12/02/strange-stage-size-problem-but-only-in-ie6/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.creacog.co.uk/2007/12/02/strange-stage-size-problem-but-only-in-ie6/</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 05:48:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: bobby</title>
		<link>http://blog.creacog.co.uk/2007/12/02/strange-stage-size-problem-but-only-in-ie6/comment-page-1/#comment-655</link>
		<dc:creator>bobby</dc:creator>
		<pubDate>Tue, 27 Jan 2009 12:44:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.creacog.co.uk/2007/12/02/strange-stage-size-problem-but-only-in-ie6/#comment-655</guid>
		<description>I have added this issue to the SWFObject FAQ (Q21):
http://code.google.com/p/swfobject/wiki/faq</description>
		<content:encoded><![CDATA[<p>I have added this issue to the SWFObject FAQ (Q21):<br />
<a href="http://code.google.com/p/swfobject/wiki/faq" rel="nofollow">http://code.google.com/p/swfobject/wiki/faq</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: creacog</title>
		<link>http://blog.creacog.co.uk/2007/12/02/strange-stage-size-problem-but-only-in-ie6/comment-page-1/#comment-355</link>
		<dc:creator>creacog</dc:creator>
		<pubDate>Thu, 21 Feb 2008 17:16:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.creacog.co.uk/2007/12/02/strange-stage-size-problem-but-only-in-ie6/#comment-355</guid>
		<description>&lt;p&gt;sorry for the late reply.&lt;/p&gt;
&lt;p&gt;&gt; Did you ever figure out what’s going on here?&lt;br /&gt;
I tried to describe what&#039;s going on as far as I see it. Then tried to describe how I worked around it. I should have posted the code, relevant extracts of which follow from the Document class...&lt;/p&gt;
&lt;pre&gt;
// Constructor
    public function DocClass()
    {
        super();
        stage.addEventListener( Event.RESIZE,
                                handleResize );
// dummy resize for browsers that have already
// correctly sized the stage
        handleResize( null );
    }
/**
* @private
* Handle resize
*/
    private function handleResize( e:Event ):void
    {
 // we only need act if the new size is other than 0x0
        if( stage.stageHeight &gt; 0 &amp;&amp;
            stage.stageWidth  &gt; 0 )
        {
// at this point the stage.stageHeight and stage.stageWidth
// contain reliable values

        }
    }
&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>sorry for the late reply.</p>
<p>> Did you ever figure out what’s going on here?<br />
I tried to describe what&#8217;s going on as far as I see it. Then tried to describe how I worked around it. I should have posted the code, relevant extracts of which follow from the Document class&#8230;</p>
<pre>
// Constructor
    public function DocClass()
    {
        super();
        stage.addEventListener( Event.RESIZE,
                                handleResize );
// dummy resize for browsers that have already
// correctly sized the stage
        handleResize( null );
    }
/**
* @private
* Handle resize
*/
    private function handleResize( e:Event ):void
    {
 // we only need act if the new size is other than 0x0
        if( stage.stageHeight > 0 &#038;&#038;
            stage.stageWidth  > 0 )
        {
// at this point the stage.stageHeight and stage.stageWidth
// contain reliable values

        }
    }
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Dodd</title>
		<link>http://blog.creacog.co.uk/2007/12/02/strange-stage-size-problem-but-only-in-ie6/comment-page-1/#comment-346</link>
		<dc:creator>Keith Dodd</dc:creator>
		<pubDate>Fri, 01 Feb 2008 15:03:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.creacog.co.uk/2007/12/02/strange-stage-size-problem-but-only-in-ie6/#comment-346</guid>
		<description>Did you ever figure out what&#039;s going on here?
I just got the same type of thing, caused by stage.stageWidth in AS3 being reported as 0 on refresh in IE. Both IE 6 and 7.

I&#039;ll take a look at the resize idea. 
I have a function that creates a box positioned in center of stage. I&#039;ve called that in my constrictor function. How would you call it on resize but still do the initial call for those browsers that aren&#039;t doing a resize?

Why is everything so difficult!

Thanks
Keith</description>
		<content:encoded><![CDATA[<p>Did you ever figure out what&#8217;s going on here?<br />
I just got the same type of thing, caused by stage.stageWidth in AS3 being reported as 0 on refresh in IE. Both IE 6 and 7.</p>
<p>I&#8217;ll take a look at the resize idea.<br />
I have a function that creates a box positioned in center of stage. I&#8217;ve called that in my constrictor function. How would you call it on resize but still do the initial call for those browsers that aren&#8217;t doing a resize?</p>
<p>Why is everything so difficult!</p>
<p>Thanks<br />
Keith</p>
]]></content:encoded>
	</item>
</channel>
</rss>

