<?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; digital</title>
	<atom:link href="http://www.flashuser.net/tag/digital/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 13</title>
		<link>http://www.flashuser.net/flash-of-the-day/flash-of-the-day-13.html</link>
		<comments>http://www.flashuser.net/flash-of-the-day/flash-of-the-day-13.html#comments</comments>
		<pubDate>Mon, 13 Jul 2009 19:55:35 +0000</pubDate>
		<dc:creator>flashuser</dc:creator>
				<category><![CDATA[Flash of the day]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[digital]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.flashuser.net/?p=460</guid>
		<description><![CDATA[Because we&#8217;d like to be inspired, 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 Project Cold &#8211; Coors Light Digital Gurus]]></description>
			<content:encoded><![CDATA[<p>Because we&#8217;d like to be inspired, 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 http://www.twitter.com/flashuser</p>
<p><span id="more-460"></span></p>
<p><span id="writer-content"><a href="http://www.coorslight.com/projectcold/" color="FF0000" target="_blank">Project Cold &#8211; Coors Light</a></span></p>
<div align="center" class="border-media"><a href="http://www.coorslight.com/projectcold/" target="_blank"><img src="http://www.flashuser.net/wp-content/uploads/2009/07/project_cold.jpg" alt="project_cold" title="project_cold" width="560" height="321" class="alignnone size-full wp-image-462" /></a></div>
<p><span id="writer-content"><a href="http://www.digitalgurus.co.uk" color="FF0000" target="_blank">Digital Gurus</a></span></p>
<div align="center" class="border-media"><a href="http://www.digitalgurus.co.uk" target="_blank"><img src="http://www.flashuser.net/wp-content/uploads/2009/07/digital_gurus.jpg" alt="digital_gurus" title="digital_gurus" width="560" height="315" class="alignnone size-full wp-image-464" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.flashuser.net/flash-of-the-day/flash-of-the-day-13.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tips &amp; Tricks 5: Display digital time</title>
		<link>http://www.flashuser.net/flash-tricks/daily-trick-5-digital-time-display.html</link>
		<comments>http://www.flashuser.net/flash-tricks/daily-trick-5-digital-time-display.html#comments</comments>
		<pubDate>Sun, 28 Jun 2009 20:42:29 +0000</pubDate>
		<dc:creator>flashuser</dc:creator>
				<category><![CDATA[Actionscript 2.0]]></category>
		<category><![CDATA[Flash Tips & Tricks]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[digital]]></category>
		<category><![CDATA[time]]></category>

		<guid isPermaLink="false">http://www.flashuser.net/?p=252</guid>
		<description><![CDATA[For today&#8217;s trick I will show how you can display digital time in Flash. 1. Using the Text Tool(T) create 3 Textboxes(hours, minutes, seconds). 2. Give each one a name in the Var field of the Properties Panel.(for this example I use h &#8211; hours, m &#8211; minutes, s &#8211; seconds). 3. Write the following Actionscript code: 4. If you want to display GMT Time(the example above uses Local Time) replace getHours() with getUTCHours, getMinutes() with getUTCMinutes() and getSeconds() with getUTCSeconds(). 
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_timer2_570519327"
			class="flashmovie"
			width="100"
			height="40">
	<param name="movie" value="http://www.flashuser.net/flash-files/flash_tips_tricks/5/timer2.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.flashuser.net/flash-files/flash_tips_tricks/5/timer2.swf"
			name="fm_timer2_570519327"
			width="100"
			height="40">
	<!--<![endif]-->
		 
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>]]></description>
			<content:encoded><![CDATA[<p>For today&#8217;s trick I will show how you can display digital time in Flash.</p>
<p>1. Using the Text Tool(T) create 3 Textboxes(hours, minutes, seconds).</p>
<p>2. Give each one a name in the Var field of the Properties Panel.(for this example I use h &#8211; hours, m &#8211; minutes, s &#8211; seconds).</p>
<p><span id="more-252"></span></p>
<p>3. Write the following Actionscript code:</p>
<pre class="brush: as3; title: ; notranslate">
var dt
var timeint;

date = new Date();
h = date.getHours();
m = date.getMinutes();
s = date.getSeconds();
timeint = setInterval(displayZ, 1000);

function displayZ() {
   date = new Date();
   h = date.getHours();
   m = date.getMinutes();
   s = date.getSeconds();
   if (h&lt;10) {
      h = &quot;0&quot;+h;
   }
   if (m&lt;10) {
      m = &quot;0&quot;+m;
   }
   if (s&lt;10) {
      s = &quot;0&quot;+s;
   }
}
</pre>
<p>4. If you want to display GMT Time(the example above uses Local Time) replace getHours() with getUTCHours, getMinutes() with getUTCMinutes() and getSeconds() with getUTCSeconds().</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_timer2_754529780"
			class="flashmovie"
			width="100"
			height="40">
	<param name="movie" value="http://www.flashuser.net/flash-files/flash_tips_tricks/5/timer2.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.flashuser.net/flash-files/flash_tips_tricks/5/timer2.swf"
			name="fm_timer2_754529780"
			width="100"
			height="40">
	<!--<![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>
]]></content:encoded>
			<wfw:commentRss>http://www.flashuser.net/flash-tricks/daily-trick-5-digital-time-display.html/feed</wfw:commentRss>
		<slash:comments>0</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:43:51 -->
