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
FlashKit > Flash Help > Flash ActionScript
Posted on: 05-07-2003, 11:03 PM
View Complete Forum Thread with Replies
Sponsored Links:
Flash Zoom Effect From Room To Room?
I want to make flash create a zoom effect from one room to another. In other words, I want the zoom to go from outside a building, into the door, down a hallway, into another room. Can this be done by just creating several graphic images and put the zoom blur on it and import them as graphics? Would it take more space up if I just tweened one graphic upwards? Either way I see a deterioration of the graphic image. How can I increase the size of the image without destroying the integrity of the photo's pixels?
The effect I want can be found on the following pages.
Thanks for your help.
http://agencynet.com/
http://www.fullsail.com/
View Replies !
View Related
Card Game (turn-based) - Lobby Room And Game Room, Maintain State
Hi all, I´m new in this forum, since now i appreciate for any help.
I´m developing a turn-based card game in Flash 8 (multiplayer), using the concepts of lobby and room. In this case when the user login de game, he always see the lobby, where he can choice the games, then the user selects a game in a dataGrid and enter the game.
Inside the game (that resides in another frame in my .fla), there is a button that when clicked brings de users to the main lobby ( gotoAndStop(“lobby”) ) so that the user can visualize the lobby with the game running in background with the others users.
The problem is when the user return to the game ( gotoAndStop(“game”) ), the images, cards, players name and chat history text disappear, all the game object disappear, remaining only the original graphics (movie clips) to the game room.
In fact, I need a solution to maintain the state of the game when the user decide to visualize the lobby (with the game running) and after return to the game.
Thanks for any help.
Regards,
Luiz Filipe (CURURU)
Os: Sorry for my bad english -
View Replies !
View Related
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
View Replies !
View Related
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
View Replies !
View Related
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
View Replies !
View Related
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
View Replies !
View Related
[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?
View Replies !
View Related
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)
View Replies !
View Related
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???...
View Replies !
View Related
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
View Replies !
View Related
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
View Replies !
View Related
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
View Replies !
View Related
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
View Replies !
View Related
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...
View Replies !
View Related
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!
View Replies !
View Related
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
View Replies !
View Related
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
View Replies !
View Related
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.
View Replies !
View Related
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>
View Replies !
View Related
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!!
View Replies !
View Related
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.
View Replies !
View Related
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
View Replies !
View Related
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.
View Replies !
View Related
News Section In AS3 - Easy Method To Add New News Etc
Hi there. I am trying to create a nice frontpage news section on the frontpage of my site. I wanted to somehow do it, so that it is easy to update and automatically loads into the site.
a perfect example is this as2 software i found (click on 'news' in the menu)
http://www.sketchography.com/demoSit...s_demoSite.php
HOw would i go about doing this?
Is there similar software which i can purchase and install?
View Replies !
View Related
Typorganism.com - Good News - Bad News
Hi,
I have just been looking at this site.
If you go into the section where it says "good news - bad news" there is a piece of work that I think is very clever.
Any ideas on how this was created? I would very much like to have something similar in a project that I am working on - somewhere that users can post pictures and a little line of copy to go with it.
Any one know of any tutorials/components/open source that will give me some kind of angle on achieving this.
It is very clever though - I tried emailing the site but have had nothing back yet
Hope someone can help
D
View Replies !
View Related
Good News Bad News --- Help
The bad news is, my computer just crashed. The good news is I have everything backed up on another computer....except 2 Flash small movies that I've almost completed. I do have them on another computer, but only as .EXE files, not as .FLA or .SWF
Is there any way to convert the .EXE back to a .FLA so I can work on them or am I screwed and have to start all over?
One of the 2 movies has been uploaded to the web, as an .HTML and as a .SWF Is there anyway these will help me?
View Replies !
View Related
Going Into Another Room
i am making a rpg what i need is a script
the idea is
the player walkes across the screen and when he hits the end of the screen it goes to another room / area is there any way to do this without changing the frame if not a simple code to change the frame would be nice
Any other ideas that would work post here
Also i need hitdetecin for buildings and walls ect
also i need a code for when the guy hits a door he goes into another frame for a shop bank woteva
thanks
peter.
----------
View Replies !
View Related
100% On A CD-Room
to set fullscreen on a CD-ROOM that i'm doing, i'm using :
fscommand("FullScreen", "True");
fscommand("AllowScale", "True");
There is anyway to set this not to "show all" but 100% ???
View Replies !
View Related
Pan Across Room
Hi
I am trying to create an interface that shows the inside of a room. I want the user to be able to move the mouse over the room and the room will pan left and right or up and down to show other areas of the room.
I have created an image that is bigger than the stage and placed a mask on the stage so that a section of the room shows through. I have managed to get the room to follow the movement of the mouse but if I leave the mouse in one direction then the whole room image keeps on scrolling and eventually it moves across the stage and out of sight.
I need to know how to restrict the room image movement so that it stops following the mouse direction once the edges of the room reach the edge of the mask.
Sorry about the long post - Hope that I have explained it well enough
Thanks in advance for any help
View Replies !
View Related
Room In 3d
Hi all,
How do i navigate a room in 3d with flash. I need to be able to 'walk' in a simple room with the keyboard arrows (turning right, turning left, moving forward).
Best
AB
View Replies !
View Related
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
View Replies !
View Related
ROOM DECORATOR
Right then all you clever guys out there
Im trying to do a flash site which is to show diferent paint and i would like to create a room painter so the viewer can paint a room how they want it to see what the colours would look like on walls and floors etc.....
I thought the easiest way of doing it would just be to have colours on different layers and turn them on and off but there are neerly 300 colours which i dont have the time scale to do also i wanna use the same colours and apply them to diferent room plans
any ideas how i could do this........?
Also does anyone know any sites that have "room painters" i can look at and see how others may have done it
thanks guy
PHENIA
View Replies !
View Related
Chat Room Help
I have been trying to get a chatroom developed in Flash 5 up and running but it can't conect to the server? Can anyone send me actionscripts for a chatroom. This is being developed for YouthBank a local charity in Tyne & Wear. Hope you can help.
Thanks
Darren
View Replies !
View Related
Design Your Own Room
Are there any applications out there in which the user interacts with graphical elements? Something that allows a user to select a product. In my clients case interior finish products (e.g., carpet, fabric), put them onto a white board, and then manipulate the objects - e.g., dynamically change the size of the swatch, layer products on top of others, add text, etc.
Something like 'design your own room' kind of style. I am sure there must be something in that direction allready?!
View Replies !
View Related
SCROLL ......out Of Room
I have a scroll movie that has some buttons...alright..alot of buttons. I need to add some more but the area (window) whatever you call it, is out of room. It will not allow me to scroll over more to add more buttons. Any ideas on this one ?
Thanks a ton !
View Replies !
View Related
Chat Room
Hey everyone is it possible to have a chat room in flash (of course it is) BUT HOW DO YOU DO IT....... i got a server and a database everything you need, now what do i do in actionscript???
View Replies !
View Related
360 View Of A Room
Hi there. I need to know if there is a way to have a scrolling effect on photos that gives the impression of a 360 view of a room (or most of the room). Similar to what you see on a Real Estate Agency sites. I have project where I need to give the ability to scan through the room(s) of a house using photos...any ideas. Thanks.
View Replies !
View Related
Chat Room
is it possible to make a chat room using flash? one that evryone sees wen ppl are on it at the same tiime, u know, just like a chat room???
oh, and does anyone know how you make a bullet come out a gun in the direction the gun is pointing (and th gun moves)
Cheers
Your Friendly Neighbourhood PlugDude
View Replies !
View Related
PLEASE HELP .php Chat Room
I have set up a chat room with PHP and its not working. It works fine when its on the main timeline, but when I put it inside a MC thats inside a MC it doesen't post the messages. It writes the message in the .txt file fine, but it doesn't post it in the Flash dynamic text where all of the posts go. ARG!!!!!
In another words, how do I set up a chat room that was originally set up to for the _root level (main timeline). Here is the PHP script that is suppose to load the .txt info.:
PHP Code:
<?
header("Expires: ".gmdate("D, d M Y H:i:s")."GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
?>
<?
/* Modified for Flashkit by swissLyons: [url]http://www.flashbuilder.ch[/url] based on the [url]http://www.peopleforfun.com[/url] version */
/* Original script by Nicola Delbono <key5@key5.com> */
?>
<?
$nickname = str_replace ("
"," ", $nickname);
$nickname = str_replace ("<", " ", $nickname);
$nickname = str_replace (">", " ", $nickname);
$nickname = stripslashes ($nickname);
?>
&output=
<?
$chat_file = "chat.txt";
$chat_lenght = 40;
$max_single_msg_lenght = 100000;
$max_file_size = $chat_lenght * $max_single_msg_lenght;
$file_size= filesize($chat_file);
if ($file_size > $max_file_size) {
$lines = file($chat_file);
$a = count($lines);
$u = $a - $chat_lenght;
for($i = $a; $i >= $u ;$i--){
$msg_old = $lines[$i] . $msg_old;
}
$deleted = unlink($chat_file);
$fp = fopen($chat_file, "a+");
$fw = fwrite($fp, $msg_old);
fclose($fp);
}
$msg = str_replace ("
"," ", $message);
$msg = stripslashes ($msg);
if ($msg != ""){
$fp = fopen($chat_file, "a+");
$fw = fwrite($fp, "$nickname : $msg
");
fclose($fp);}
$lines = file($chat_file);
$a = count($lines);
$u = $a - $chat_lenght;
for($i = $a; $i >= $u ;$i--){
echo $lines[$i];
}
?>
Thanks!
View Replies !
View Related
PLEASE HELP .php Chat Room
I have set up a chat room with PHP and its not working. It works fine when its on the main timeline, but when I put it inside a MC thats inside a MC it doesen't post the messages. It writes the message in the .txt file fine, but it doesn't post it in the Flash dynamic text where all of the posts go. ARG!!!!!
In another words, how do I set up a chat room that was originally set up to for the _root level (main timeline). Here is the PHP script that is suppose to load the .txt info.:
PHP Code:
<?
header("Expires: ".gmdate("D, d M Y H:i:s")."GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
?>
<?
/* Modified for Flashkit by swissLyons: [url]http://www.flashbuilder.ch[/url] based on the [url]http://www.peopleforfun.com[/url] version */
/* Original script by Nicola Delbono <key5@key5.com> */
?>
<?
$nickname = str_replace ("
"," ", $nickname);
$nickname = str_replace ("<", " ", $nickname);
$nickname = str_replace (">", " ", $nickname);
$nickname = stripslashes ($nickname);
?>
&output=
<?
$chat_file = "chat.txt";
$chat_lenght = 40;
$max_single_msg_lenght = 100000;
$max_file_size = $chat_lenght * $max_single_msg_lenght;
$file_size= filesize($chat_file);
if ($file_size > $max_file_size) {
$lines = file($chat_file);
$a = count($lines);
$u = $a - $chat_lenght;
for($i = $a; $i >= $u ;$i--){
$msg_old = $lines[$i] . $msg_old;
}
$deleted = unlink($chat_file);
$fp = fopen($chat_file, "a+");
$fw = fwrite($fp, $msg_old);
fclose($fp);
}
$msg = str_replace ("
"," ", $message);
$msg = stripslashes ($msg);
if ($msg != ""){
$fp = fopen($chat_file, "a+");
$fw = fwrite($fp, "$nickname : $msg
");
fclose($fp);}
$lines = file($chat_file);
$a = count($lines);
$u = $a - $chat_lenght;
for($i = $a; $i >= $u ;$i--){
echo $lines[$i];
}
?>
View Replies !
View Related
Chat Room
im not really a nOOb as such just not very good at php (yet) so anyway....
How do you make a chat room? preferbly one with a login so it would be able to remeber people. If you have any links/tutiriols that could me much appreciated.
Thank you
View Replies !
View Related
[F8] Interactive 3d Room?
**UTTER NEWBIE QUESTION ALERT**
Hi, as a complete newbie I have unrealistic expectations of what I would like to achieve but here's my aim anyway;
I would like to create an interactive 3d room. Not real 3d, more like the pre-rendered point and click style used "escape the room" style games, Crimson Room being the perfect example.
I would like to be able to zoom in/pan around the room in the same way.
Interactivity wise I want to be able to open drawers, books and cupboards etc with keys found within the room and kept in a simple inventory, no combination of items needed.
I've hunted around for tutorials and found a few;
Inventory system - http://www.flashkit.com/tutorials/Ga...-805/index.php
Unlocking stuff - http://www.flashkit.com/tutorials/Ga...-799/index.php
But no luck on creating a pseudo 3d environment. I assume I will need to render each scene/transition in seperate 3d software but how do I put everything together and are the above tutorials appropriate?
Yes I'm a noob, thank you for reading!
View Replies !
View Related
Room Escape
How you can make it so that when you pick up a object (let's say for example a key), and then it disappears? I can make it so that it disappears, but when going to another frame and back to the same, it comes back... I guess you need some actionscript for that. Can anyone help me?
View Replies !
View Related
Please Help, Chat Room ?
OK, so I've followed a tutorial on how to build a simple chat client, but it's way too basic for what I'm trying to do.
I want to build a chat room that recognizes users profile statisitics and displays them with a profile picture in the corner of the chat box.
Also would like to throw in webcam cababilities.
Does anyone know where I can dig up some advanced tutorials or books for this? All the literature shows how to set up the "simple" chat client.
Thanks
View Replies !
View Related
|