<?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: Tips &amp; Tricks 11: Customizable Flash Analogue Clock AS3</title>
	<atom:link href="http://www.flashuser.net/flash-tricks/tips-tricks-11-customizable-flash-analogue-clock-as3.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.flashuser.net/flash-tricks/tips-tricks-11-customizable-flash-analogue-clock-as3.html</link>
	<description>FlashUser.net helps creative Flash developers and designers from all over the world to save time and money for their projects. By following our posts you will easily create more effective Flash designs or add value to your Flash software and applications</description>
	<lastBuildDate>Sun, 11 Jul 2010 14:16:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Hugh</title>
		<link>http://www.flashuser.net/flash-tricks/tips-tricks-11-customizable-flash-analogue-clock-as3.html/comment-page-1#comment-1688</link>
		<dc:creator>Hugh</dc:creator>
		<pubDate>Thu, 12 Nov 2009 08:32:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashuser.net/?p=1796#comment-1688</guid>
		<description>The new code with timer will cause the second hand to ramdomly jump 2 seconds. Any one know why?</description>
		<content:encoded><![CDATA[<p>The new code with timer will cause the second hand to ramdomly jump 2 seconds. Any one know why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joyoge designers' bookmark</title>
		<link>http://www.flashuser.net/flash-tricks/tips-tricks-11-customizable-flash-analogue-clock-as3.html/comment-page-1#comment-259</link>
		<dc:creator>joyoge designers' bookmark</dc:creator>
		<pubDate>Sat, 05 Sep 2009 16:24:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashuser.net/?p=1796#comment-259</guid>
		<description>nice tut, thanks for the tip..</description>
		<content:encoded><![CDATA[<p>nice tut, thanks for the tip..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jloa</title>
		<link>http://www.flashuser.net/flash-tricks/tips-tricks-11-customizable-flash-analogue-clock-as3.html/comment-page-1#comment-226</link>
		<dc:creator>Jloa</dc:creator>
		<pubDate>Mon, 31 Aug 2009 12:11:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashuser.net/?p=1796#comment-226</guid>
		<description>U r welcome ^_^</description>
		<content:encoded><![CDATA[<p>U r welcome ^_^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flashuser</title>
		<link>http://www.flashuser.net/flash-tricks/tips-tricks-11-customizable-flash-analogue-clock-as3.html/comment-page-1#comment-222</link>
		<dc:creator>Flashuser</dc:creator>
		<pubDate>Sat, 29 Aug 2009 14:51:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashuser.net/?p=1796#comment-222</guid>
		<description>i updated the script...thanks for share</description>
		<content:encoded><![CDATA[<p>i updated the script&#8230;thanks for share</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jloa</title>
		<link>http://www.flashuser.net/flash-tricks/tips-tricks-11-customizable-flash-analogue-clock-as3.html/comment-page-1#comment-221</link>
		<dc:creator>Jloa</dc:creator>
		<pubDate>Sat, 29 Aug 2009 14:18:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashuser.net/?p=1796#comment-221</guid>
		<description>var timer:Timer = new Timer(1000);
timer.addEventListener(TimerEvent.TIMER, clockHandler);
timer.start();

function clockHandler(event:TimerEvent)
{

	    // set hour
		var time = new Date();
		var hourHand = time.getHours();
		var minuteHand = time.getMinutes();
		var secondHand = time.getSeconds();
		
		hourHand_.rotation = 30 * hourHand + minuteHand / 2;
		minuteHand_.rotation = 6 * minuteHand;
		secondHand_.rotation = 6 * secondHand;
}


my code is 31 times optimized than yrs (if the fps is set to 31) ^_^</description>
		<content:encoded><![CDATA[<p>var timer:Timer = new Timer(1000);<br />
timer.addEventListener(TimerEvent.TIMER, clockHandler);<br />
timer.start();</p>
<p>function clockHandler(event:TimerEvent)<br />
{</p>
<p>	    // set hour<br />
		var time = new Date();<br />
		var hourHand = time.getHours();<br />
		var minuteHand = time.getMinutes();<br />
		var secondHand = time.getSeconds();</p>
<p>		hourHand_.rotation = 30 * hourHand + minuteHand / 2;<br />
		minuteHand_.rotation = 6 * minuteHand;<br />
		secondHand_.rotation = 6 * secondHand;<br />
}</p>
<p>my code is 31 times optimized than yrs (if the fps is set to 31) ^_^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jloa</title>
		<link>http://www.flashuser.net/flash-tricks/tips-tricks-11-customizable-flash-analogue-clock-as3.html/comment-page-1#comment-220</link>
		<dc:creator>Jloa</dc:creator>
		<pubDate>Sat, 29 Aug 2009 14:13:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashuser.net/?p=1796#comment-220</guid>
		<description>2 author &gt;&gt; this.addEventListener(&quot;enterFrame&quot;,clockHandler);
I&#039;d adviced u to use Timer class usage with a 1000 ms timeout.
For example: i have a 31 fps movie, which means yr script will update the timing 31 timer per second = no need 4 that.</description>
		<content:encoded><![CDATA[<p>2 author &gt;&gt; this.addEventListener(&#8220;enterFrame&#8221;,clockHandler);<br />
I&#8217;d adviced u to use Timer class usage with a 1000 ms timeout.<br />
For example: i have a 31 fps movie, which means yr script will update the timing 31 timer per second = no need 4 that.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
