<?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: How To Build Countdown Timer in ActionScript 2</title>
	<atom:link href="http://www.taterboy.com/blog/2010/04/how-to-build-countdown-timer-in-actionscript-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.taterboy.com/blog/2010/04/how-to-build-countdown-timer-in-actionscript-2/</link>
	<description>FLASH :: FLEX :: AIR :: ILLUSTRATION :: ANIMATION :: WEB DEVELOPMENT</description>
	<lastBuildDate>Thu, 15 Dec 2011 05:16:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: taterboy</title>
		<link>http://www.taterboy.com/blog/2010/04/how-to-build-countdown-timer-in-actionscript-2/comment-page-1/#comment-932</link>
		<dc:creator>taterboy</dc:creator>
		<pubDate>Mon, 13 Dec 2010 16:13:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.taterboy.com/blog/?p=567#comment-932</guid>
		<description>Here is the section of code you want to modify:

if(dateArr &gt;= targDate){
	days.dyt.text = &quot;000&quot;;
	hrs.hrt.text = &quot;00&quot;;
	mins.mnt.text = &quot;00&quot;;
	secs.sct.text = &quot;00&quot;;
 
	delete this.onEnterFrame;

	//timer has reached 0, happy new year!!!!
	days.visible = false;
	hrs.visible = false;
	mins.visible = false;
	secs.visible = false;
	happyNewText.visible = true;

	return;
}

before the &quot;return;&quot; add the code to display Happy New Year.

Personally I would make a graphic or textField that said &quot;happy new year&quot;, make it visible = false (invisible), then when the counter reaches 0s (in the code above) hide all the counter text fields and make the happy new year visible.</description>
		<content:encoded><![CDATA[<p>Here is the section of code you want to modify:</p>
<p>if(dateArr >= targDate){<br />
	days.dyt.text = &#8220;000&#8243;;<br />
	hrs.hrt.text = &#8220;00&#8243;;<br />
	mins.mnt.text = &#8220;00&#8243;;<br />
	secs.sct.text = &#8220;00&#8243;;</p>
<p>	delete this.onEnterFrame;</p>
<p>	//timer has reached 0, happy new year!!!!<br />
	days.visible = false;<br />
	hrs.visible = false;<br />
	mins.visible = false;<br />
	secs.visible = false;<br />
	happyNewText.visible = true;</p>
<p>	return;<br />
}</p>
<p>before the &#8220;return;&#8221; add the code to display Happy New Year.</p>
<p>Personally I would make a graphic or textField that said &#8220;happy new year&#8221;, make it visible = false (invisible), then when the counter reaches 0s (in the code above) hide all the counter text fields and make the happy new year visible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony</title>
		<link>http://www.taterboy.com/blog/2010/04/how-to-build-countdown-timer-in-actionscript-2/comment-page-1/#comment-931</link>
		<dc:creator>Anthony</dc:creator>
		<pubDate>Mon, 13 Dec 2010 16:03:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.taterboy.com/blog/?p=567#comment-931</guid>
		<description>Hi,
How do I make it say &quot;Happy New Year&quot; when it reaches zero? Any help would be AMAZING.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
How do I make it say &#8220;Happy New Year&#8221; when it reaches zero? Any help would be AMAZING.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: taterboy</title>
		<link>http://www.taterboy.com/blog/2010/04/how-to-build-countdown-timer-in-actionscript-2/comment-page-1/#comment-576</link>
		<dc:creator>taterboy</dc:creator>
		<pubDate>Tue, 03 Aug 2010 16:17:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.taterboy.com/blog/?p=567#comment-576</guid>
		<description>You can just comment out the lines that refer to the day and year TextFields.
ex: hrs.hrt.text = hoursTill;

The timer will count down to a specified date or time, then show zeros if the time has past.

Here is where I check if the time has past,
if(dateArr &gt;= targDate){ .....

You can put anything you want inside the brackets.</description>
		<content:encoded><![CDATA[<p>You can just comment out the lines that refer to the day and year TextFields.<br />
ex: hrs.hrt.text = hoursTill;</p>
<p>The timer will count down to a specified date or time, then show zeros if the time has past.</p>
<p>Here is where I check if the time has past,<br />
if(dateArr >= targDate){ &#8230;..</p>
<p>You can put anything you want inside the brackets.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jun</title>
		<link>http://www.taterboy.com/blog/2010/04/how-to-build-countdown-timer-in-actionscript-2/comment-page-1/#comment-575</link>
		<dc:creator>Jun</dc:creator>
		<pubDate>Tue, 03 Aug 2010 14:28:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.taterboy.com/blog/?p=567#comment-575</guid>
		<description>I just use your code above but then I just want to display the miliseconds, seconds, minutes and hours.
Will it still output if I remove days and year. And I want my application to stop the at a certain time.</description>
		<content:encoded><![CDATA[<p>I just use your code above but then I just want to display the miliseconds, seconds, minutes and hours.<br />
Will it still output if I remove days and year. And I want my application to stop the at a certain time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: What is the best web hosting service for a small company that needs&#8230;? &#124; Host Rage</title>
		<link>http://www.taterboy.com/blog/2010/04/how-to-build-countdown-timer-in-actionscript-2/comment-page-1/#comment-443</link>
		<dc:creator>What is the best web hosting service for a small company that needs&#8230;? &#124; Host Rage</dc:creator>
		<pubDate>Sat, 17 Apr 2010 04:54:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.taterboy.com/blog/?p=567#comment-443</guid>
		<description>[...] H&amp;#959w T&amp;#959 Build Countdown Timer &amp;#1110&amp;#1495 ActionScript 2 &#124; Taterboy.com: Graphics, Multimedi... [...]</description>
		<content:encoded><![CDATA[<p>[...] H&amp;#959w T&amp;#959 Build Countdown Timer &amp;#1110&amp;#1495 ActionScript 2 | Taterboy.com: Graphics, Multimedi&#8230; [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

