<?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: Why I hate doLater and waiting a frame</title>
	<atom:link href="http://www.razorberry.com/blog/archives/2005/12/20/why-i-hate-dolater-and-waiting-a-frame/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.razorberry.com/blog/archives/2005/12/20/why-i-hate-dolater-and-waiting-a-frame/</link>
	<description>since 2004!</description>
	<pubDate>Wed, 07 Jan 2009 01:24:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: bill</title>
		<link>http://www.razorberry.com/blog/archives/2005/12/20/why-i-hate-dolater-and-waiting-a-frame/comment-page-1/#comment-363</link>
		<dc:creator>bill</dc:creator>
		<pubDate>Wed, 22 Feb 2006 19:24:47 +0000</pubDate>
		<guid isPermaLink="false">/?p=25#comment-363</guid>
		<description>we need some help with actonscript and flash v2 component knowledge/expertise</description>
		<content:encoded><![CDATA[<p>we need some help with actonscript and flash v2 component knowledge/expertise</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor</title>
		<link>http://www.razorberry.com/blog/archives/2005/12/20/why-i-hate-dolater-and-waiting-a-frame/comment-page-1/#comment-281</link>
		<dc:creator>Igor</dc:creator>
		<pubDate>Wed, 21 Dec 2005 10:09:17 +0000</pubDate>
		<guid isPermaLink="false">/?p=25#comment-281</guid>
		<description>There is a need for doLater(or postponed execution) when making components.  If working with MM v2 components, there is no way to avoid it.</description>
		<content:encoded><![CDATA[<p>There is a need for doLater(or postponed execution) when making components.  If working with MM v2 components, there is no way to avoid it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.razorberry.com/blog/archives/2005/12/20/why-i-hate-dolater-and-waiting-a-frame/comment-page-1/#comment-280</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Tue, 20 Dec 2005 23:18:13 +0000</pubDate>
		<guid isPermaLink="false">/?p=25#comment-280</guid>
		<description>Nigel, I do believe I heard you say or at least quote that "if all else fails ... " in your Q&#038;A session at the last edition of FlashForward in SF ;)

In any case, I do use doLater quite a lot when doing v2 component development. As was rightly pointed out the components do have their init events and use it for dealing with component params.</description>
		<content:encoded><![CDATA[<p>Nigel, I do believe I heard you say or at least quote that &#8220;if all else fails &#8230; &#8221; in your Q&#038;A session at the last edition of FlashForward in SF <img src='http://www.razorberry.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>In any case, I do use doLater quite a lot when doing v2 component development. As was rightly pointed out the components do have their init events and use it for dealing with component params.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ash</title>
		<link>http://www.razorberry.com/blog/archives/2005/12/20/why-i-hate-dolater-and-waiting-a-frame/comment-page-1/#comment-279</link>
		<dc:creator>Ash</dc:creator>
		<pubDate>Tue, 20 Dec 2005 22:15:36 +0000</pubDate>
		<guid isPermaLink="false">/?p=25#comment-279</guid>
		<description>I think I came across this while extending mx.core.View. The idea that initLayout came one frame later than I expected messed up my thinking.

I ask for peoples opinions about this because I happen to be writing my own component framework, and its always nice to know that you're going about things the right way :)</description>
		<content:encoded><![CDATA[<p>I think I came across this while extending mx.core.View. The idea that initLayout came one frame later than I expected messed up my thinking.</p>
<p>I ask for peoples opinions about this because I happen to be writing my own component framework, and its always nice to know that you&#8217;re going about things the right way <img src='http://www.razorberry.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nig</title>
		<link>http://www.razorberry.com/blog/archives/2005/12/20/why-i-hate-dolater-and-waiting-a-frame/comment-page-1/#comment-278</link>
		<dc:creator>nig</dc:creator>
		<pubDate>Tue, 20 Dec 2005 21:22:43 +0000</pubDate>
		<guid isPermaLink="false">/?p=25#comment-278</guid>
		<description>I don't think I ever said "if all else fails, wait another frame" (I think you might be thinking of Peldi.. and I got on his case about that). If you're not making components, you should never need doLater. However, there are a couple of great times and places for doLater in building components... They have nothing to do with event bubbling or timelines or all that other random stuff you guys are citing (as Jester points out, we already have events for initialization even in V2). Since everyone here is an expert (especially, it seems, in identifying hacks), can anyone tell me what they are? ;-)</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think I ever said &#8220;if all else fails, wait another frame&#8221; (I think you might be thinking of Peldi.. and I got on his case about that). If you&#8217;re not making components, you should never need doLater. However, there are a couple of great times and places for doLater in building components&#8230; They have nothing to do with event bubbling or timelines or all that other random stuff you guys are citing (as Jester points out, we already have events for initialization even in V2). Since everyone here is an expert (especially, it seems, in identifying hacks), can anyone tell me what they are? <img src='http://www.razorberry.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JesterXL</title>
		<link>http://www.razorberry.com/blog/archives/2005/12/20/why-i-hate-dolater-and-waiting-a-frame/comment-page-1/#comment-277</link>
		<dc:creator>JesterXL</dc:creator>
		<pubDate>Tue, 20 Dec 2005 20:55:59 +0000</pubDate>
		<guid isPermaLink="false">/?p=25#comment-277</guid>
		<description>For MovieClip's, use onLoad.

For Components, use onLoad, or for mx.core.View, use initLayout.

In Flex 1.5, use childrenCreated.

In Flex 2, use creationComplete.</description>
		<content:encoded><![CDATA[<p>For MovieClip&#8217;s, use onLoad.</p>
<p>For Components, use onLoad, or for mx.core.View, use initLayout.</p>
<p>In Flex 1.5, use childrenCreated.</p>
<p>In Flex 2, use creationComplete.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: senocular</title>
		<link>http://www.razorberry.com/blog/archives/2005/12/20/why-i-hate-dolater-and-waiting-a-frame/comment-page-1/#comment-276</link>
		<dc:creator>senocular</dc:creator>
		<pubDate>Tue, 20 Dec 2005 20:04:44 +0000</pubDate>
		<guid isPermaLink="false">/?p=25#comment-276</guid>
		<description>doLater is a hack.  I don't like it just as much as the next guy.  I usually implement my own callbacks to avoid such trickery.</description>
		<content:encoded><![CDATA[<p>doLater is a hack.  I don&#8217;t like it just as much as the next guy.  I usually implement my own callbacks to avoid such trickery.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Jones</title>
		<link>http://www.razorberry.com/blog/archives/2005/12/20/why-i-hate-dolater-and-waiting-a-frame/comment-page-1/#comment-275</link>
		<dc:creator>Mike Jones</dc:creator>
		<pubDate>Tue, 20 Dec 2005 17:04:37 +0000</pubDate>
		<guid isPermaLink="false">/?p=25#comment-275</guid>
		<description>Couldn't agree more. Bubbled events are an obvious solution to this hack, and something I utilize over doLater as much as I can whilst still allowing for compatability with the v2 framework.</description>
		<content:encoded><![CDATA[<p>Couldn&#8217;t agree more. Bubbled events are an obvious solution to this hack, and something I utilize over doLater as much as I can whilst still allowing for compatability with the v2 framework.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Peters</title>
		<link>http://www.razorberry.com/blog/archives/2005/12/20/why-i-hate-dolater-and-waiting-a-frame/comment-page-1/#comment-274</link>
		<dc:creator>Keith Peters</dc:creator>
		<pubDate>Tue, 20 Dec 2005 16:42:08 +0000</pubDate>
		<guid isPermaLink="false">/?p=25#comment-274</guid>
		<description>I agree, it definitely smells like a hack. One of those leftover artifacts from the Flash timeline. As Nigel Pegg is quoted as saying, "If all else fails, wait another frame."</description>
		<content:encoded><![CDATA[<p>I agree, it definitely smells like a hack. One of those leftover artifacts from the Flash timeline. As Nigel Pegg is quoted as saying, &#8220;If all else fails, wait another frame.&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
