flash4satheesh
Oct 4 2007, 01:38 AM
| | Digital Time
1.Create a Text Field and Create set them instance name = “time”. 2.Select the first Frame. 3.Press F9 and Copy Code Below and paste it.
CODE _root.onEnterFrame = function() { var time:Date = new Date(); hour = (time.getHours()<=12) ? time.getHours() : (time.getHours()-12); hour = (hour<10) ? ["0"+hour] : hour; second = time.getSeconds(); second = (second<10) ? ["0"+second] : second; Minutes = time.getMinutes(); Minutes = (Minutes<10) ? ["0"+Minutes] : Minutes; _root.time.text = [hour+"."+Minutes+"."+second]; }; |
Reply
hitmanblood
Oct 4 2007, 05:59 AM
This makes digital clock or what????? I did not tried this code but I am interested what it actually does.
Reply
flash4satheesh
Oct 20 2007, 06:23 AM
It only display the time in the Text Field.
Reply
Similar Topics
Keywords : digital, time, create, digital, time, flash,
- Adding Flash Music Player To Home/any Page
How-to (put any song you want!!!) (3)
Load A Another Swf Movie Into Flash Player.
During Execution. (0) Load a another swf movie into Flash player. Create an empty flash document as you like. Save and
publish it. Create a 2nd flash document as you like. Save and publish it. Note: Both are in same
directory. Open a first empty flash document. Select the first frame and Press F9. Copy the code
below and paste it. loadMovie("Your 2nd flash file name .swf", this); Save and run it.....
3d Landscape In Swishmax (flash)
some syntax differences but basically same as flash (1) OK! this tutorial is inspired by a game at addictinggames.com... im not sure how many of you
have played it but here it is: God's Playing Field Its a cute little game... but when i first
played it i though HOW DOES IT DO THAT!!! and by that i mean dot he 3d with the mouse
and then today i finally got around to making it... I used one of the oldest tricks in the book...
so lets educate you a lil about flash... Flash does not support 3D directly, you have to find some
way to make your own. You could develop some complicated system for which you co....
How To Make 3d Wireframes
A Flash Actionscript tutorial (2) Ok to start off this tutorial, i would like to ask you to make a blank flash movie and set the stage
to have a width of 600 and a height of 400. Now when the movie loads, we need to set some variables
so lets start off by setting the origin QUOTE origin = new Object(); origin.x = 300; origin.y =
200; What this does, is it defines the origin to be an object with physical properties such
as X and Y coordinates and it then sets those coodinates to 300 and 200, which is the center of the
movie. Now we want to set what is called the 'focalLength'. QUOT....
Flashing Your Motherboard's Bios
How to flash a BIOS (10) Hello Everyone, Let me start with reintroducing myself into this forum. My name is Michael Odo. A
Nigerian and one of the previous most active members of this great online community. Well, I know
that I have been off from here for quite a very long time due to some hard times but, I am back now
and in full force . Back to the topic of my discussion . BIOS means Basic Input/Output System .
It is a software embedded into your motherboard and which controls everything on your system.
Flashing the BIOS is quite a risky affair and you are better adviced not to try t....
Using An Actionscript In Flash For Loops
(0) QUOTE When you are dealing with a lot of data, you without a doubt will run into the need to use
loops. Lets say you would want to attach a movieClip to the stage. If its just a few clips it
won't form a problem, but what if you wanted to attach a lot more clips? It would be impossible
to set them up piece by piece. It would take hours of coding the same code over and over again and
that redundancy is something you could really do without, not even talking about the time you are
loosing. This is where loops come into action. We have a few different ones to our d....
Making Interactive Cds With Flash
My second flash tutorial for Beginners (2) Im back again with what i think it would be an interesting tutorial for all of you guys who wants to
take flash out of the web and make really cool interactive CDS. First of all if all of you are
thinking right now: "this dude is wrong for making interactive cds you have to use macromedia
Director", well you are right macromedia director it's used to build interactive cds and dvds
among other things, but you can also make interactive cds with Flash, the thing is: if you want to
make a simple interactive CD you can totally do it with flash, of course Director brings ....
Loading Movies Technique In Flash
(4) What is loading movies technique? Well for example if you are buildin a 7 section website fully
flash animated, the whole site is flash, one option is to make the 7 sections in the same movie, but
the result will be a huge movie, that will take a lot of time to load, and probably the user wont
stay that long to wait. The other option is to make one main movie and 7 other movies one for every
section and then load does movies dinamically into the main movie, in that case the user its gonna
load the main movie and then just load the section hes gonna navigate. Now lets get....
Tweening In Flash Mx
Simple tutorial for biginners. (10) In this tutorial you will learn how to tween in Flash MX. Motion Tween 1. Create a new
document in flash. Any size will do. 2. Create any shape or object - just not a Flash UI. 3. On
the time line right click on the time when you want it to stop moving. right click on a frame and
click Insert keyframe. 4. Select it, you can use the black picture of a cursor in the toolbox
(Arrow Tool (v)) 5. With the new Keyframe selected move the object where you want it to move it.
6. Select the to keyframes with shift. 7. Right click and press Create Motion Tween. 8. Pr....
How To Format Your Flash Disk/ Diskettes
Formatting your flash or diskette (6) Now sometime your flash disk or diskette might have corrupt data, don't worrry just format it.
follow these simple steps: 1. Double click "My Computer" on your desktop. It opens a window with
all the available disks. 2. Right-click, your "Removable Disk" or "3 1/2 Floppy" 3. Then click
"Format" it would bring out a window 4. you can either choose "Quick Format" option to make the
formatting faster. 5. then click the format buttooon. it formats the drive. When it finishes it
show you the "format complete" dialog, click "ok" and it is done. you have a formatted d....
Loadsound Flash Mx
streaming (0) I've asked this question in another section but i figure it belongs here. Would like to know if
it's possible to loop streaming music using loadsound. I've managed to do it by creating a
movie that loops but i was wondering if there was another way? round.trap17.com....
Flash Movie Loads...
(4) Im making a full flash website... For those flash freaks... I used LoadMovieNum to call the a
movie1. And then movie1 has submovie1. Submovie1 has subs too... (e.g.sub1) How can i load sub1
retaining the movie1 & submovie1!? and the is there a way? or is it just one loading of movie at
a time?? =)....
Flash Tutorials
(7) I have been looking for a complete tutorial on how to do flash. I have found a few but they only
teach you how to do 1 or 2 certain things. I need one that shows excatly step by step how do do
everything. If anyone out there knows where to find one like that please let me know. Im not
looking to learn it overnite i am looking for a long term tutorial that i can work at my own pace.
Tahnks in advance!....
Flash / Multimedia
tutorials (1) Building a flash site ---------------------------------------- Kirupa.com - Building a complete
site hyd-designs.com - PHP Nuke and Flash Animating 3D logo with Swift3D
---------------------------------------- http://flashmove.com/fsug/session/s...xpress/demo.htm
Prototypes ---------------------------------------- http://proto.layer51.com/ A huge list of
resources links ---------------------------------------- http://www.stranger.per.sg/ FLASH
TUTORIAL LINKS ---------------------------------------- whatdoiknow.org - Flash Presentatio....
Looking for digital, time, create, digital, time, flash,
|
|
Searching Video's for digital, time, create, digital, time, flash,
|
advertisement
|
|