<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[XorBin Forum - Analog clock problem]]></title>
		<link>http://www.xorbin.com/forum/topic15-analog-clock-problem.html</link>
		<description><![CDATA[The most recent posts in Analog clock problem.]]></description>
		<lastBuildDate>Wed, 30 Dec 2009 17:28:56 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Analog clock problem]]></title>
			<link>http://www.xorbin.com/forum/post95.html#p95</link>
			<description><![CDATA[Hi Guys,

I cant get this to work sorry! please help if you can.

I am using the javascript ver above as I'm using asp.

my code is: 

<p id="devAnalogClock"><a href="http://www.xorbin.com/">Analog flash clock widget</a></p>
<script type="text/javascript">
    var d = new Date();
    var setTime = d.getHours() + ':' + d.getMinutes() + ':' + d.getSeconds();
    var flashvars = {
        clockSkin: "media/skins/skin005.png",
        arrowSkin: "1",
        arrowColor: "666666",
        UTCTime: setTime, 
        timeOffset: '7200'
    };
    swfobject.embedSWF(
        "devAnalogClock.swf",
        "devAnalogClock",
        "220",
        "220",
        "8",
        "expressInstall.swf",
        flashvars,
        {scale: "noscale", wmode: "transparent"}
    );
</script>

I just cant get the time to change. I have tried saving the page as .asp]]></description>
			<author><![CDATA[dummy@example.com (ak666)]]></author>
			<pubDate>Wed, 30 Dec 2009 17:28:56 +0000</pubDate>
			<guid>http://www.xorbin.com/forum/post95.html#p95</guid>
		</item>
		<item>
			<title><![CDATA[Re: Analog clock problem]]></title>
			<link>http://www.xorbin.com/forum/post86.html#p86</link>
			<description><![CDATA[For those of you having problems with changing the time zone and the php script, try a javaScript alternative below, worked for me ;

<script type="text/javascript">
    var d = new Date();
    var setTime = d.getHours() + ':' + d.getMinutes() + ':' + d.getSeconds();
    var flashvars = {
        clockSkin: "skin002.png",
        arrowSkin: "1",
        arrowColor: "666666",
        UTCTime: setTime,
timeOffset: '7200'
    };
    swfobject.embedSWF(
        "devAnalogClock.swf",
        "devAnalogClock",
        "220",
        "220",
        "8",
        "expressInstall.swf",
        flashvars,
        {scale: "noscale", wmode: "transparent"}
    );
</script>


HTH]]></description>
			<author><![CDATA[dummy@example.com (hustler2009)]]></author>
			<pubDate>Thu, 15 Oct 2009 18:27:18 +0000</pubDate>
			<guid>http://www.xorbin.com/forum/post86.html#p86</guid>
		</item>
		<item>
			<title><![CDATA[Re: Analog clock problem]]></title>
			<link>http://www.xorbin.com/forum/post81.html#p81</link>
			<description><![CDATA[Use timeOffset: "+28800" (with quotes).]]></description>
			<author><![CDATA[dummy@example.com (Administrator)]]></author>
			<pubDate>Sun, 20 Sep 2009 00:25:23 +0000</pubDate>
			<guid>http://www.xorbin.com/forum/post81.html#p81</guid>
		</item>
		<item>
			<title><![CDATA[Re: Analog clock problem]]></title>
			<link>http://www.xorbin.com/forum/post78.html#p78</link>
			<description><![CDATA[I am having an issue with obtaining the time for multiple clocks I am using.  They clocks do work but the will not tell the correct time.  The clocks start over from the UTC Time I set.  So if I set it to the correct US time and lets say its 2:45:05 and I stay on the page for for 14 minutes 3:00.05.  If I close my page and go back to it, it starts back at 2:45:05.  I have this on our company intranet and I have already had many compliments until I was told it wasnt displaying the correct time.  Your product is well liked and I would like to display it in its best form!  :)

<P id=devAnalogClock>
<SCRIPT src="XXXXXXXXXXXXXXX/swfobject.js" type=text/javascript></SCRIPT>

<SCRIPT type=text/javascript><!--
    var flashvars = {
        clockSkin: "XXXXXXXXXXXXX/skin002.png",
        arrowSkin: "1",
        arrowColor: "666666",
UTCTime: "06:06:00",
timeOffset: [-14400]     };
    swfobject.embedSWF(
        "XXXXXXXXXXXXXXX/devAnalogClock.swf",
        "devAnalogClock",
        "200",
        "150",
        "8",
        "XXXXXXXXXXXX/expressInstall.swf",
        flashvars,
        {scale: "noscale", wmode: "transparent"}
    );
// --></SCRIPT>
<BR>
<CENTER><I>Tekelec HQ US<BR>Morrisville, NC</I></CENTER></o:p>
<P></P></TD>
<TD style="PADDING-RIGHT: 5.4pt; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; WIDTH: 159.6pt; PADDING-TOP: 0in; HEIGHT: 58pt" vAlign=top width=213>
<P class=MsoNormal style="TEXT-ALIGN: center" align=center><o:p>
<P id=devAnalogClock2>
<SCRIPT src="XXXXXXXXXXXX/swfobject.js" type=text/javascript></SCRIPT>

<SCRIPT type=text/javascript><!--
    var flashvars = {
        clockSkin: "XXXXXXXXXXXXX/skin002.png",
        arrowSkin: "1",
        arrowColor: "666666",
UTCTime: "06:06:00",
timeOffset: [+7200]     };
    swfobject.embedSWF(
        "XXXXXXXXXXXX/devAnalogClock2.swf",
        "devAnalogClock2",
        "200",
        "150",
        "8",
        "XXXXXXXXXXXXX/expressInstall.swf",
        flashvars,
        {scale: "noscale", wmode: "transparent"}
    );
// --></SCRIPT>
<BR>
<CENTER><I>Belgium, France,<BR>Netherlands</I></CENTER></o:p>
<P></P></TD>
<TD style="PADDING-RIGHT: 5.4pt; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; WIDTH: 159.6pt; PADDING-TOP: 0in; HEIGHT: 58pt" vAlign=top width=499>
<P class=MsoNormal style="TEXT-ALIGN: center" align=center><o:p>
<P id=devAnalogClock3>
<SCRIPT src="XXXXXXXXXXX/swfobject.js" type=text/javascript></SCRIPT>

<SCRIPT type=text/javascript><!--
    var flashvars = {
        clockSkin: "XXXXXXXXXXX/skin002.png",
        arrowSkin: "1",
        arrowColor: "666666",
UTCTime: "6:30:00",
timeOffset: [+28800]     };
    swfobject.embedSWF(
        "XXXXXXXXXXXXXXX/devAnalogClock3.swf",
        "devAnalogClock3",
        "200",
        "150",
        "8",
        "XXXXXXXXXXXXXX/expressInstall.swf",
        flashvars,
        {scale: "noscale", wmode: "transparent"}
    );
// --></SCRIPT>


If anyone can help me with this I would be so appreciative.  Its the UTC Time parameter that is throwing me off.]]></description>
			<author><![CDATA[dummy@example.com (RCPittman)]]></author>
			<pubDate>Wed, 02 Sep 2009 20:09:44 +0000</pubDate>
			<guid>http://www.xorbin.com/forum/post78.html#p78</guid>
		</item>
		<item>
			<title><![CDATA[Re: Analog clock problem]]></title>
			<link>http://www.xorbin.com/forum/post70.html#p70</link>
			<description><![CDATA[Hi I have impleted the same code but in a dot net application and cannot get the clock to correct for UTC it will only display the cpu clock.
here is the code.
var newDate:Date = new Date();
        var timezoneOffset:int = 0 - newDate.timezoneOffset * 60;
			var flashvars = {
				clockSkin: 'media/skins/skin005.png',
				arrowSkin: '1',
				arrowScale: '40',
				arrowColor: 'ffffff',
				utctime: 'hh:mm:ss',
                timeoffset: timezoneOffset,
 and as well as this


			var flashvars = {
				clockSkin: 'media/skins/skin005.png',
				arrowSkin: '1',
				arrowScale: '40',
				arrowColor: 'ffffff',
				utctime: 'hh:mm:ss',
				timeoffset: '14400',
The clock appear on the webpage and shows the current time from my laptop. It current running in a devop env. Any help would be helpful. not very fimilar with flash.]]></description>
			<author><![CDATA[dummy@example.com (radamo1216)]]></author>
			<pubDate>Tue, 21 Jul 2009 20:36:39 +0000</pubDate>
			<guid>http://www.xorbin.com/forum/post70.html#p70</guid>
		</item>
		<item>
			<title><![CDATA[Re: Analog clock problem]]></title>
			<link>http://www.xorbin.com/forum/post68.html#p68</link>
			<description><![CDATA[Hi Sorry, I just realized that indeed the clock shows nicely, however the time is not changing, seconds hands does not move either.

Any Ideas?]]></description>
			<author><![CDATA[dummy@example.com (evp)]]></author>
			<pubDate>Thu, 09 Jul 2009 14:03:54 +0000</pubDate>
			<guid>http://www.xorbin.com/forum/post68.html#p68</guid>
		</item>
		<item>
			<title><![CDATA[Re: Analog clock problem]]></title>
			<link>http://www.xorbin.com/forum/post67.html#p67</link>
			<description><![CDATA[Hi, I just tried the following script

<?php
echo gmdate('H:i:s');
?>

and accessed it via [url]http://www.globaltrade.com/clock_test.php[/url]

and I get back

12:57:26 

However the clock still does not show. Since php is supported on the server, what else might be going on?

Solved..I forgot to add the "," after the last variable when added the additional code.


Thanks]]></description>
			<author><![CDATA[dummy@example.com (evp)]]></author>
			<pubDate>Thu, 09 Jul 2009 12:59:29 +0000</pubDate>
			<guid>http://www.xorbin.com/forum/post67.html#p67</guid>
		</item>
		<item>
			<title><![CDATA[Re: Analog clock problem]]></title>
			<link>http://www.xorbin.com/forum/post66.html#p66</link>
			<description><![CDATA[As i see your server has no PHP support. I can see php code in your HTML source: 
UTCTime: "<?php echo gmdate('H:i:s'); ?>"

The result should be something like this:
UTCTime: "12:00:00"

gmdate function is well documented here:
[url]http://us.php.net/manual/en/function.gmdate.php[/url]

If you use some other programming language ASP, Ruby or something else find corresponding function in that language.]]></description>
			<author><![CDATA[dummy@example.com (Administrator)]]></author>
			<pubDate>Thu, 09 Jul 2009 12:05:06 +0000</pubDate>
			<guid>http://www.xorbin.com/forum/post66.html#p66</guid>
		</item>
		<item>
			<title><![CDATA[Re: Analog clock problem]]></title>
			<link>http://www.xorbin.com/forum/post65.html#p65</link>
			<description><![CDATA[Hi, thanks for your quick reply.

[url]http://www.globalfxtrade.com[/url]]]></description>
			<author><![CDATA[dummy@example.com (evp)]]></author>
			<pubDate>Thu, 09 Jul 2009 10:55:32 +0000</pubDate>
			<guid>http://www.xorbin.com/forum/post65.html#p65</guid>
		</item>
		<item>
			<title><![CDATA[Re: Analog clock problem]]></title>
			<link>http://www.xorbin.com/forum/post64.html#p64</link>
			<description><![CDATA[Please give me an URL where i can look into your problem.]]></description>
			<author><![CDATA[dummy@example.com (Administrator)]]></author>
			<pubDate>Thu, 09 Jul 2009 10:11:18 +0000</pubDate>
			<guid>http://www.xorbin.com/forum/post64.html#p64</guid>
		</item>
		<item>
			<title><![CDATA[Analog clock problem]]></title>
			<link>http://www.xorbin.com/forum/post63.html#p63</link>
			<description><![CDATA[Hi, I have tried to use your example above, but the widget stops working (the clock is no longer shown).
Below is a copy of my code:

<script type="text/javascript"><!--
    var flashvars = {
        clockSkin: "media/skins/skin008.png",
        arrowSkin: "1",
        arrowColor: "666666"
        UTCTime: "<?php echo gmdate('H:i:s'); ?>", 
        timeOFFset: "32400"
            };
    swfobject.embedSWF(
        "media/devAnalogClock.swf",
        "devAnalogClock",
        "200",
        "200",
        "8",
        "media/expressInstall.swf",
        flashvars,
        {scale: "noscale", wmode: "transparent"}
          );
// --></script>


Any idea what might be wrong?]]></description>
			<author><![CDATA[dummy@example.com (evp)]]></author>
			<pubDate>Thu, 09 Jul 2009 09:11:28 +0000</pubDate>
			<guid>http://www.xorbin.com/forum/post63.html#p63</guid>
		</item>
	</channel>
</rss>
