<?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: Wait just a second</title>
	<atom:link href="http://polygeek.com/159_flex_wait-just-a-second/feed" rel="self" type="application/rss+xml" />
	<link>http://polygeek.com/159_flex_wait-just-a-second</link>
	<description>polyGeek (noun) person with many geek related talents.</description>
	<lastBuildDate>Thu, 02 Sep 2010 17:58:53 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: polyGeek</title>
		<link>http://polygeek.com/159_flex_wait-just-a-second/comment-page-1#comment-27226</link>
		<dc:creator>polyGeek</dc:creator>
		<pubDate>Sun, 08 Apr 2007 06:11:08 +0000</pubDate>
		<guid isPermaLink="false">http://polygeek.com/159_actionscript_wait-just-a-second#comment-27226</guid>
		<description>@wolfito, you know, I&#039;ve never really used _global before. I think static classes do the same thing for me.

By the way, wicked cool sight you have. I can&#039;t read it but I love the detail you put into it. Something as simple as making the text coast to a stop when scrolling is a very sweet effect and looks quite professional. Kudos.</description>
		<content:encoded><![CDATA[<p>@wolfito, you know, I&#8217;ve never really used _global before. I think static classes do the same thing for me.</p>
<p>By the way, wicked cool sight you have. I can&#8217;t read it but I love the detail you put into it. Something as simple as making the text coast to a stop when scrolling is a very sweet effect and looks quite professional. Kudos.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wolfito</title>
		<link>http://polygeek.com/159_flex_wait-just-a-second/comment-page-1#comment-27204</link>
		<dc:creator>wolfito</dc:creator>
		<pubDate>Sun, 08 Apr 2007 02:06:41 +0000</pubDate>
		<guid isPermaLink="false">http://polygeek.com/159_actionscript_wait-just-a-second#comment-27204</guid>
		<description>sorry i forgot the scope:

(inside a class)

timerInterval = _global.setTimeout(this, &quot;functionName&quot;, 100);</description>
		<content:encoded><![CDATA[<p>sorry i forgot the scope:</p>
<p>(inside a class)</p>
<p>timerInterval = _global.setTimeout(this, &#8220;functionName&#8221;, 100);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wolfito</title>
		<link>http://polygeek.com/159_flex_wait-just-a-second/comment-page-1#comment-27203</link>
		<dc:creator>wolfito</dc:creator>
		<pubDate>Sun, 08 Apr 2007 01:56:51 +0000</pubDate>
		<guid isPermaLink="false">http://polygeek.com/159_actionscript_wait-just-a-second#comment-27203</guid>
		<description>did you try   _global.setTimeout(CB, 1000, “hi”);  ?

i use that when i need a method call to wait

 :)</description>
		<content:encoded><![CDATA[<p>did you try   _global.setTimeout(CB, 1000, “hi”);  ?</p>
<p>i use that when i need a method call to wait</p>
<p> :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: polyGeek</title>
		<link>http://polygeek.com/159_flex_wait-just-a-second/comment-page-1#comment-26964</link>
		<dc:creator>polyGeek</dc:creator>
		<pubDate>Fri, 06 Apr 2007 22:02:13 +0000</pubDate>
		<guid isPermaLink="false">http://polygeek.com/159_actionscript_wait-just-a-second#comment-26964</guid>
		<description>@Rasmus, wonderful, thanks for pointing this out. The problem with the code above is that here is no &#039;scope&#039; parameter. So this works as expected.

setTimeout(CB, 1000, &quot;hi&quot;);

function CB(s:String):Void {
	trace(s);
}</description>
		<content:encoded><![CDATA[<p>@Rasmus, wonderful, thanks for pointing this out. The problem with the code above is that here is no &#8216;scope&#8217; parameter. So this works as expected.</p>
<p>setTimeout(CB, 1000, &#8220;hi&#8221;);</p>
<p>function CB(s:String):Void {<br />
	trace(s);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rasmus</title>
		<link>http://polygeek.com/159_flex_wait-just-a-second/comment-page-1#comment-26960</link>
		<dc:creator>Rasmus</dc:creator>
		<pubDate>Fri, 06 Apr 2007 21:46:25 +0000</pubDate>
		<guid isPermaLink="false">http://polygeek.com/159_actionscript_wait-just-a-second#comment-26960</guid>
		<description>setTimeout is an undocumented function introduced in Flash 8. For more info see this post from Flashguru: http://www.flashguru.co.uk/flash-8-settimeout/</description>
		<content:encoded><![CDATA[<p>setTimeout is an undocumented function introduced in Flash 8. For more info see this post from Flashguru: <a href="http://www.flashguru.co.uk/flash-8-settimeout/">http://www.flashguru.co.uk/flash-8-settimeout/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: polyGeek</title>
		<link>http://polygeek.com/159_flex_wait-just-a-second/comment-page-1#comment-26929</link>
		<dc:creator>polyGeek</dc:creator>
		<pubDate>Fri, 06 Apr 2007 18:58:19 +0000</pubDate>
		<guid isPermaLink="false">http://polygeek.com/159_actionscript_wait-just-a-second#comment-26929</guid>
		<description>@Andy, you sure that isn&#039;t a custom class you wrote? setTimeout isn&#039;t in the help files and the following code doesn&#039;t do anything:

setTimeout(this, CB, 100, &quot;hi&quot;);

function CB(arg:String):Void {
	trace(arg);
}</description>
		<content:encoded><![CDATA[<p>@Andy, you sure that isn&#8217;t a custom class you wrote? setTimeout isn&#8217;t in the help files and the following code doesn&#8217;t do anything:</p>
<p>setTimeout(this, CB, 100, &#8220;hi&#8221;);</p>
<p>function CB(arg:String):Void {<br />
	trace(arg);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://polygeek.com/159_flex_wait-just-a-second/comment-page-1#comment-26904</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Fri, 06 Apr 2007 17:00:45 +0000</pubDate>
		<guid isPermaLink="false">http://polygeek.com/159_actionscript_wait-just-a-second#comment-26904</guid>
		<description>Flash already has this:

setTimeout(scope, &quot;function&quot;, milliseconds, param1, param2, etc);</description>
		<content:encoded><![CDATA[<p>Flash already has this:</p>
<p>setTimeout(scope, &#8220;function&#8221;, milliseconds, param1, param2, etc);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: polyGeek</title>
		<link>http://polygeek.com/159_flex_wait-just-a-second/comment-page-1#comment-26868</link>
		<dc:creator>polyGeek</dc:creator>
		<pubDate>Fri, 06 Apr 2007 14:07:26 +0000</pubDate>
		<guid isPermaLink="false">http://polygeek.com/159_actionscript_wait-just-a-second#comment-26868</guid>
		<description>@Rasmus, true enough. Good thanking.</description>
		<content:encoded><![CDATA[<p>@Rasmus, true enough. Good thanking.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rasmus</title>
		<link>http://polygeek.com/159_flex_wait-just-a-second/comment-page-1#comment-26832</link>
		<dc:creator>Rasmus</dc:creator>
		<pubDate>Fri, 06 Apr 2007 09:10:12 +0000</pubDate>
		<guid isPermaLink="false">http://polygeek.com/159_actionscript_wait-just-a-second#comment-26832</guid>
		<description>Or you could use:
callback(a.slice(2, a.length));

to pass as many arguments as needed</description>
		<content:encoded><![CDATA[<p>Or you could use:<br />
callback(a.slice(2, a.length));</p>
<p>to pass as many arguments as needed</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sergi Mansilla</title>
		<link>http://polygeek.com/159_flex_wait-just-a-second/comment-page-1#comment-26828</link>
		<dc:creator>Sergi Mansilla</dc:creator>
		<pubDate>Fri, 06 Apr 2007 08:32:21 +0000</pubDate>
		<guid isPermaLink="false">http://polygeek.com/159_actionscript_wait-just-a-second#comment-26828</guid>
		<description>There is an undocumented function in Flash that does that: setTimeout. It works very similar to setInterval.
You can find out how to use it at http://www.flashguru.co.uk/flash-8-settimeout/

By the way, you should use dynamic arguments. The way you send arguments to the callback function is not very elegant, and it limits the amount of arguments to send. Take a look to this:
http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary369.html

Cheers</description>
		<content:encoded><![CDATA[<p>There is an undocumented function in Flash that does that: setTimeout. It works very similar to setInterval.<br />
You can find out how to use it at <a href="http://www.flashguru.co.uk/flash-8-settimeout/">http://www.flashguru.co.uk/flash-8-settimeout/</a></p>
<p>By the way, you should use dynamic arguments. The way you send arguments to the callback function is not very elegant, and it limits the amount of arguments to send. Take a look to this:<br />
<a href="http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary369.html">http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary369.html</a></p>
<p>Cheers</p>
]]></content:encoded>
	</item>
</channel>
</rss>
