Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Clocks



Please help, there are some flash clocks that i found on this site, located here: http://www.flashkit.com/movies/Utili...5691/index.php
I want to be able to customize the clocks to display any time zone i need to. Can anyone tell me what i need to change in the code in order to set them to the time zone i disire.
Any help on this would be very much appreciated also any tips you might have... cheers



FlashKit > Flash Help > Flash ActionScript
Posted on: 07-24-2003, 05:07 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Clocks
Hi there,

does anyone here know how to make a clock in flash 5 that isnt 1 hour behind the time it should be.

I have read all the tutorials but i dont understand why it shows it 1 hour behine the actuall time..

Does anyone know why?

Thank you
Mitchell Nicholls
hnicholl@bigpond.net.au

Clocks
--------------------------------------------------------------------------------
ive built a clock in flash with one layerwith the clock face. It has four libary items 3 are just the hands. The forth is a clock mvie clip with the following code:

x = new Date();
y = x.getSeconds();
z = x.getHours();
setProperty (sec, _rotation, y*6);
setProperty (min, _rotation, x.getMinutes()*6);
if (z>12) { z = z-12; }
setProperty (hrs, _rotation, ((z*30)+(x.getMinutes()/2)


This works fine as it a tutorial from this site but i need it to be editable by clicking a + and - hours button and a + and - minutes button. does anyone know how to do this?

thanks a lot

>>> Clocks
Could somebody please tell me how to put a clcok which shows the right time onto a flash MX movie?

Clocks Need Cleaning
Hey -
I'm making a new site that's time oriented. I've found around 15 or so flash clocks that need someone to go inside them and reset to 12 hours cycles (non-military) and add my logo.
Where might I find someone to do this for a few bucks...say $10?
Thanks

[CS3] Count UP Clocks?
I'm searching for a way to make a count up clock (based in another timezone) that shows a specific day (i.e. Day 1) and when it ends on a specific day an event is triggered which causes the movie to display differently.

I've found stuff for countdown clocks, but nothing for count up ones.

can anyone point me in a direction?

Non-Military Clocks
Hello Everyone,

This is my first post on the entire board, so I would like to start off by saying it is nice meeting you all. I am 18 and new at this flash actionscript stuff. I have done Javascript and DHTML, so hopefully this will help me learn Actionscript a little easier. First problem I had with Actionscript is that no one ever seems to have a tutorial for making a Non-Military Time digial clock. I didn't look too hard, but I couldn't find one, so I decided to be on my own and make one. Well, I made one that worked, which is good.

I wrote a tutorial on it in case anyone wants to read it. It is the first tutorial I have ever written in my life, it doesn't have example pictures yet, but I am working on it. There is an example of what I am talking about at the end of page.

Click Here Non-Military Time Tutorial to check out the tutorial. Hopefully it will come in handy. Remember I am new at this, so if there are any useless chunks of code or bad explanations, I am sorry.

Enjoy,
Shane (lostinbeta)

Morthing And Clocks
i am so new to flash

how do you make a clock e.g. 14:45

like that, a digital one

and how to you tween 2 pictures, like screens from games can you morth on into another

Clocks Time?
I've just been looking at the clock egs in the fla section here...and I'm wonderin - If this was online - does the .getHours, .getMinutes etc command return the time of the server that your site is hosted by, or the viewrs local time?? Anythoughts???...

Flash Clocks Ie (the Time)
hi, ive been trying to crate a digital clock that tells the time (duh) but what i want to do is create a clock that shows the uk time and a clock that shows the us 8 hrs behind, how in the hell do i do this

thanks

rich

News Room Clocks?
Hi,

I found a great Flashkit tutorial for creating an actionscript clock, located here:

http://www.flashkit.com/tutorials/Ac...-215/index.php

My question is this: I have four buttons on my stage. When users rolls their mouse over button 1, I want their local (system) time to be displayed. When the user rolls over button 2, I want to show the local time in Hong Kong, button 3 Moscow, etc

Is there any way to do this?

cheers!
Jen

HELP Setting World Clocks
Please help, there are some flash clocks that i found on this site, located here: http://www.flashkit.com/movies/Utili...5691/index.php
I want to be able to customize the clocks to display any time zone i need to. Can anyone tell me what i need to change in the code in order to set them to the time zone i disire.
Any help on this would be very much appreciated also any tips you might have... cheers

Multiple City Clocks
I'm creating a header, which requires several international times. [Header found here]. The first clock seems to work fine. The problem is with the other clocks. I can't figure out what numbers to use in place of the 30. [hours = hours*30;]

Here is the code for the clock that seems to work fine.

time=new Date(); // time object
minutes = time.getMinutes()
hours = time.getHours()

hours = hours + (minutes/60);

minutes = minutes*6; // calculating minutes
hours = hours*30; // calculating hours

min._rotation=minutes; // giving rotation property
hour._rotation=hours; // giving rotation property

If anyone has any ideas on this, I would really appreciate it. Thank you.

Skimo

Analog Alarm Clocks
Hi
I need some help.How can I make a movie clip play using the time from the host computer,thus when the time says one O'clock, the movieclip plays once and when the time is 2 O'clock the movie clip plays twice and so on. i need the code for that

Clocks With Different Time Zones?
Has anybody ever seen four analogue clocks each with time zones from London, New York, Paris, Tokyo? I would like to have these on my site?

Thanks

Problems With Lower Cpu Clocks
Hail guys...

I'm facing problems when running my web project at lower cpu clocks (below 1000 MHz) - and I would like to know if anybody knows the reason for that.. and if exist a proper way to solve it (without changes on the computer - .. )

There's anyway to do this miracle?? or to do anything related to this?

tanx for any help


ps... i've noticed a big change when running a flashproject on standalone flash player instead of internet explorer.. maybe it means a clue...

Multiple Clocks With Different Time Zones
Hey all,

How would i go about making 5 different clocks, each with a different time zone? i want to have one for boston, san francisco, arizona, chicago, and tokyo. the only problem i can forsee is that since the clock corresponds to the user's computer, they may get messed up. (chicago is 1 hour earlier than boston, arizona is 2 hours earlier than boston, san francisco is 3 hours earlier than boston, and tokyo is 10 hours slower than boston). thanks in advance for all you help!

Setting Clocks To Server Time
Hey there! I'm a new user to Flash...spent most of my free time pounding the keys writing html script, this is sooo much easier....and have a few problems! I've been looking at the clock example that comes with the software and I want to know if it's possible for the clock to get the time and date off the server that it is being hosted on rather than off the individual users machine! If so.....can someone tell me how!!!??

Cheers in advance

Si

24 Hour Clocks And Time Zones
Hi,

Just wondering if someone could help me create a movie with a real time 24 hour clock? + five others all running at the same time for differnent time zones?

I've downloaded a movie from the archive, but can't seem to do much with it, probably as I'm not a scripter!

Any help greatly received!

cheers
jon

Analog Clocks With Different Time Zones
Hi,

I need to create 6 analog clocks within a single flash document which shows real time for 6 different countries/time zones.. using actionscript. I can create the clocks and make them move but I know only how to get the system/server time by using getDate() and getHours() methods. But how do I make my clocks showing 6 different time zones.

Pls Help......Thanks.

Flash MX: World Analog Clocks 'Banner'
I have developed a 470x60 "banner" that incorporates nine analog clocks that show local times for the following cities:

Tokyo, Beijing,Islamabad,Moscow,London,Sao Paol, New York, Mexico City and Seattle.

The movie not only adjusts for daylight savings time where applicable, but also shows nightfall as it tracks across the planet.

Rather than make the SWF file available, I am making available the following Javascript code which will display the clock on any web page. This will enable me to upgrade the movie over time and change daylight savings time settings each year without having to redistribute the application.

Here's what the movie looks like.

<script type="text/javascript" src="http://www.iqfeed.net/flash/worldclocks.js"></script><script>fire('runclock')</script>


The javascript code is below. Feel free to test this application and use it on your web site.

code:
<script type="text/javascript" src="http://www.iqfeed.net/flash/worldclocks.js"></script><script>fire('runclock')</script>

How Can I Create A Button That Changes Time On Animated Clocks.
I am creating a resource for children to help them understand time zones around the world, and analogue and digital displays.

I need to have two clocks, one with an hour hand and minute hand, and one a digital clock. I want to have two buttons, one called 'back' and one called 'forward' that advance/reduce the time. So if I clicked on 'back' 3 times the clock hands/digital display will move to display the time 3 hours behind the original time.

How could I do this? I presume I would need to change the angle of the hands on the analogue clock by 30 degrees each press. Can this be done with a button press?

Even re-reading this message it strikes me as quite a complicated problem, but if anyone can help me I'm sure you are on Flashkit forum!

Thanks in advance!!

Analog Clocks Displaying Different Time Zones
Hi i'm following a tutorial on how to make an analog clock but i can't figure out how to make it tell the time from a different city or time zone, does anybody know how?

im following this tutorial: http://www.kirupa.com/developer/actionscript/clock.htm


any help is greatly appreciated.

How To Create Clocks For Diff Time Zones
Hello all
I'm working on a small site in which I've to give 5 clocks of different cities (London,New york,Sydney,Tokyo,Mumbai). I've found one clock on braingiants.com. I've modifed it according to my way. But Im not able to apply the diff time zones as my prime requirement.Can anyone help me in finding the solution for the same.
Im attaching the fla for ur reference. ( the original one without any time zone )

Thanks & regards

Flash Analog Clocks With Different Time Zones
Hi,

I need to create 6 analog clocks within a single flash document which shows real time for 6 different countries/time zones.. using actionscript. I can create the clocks and make them move but I know only how to get the system/server time by using getDate() and getHours() methods. But how do I make my clocks showing 6 different time zones.

Pls Help......Thanks.

Help With Loading Flash Page Loading Clocks
Hello users i don't really know alot about flash. What happens is when i click on the link to open one of my .swf it takes about 6 seconds but all you see is a white box until then. How do i put one of those loading clocks where it has loading 1-100 % until my flash is ready to be viewed.

Thanks guys

GBRadio

wakeup.to/gbradio

Copyright © 2005-08 www.BigResource.com, All rights reserved