<?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: Image Events Dispatch Order</title>
	<atom:link href="http://www.flexer.info/2008/09/12/image-events-dispatch-order/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flexer.info/2008/09/12/image-events-dispatch-order/</link>
	<description>flex developers web corner</description>
	<lastBuildDate>Fri, 12 Mar 2010 00:18:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: scott chu</title>
		<link>http://www.flexer.info/2008/09/12/image-events-dispatch-order/comment-page-1/#comment-1749</link>
		<dc:creator>scott chu</dc:creator>
		<pubDate>Wed, 18 Nov 2009 14:20:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/?p=254#comment-1749</guid>
		<description>And after 2nd try, I need to update previous post info.

The value of width, contentWidth, contentHeight will be sent in following order to updatecomplete event procedure:

1st time: 0, 0, 0
2nd time: (correct value), 0, 0
3rd time: (correct value), (correct value), (correct value)</description>
		<content:encoded><![CDATA[<p>And after 2nd try, I need to update previous post info.</p>
<p>The value of width, contentWidth, contentHeight will be sent in following order to updatecomplete event procedure:</p>
<p>1st time: 0, 0, 0<br />
2nd time: (correct value), 0, 0<br />
3rd time: (correct value), (correct value), (correct value)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scott chu</title>
		<link>http://www.flexer.info/2008/09/12/image-events-dispatch-order/comment-page-1/#comment-1748</link>
		<dc:creator>scott chu</dc:creator>
		<pubDate>Wed, 18 Nov 2009 14:13:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/?p=254#comment-1748</guid>
		<description>Thanks, your article is quite helpful! After trying the updatecomplete event, I found the 1st call to updatecomplete will present value 0 for width, height, contentWidth &amp; contentHeight. One has to write code to prevent this case.</description>
		<content:encoded><![CDATA[<p>Thanks, your article is quite helpful! After trying the updatecomplete event, I found the 1st call to updatecomplete will present value 0 for width, height, contentWidth &amp; contentHeight. One has to write code to prevent this case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrei Ionescu</title>
		<link>http://www.flexer.info/2008/09/12/image-events-dispatch-order/comment-page-1/#comment-785</link>
		<dc:creator>Andrei Ionescu</dc:creator>
		<pubDate>Wed, 17 Sep 2008 20:47:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/?p=254#comment-785</guid>
		<description>John, thanks for comment. I know there are better ways... but my intention was to write every event in order to really see the event types in the code and in what order those are triggered.</description>
		<content:encoded><![CDATA[<p>John, thanks for comment. I know there are better ways&#8230; but my intention was to write every event in order to really see the event types in the code and in what order those are triggered.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.flexer.info/2008/09/12/image-events-dispatch-order/comment-page-1/#comment-783</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 17 Sep 2008 15:40:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/?p=254#comment-783</guid>
		<description>&quot; hope you won’t be offended by the fact that I created one event method for each event type instead of having just one method and “switching” for the type inside it. &quot;

No, but you might save 1 page of space and write the debug output messages in 1 line :)
private function handleEvent(e:Event):void
{
   _debug += e.type+&quot;\n&quot;;
}
No harm intended.
Cheers.
John</description>
		<content:encoded><![CDATA[<p>&#8221; hope you won’t be offended by the fact that I created one event method for each event type instead of having just one method and “switching” for the type inside it. &#8221;</p>
<p>No, but you might save 1 page of space and write the debug output messages in 1 line <img src='http://www.flexer.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
private function handleEvent(e:Event):void<br />
{<br />
   _debug += e.type+&#8221;\n&#8221;;<br />
}<br />
No harm intended.<br />
Cheers.<br />
John</p>
]]></content:encoded>
	</item>
</channel>
</rss>
