<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Flash User &#187; clock</title>
	<atom:link href="http://www.flashuser.net/tag/clock/feed" rel="self" type="application/rss+xml" />
	<link>http://www.flashuser.net</link>
	<description>Useful and daily inspiration resources from web design, css, wordpress, graphic design, photography, illustrator, photoshop.</description>
	<lastBuildDate>Tue, 07 Feb 2012 10:23:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Flash of the Day 74</title>
		<link>http://www.flashuser.net/flash-of-the-day/flash-of-the-day-74.html</link>
		<comments>http://www.flashuser.net/flash-of-the-day/flash-of-the-day-74.html#comments</comments>
		<pubDate>Tue, 15 Sep 2009 20:04:24 +0000</pubDate>
		<dc:creator>flashuser</dc:creator>
				<category><![CDATA[Flash of the day]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[clock]]></category>
		<category><![CDATA[touch screen]]></category>

		<guid isPermaLink="false">http://www.flashuser.net/?p=2231</guid>
		<description><![CDATA[Because we like to keep up the inspiration, we post daily sparks both for designers and developers. If you&#8217;d like to contribute send us via contact form the link that inspired you and specify in the message for &#8220;Flash of the day&#8221; or via Twitter http://www.twitter.com/flashuser Mary and Max HP Photosmart &#8211; Touch Screen Printers Flip Countdown Clock Stylish flip countdown clock ,vector based and resizeable. You can fully customize text color, bg color, bg shadow alpha, target time text, and target timezone in XML file, and Support event onFinish.]]></description>
			<content:encoded><![CDATA[<p>Because we like to keep up the inspiration, we post daily sparks both for designers and developers.</p>
<p>If you&#8217;d like to contribute send us via contact form the link that inspired you and specify in the message for &#8220;Flash of the day&#8221;  or via Twitter <span  id="writer-content"><a href="http://www.twitter.com/flashuser" target="_blank">http://www.twitter.com/flashuser</a></span></p>
<p><span id="more-2231"></span></p>
<p><span  id="writer-content"><a href="http://www.maryandmax.com/" target="_blank">Mary and Max</a></span></p>
<div align="center" class="border-media"><a href="http://www.maryandmax.com/" target="_blank"><img src="http://www.flashuser.net/wp-content/uploads/2009/09/mary_max.jpg" alt="mary_max" title="mary_max" width="560" height="329" class="alignnone size-full wp-image-2233" /></a></div>
<p><span  id="writer-content"><a href="http://h30406.www3.hp.com/campaigns/2009/hho/photosmart/sites/en_us/index.html?jumpid=ex_R11400_go/touchprinting#" target="_blank">HP Photosmart &#8211; Touch Screen Printers</a></span></p>
<div align="center" class="border-media"><a href="http://h30406.www3.hp.com/campaigns/2009/hho/photosmart/sites/en_us/index.html?jumpid=ex_R11400_go/touchprinting#" target="_blank"><img src="http://www.flashuser.net/wp-content/uploads/2009/09/touch_screen_printers.jpg" alt="touch_screen_printers" title="touch_screen_printers" width="560" height="320" class="alignnone size-full wp-image-2234" /></a></div>
<p><span  id="writer-content"><a href="http://www.flashcomponents.net/component/flip_countdown_clock.html" target="_blank"> Flip Countdown Clock</a></span><br />
Stylish flip countdown clock ,vector based and resizeable. You can fully customize text color, bg color, bg shadow alpha, target time text, and target timezone in XML file, and Support event onFinish. </p>
<div align="center" class="border-media"><a href="http://www.flashcomponents.net/component/flip_countdown_clock.html" target="_blank"><img src="http://www.flashuser.net/wp-content/uploads/2009/09/countdown_clock.jpg" alt="countdown_clock" title="countdown_clock" width="560" height="265" class="alignnone size-full wp-image-2235" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.flashuser.net/flash-of-the-day/flash-of-the-day-74.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tips &amp; Tricks 11: Customizable Flash Analogue Clock AS3</title>
		<link>http://www.flashuser.net/flash-tricks/tips-tricks-11-customizable-flash-analogue-clock-as3.html</link>
		<comments>http://www.flashuser.net/flash-tricks/tips-tricks-11-customizable-flash-analogue-clock-as3.html#comments</comments>
		<pubDate>Fri, 28 Aug 2009 12:46:56 +0000</pubDate>
		<dc:creator>flashuser</dc:creator>
				<category><![CDATA[ActionScript 3.0]]></category>
		<category><![CDATA[Flash Tips & Tricks]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[clock]]></category>
		<category><![CDATA[time]]></category>

		<guid isPermaLink="false">http://www.flashuser.net/?p=1796</guid>
		<description><![CDATA[In this tutorial I&#8217;ll create a customizable analogue clock in ActionScript 3.0. What is a must know is that the time displayed depends on the users computer time. The code beyond is intuitive so the focus here is on the design. Follow this three simple steps to create your one clock. Take a look at the example below for the final result. 
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_analogue_clock_1063005326"
			class="flashmovie"
			width="320"
			height="320">
	<param name="movie" value="http://www.flashuser.net/flash-files/tutorials/analogue_clock_as3/analogue_clock.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.flashuser.net/flash-files/tutorials/analogue_clock_as3/analogue_clock.swf"
			name="fm_analogue_clock_1063005326"
			width="320"
			height="320">
	<!--<![endif]-->
		 
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object> 1. For the first step I created the clock face. I drew 3 circles, and center align them. I used blue and grey colors with gradients for the background clock to look nice. [...]]]></description>
			<content:encoded><![CDATA[<p>In this tutorial I&#8217;ll create a customizable analogue clock in ActionScript 3.0. What is a must know is that the time displayed depends on the users computer time. The code beyond is intuitive so the focus here is on the design. Follow this three simple steps to create your one clock. </p>
<p><span id="more-1796"></span>Take a look at the example below for the final result.</p>
<div align="center" class="border-media">

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_analogue_clock_2103687502"
			class="flashmovie"
			width="320"
			height="320">
	<param name="movie" value="http://www.flashuser.net/flash-files/tutorials/analogue_clock_as3/analogue_clock.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.flashuser.net/flash-files/tutorials/analogue_clock_as3/analogue_clock.swf"
			name="fm_analogue_clock_2103687502"
			width="320"
			height="320">
	<!--<![endif]-->
		<br />
 <!-- Begin Alternate Content --></p>
<p>
 <a href="http://adobe.com/go/getflashplayer"><br />
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /><br />
</a>
 </p>
<p><!-- End Alternate Content --></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
</div>
<p><strong>1. </strong>For the first step I created the clock face. I drew 3 circles, and center align them. I used blue and grey colors with gradients for the background clock to look nice. I also made here the lines for the minutes and hours.</p>
<p><strong>2. </strong> Create three new movie clips (Insert->New Symbol->Movie Clip) for seconds, minutes and hours clock hands. Inside each of them drew a coresponding shape. After that drag them on the Stage and center align to the clock. Give each Movie Clip an instance name (<strong>secondHand_</strong>, <strong>minuteHand_</strong>, <strong>hourHand_</strong>).</p>
<p><strong>3. </strong> Final step paste this code in the Actions tab of the first frame. Once you&#8217;ve done that test the movie.</p>
<pre class="brush: as3; title: ; notranslate">
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;
}
</pre>
<div id="download-file"><a href="http://www.flashuser.net/flash-files/tutorials/analogue_clock_as3/analogue_clock.zip" color="FF0000" target="_blank"><span>Download Source</span></a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.flashuser.net/flash-tricks/tips-tricks-11-customizable-flash-analogue-clock-as3.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: www.flashuser.net @ 2012-02-07 05:26:54 -->
