1. Create a new flash file (Actionscript 3.0) and save it at clock_24.fla .
2. Rename “layer 1″ to “time”. Take the Text Tool and draw 3 dynamic text on the stage to display hours, minutes, seconds with respective instance names as : hours_t, minutes_t and seconds_t.
Create 2 static text to display colons (

that you insert between hours and minutes and between minutes and seconds. Align everything correctly.
3. To accomplish our “24 style” we need a special font. You can download one at www.dafont.com/fr/ds-digital.font. (Feel free to donate to the author.)
Install the font on your system.
4. Now set the property font of all the dynamic text to the font you’ve just installed and set their font size to something big like 150. Set the color to something near white : #F7F7F5.
5. To finish the 24 special effect we need to add a filter. Open the filters window and add some orangish glow.
Screenshot
6. So far we have created the appearance of the 24 clock. Now we need to add the actionscript code. To do so, create an “actions” layer and open the actions panel. Type the following code :
view source
print?
01 stage.addEventListener(Event.ENTER_FRAME,updateDate);
02
03 function updateDate(e:Event):void{
04 var date = new Date();
05
06 if (date.hours< 10){
07 hours_t.text = "0" + date.hours;
08 }
09 else {
10 hours_t.text = date.hours;
11 }
12
13 if (date.minutes< 10){
14 minutes_t.text = "0" + date.minutes;
15 }
16 else {
17 minutes_t.text = date.minutes;
18 }
19
20 if (date.seconds< 10){
21 seconds_t.text = "0" + date.seconds;
22 }
23 else {
24 seconds_t.text = date.seconds;
25 }
26 }
We add an ENTER_FRAME event listener to the stage so that every time an ENTER_FRAME event occured the time will be updated.
In the updateTime function we instantiate a Date variable. We use the properties hours, minutes and seconds of the class Date to display the time. Note that we check for each if the number is inferior to 10 and if so we add a zero like in a digital clock.1. Create a new flash file (Actionscript 3.0) and save it at clock_24.fla .
2. Rename “layer 1″ to “time”. Take the Text Tool and draw 3 dynamic text on the stage to display hours, minutes, seconds with respective instance names as : hours_t, minutes_t and seconds_t.
Create 2 static text to display colons (

that you insert between hours and minutes and between minutes and seconds. Align everything correctly.
3. To accomplish our “24 style” we need a special font. You can download one at www.dafont.com/fr/ds-digital.font. (Feel free to donate to the author.)
Install the font on your system.
4. Now set the property font of all the dynamic text to the font you’ve just installed and set their font size to something big like 150. Set the color to something near white : #F7F7F5.
5. To finish the 24 special effect we need to add a filter. Open the filters window and add some orangish glow.
Screenshot
6. So far we have created the appearance of the 24 clock. Now we need to add the actionscript code. To do so, create an “actions” layer and open the actions panel. Type the following code :
view source
print?
01 stage.addEventListener(Event.ENTER_FRAME,updateDate);
02
03 function updateDate(e:Event):void{
04 var date = new Date();
05
06 if (date.hours< 10){
07 hours_t.text = "0" + date.hours;
08 }
09 else {
10 hours_t.text = date.hours;
11 }
12
13 if (date.minutes< 10){
14 minutes_t.text = "0" + date.minutes;
15 }
16 else {
17 minutes_t.text = date.minutes;
18 }
19
20 if (date.seconds< 10){
21 seconds_t.text = "0" + date.seconds;
22 }
23 else {
24 seconds_t.text = date.seconds;
25 }
26 }
We add an ENTER_FRAME event listener to the stage so that every time an ENTER_FRAME event occured the time will be updated.
In the updateTime function we instantiate a Date variable. We use the properties hours, minutes and seconds of the class Date to display the time. Note that we check for each if the number is inferior to 10 and if so we add a zero like in a digital clock.1. Create a new flash file (Actionscript 3.0) and save it at clock_24.fla .
2. Rename “layer 1″ to “time”. Take the Text Tool and draw 3 dynamic text on the stage to display hours, minutes, seconds with respective instance names as : hours_t, minutes_t and seconds_t.
Create 2 static text to display colons (

that you insert between hours and minutes and between minutes and seconds. Align everything correctly.
3. To accomplish our “24 style” we need a special font. You can download one at www.dafont.com/fr/ds-digital.font. (Feel free to donate to the author.)
Install the font on your system.
4. Now set the property font of all the dynamic text to the font you’ve just installed and set their font size to something big like 150. Set the color to something near white : #F7F7F5.
5. To finish the 24 special effect we need to add a filter. Open the filters window and add some orangish glow.
Screenshot
6. So far we have created the appearance of the 24 clock. Now we need to add the actionscript code. To do so, create an “actions” layer and open the actions panel. Type the following code :
view source
print?
01 stage.addEventListener(Event.ENTER_FRAME,updateDate);
02
03 function updateDate(e:Event):void{
04 var date = new Date();
05
06 if (date.hours< 10){
07 hours_t.text = "0" + date.hours;
08 }
09 else {
10 hours_t.text = date.hours;
11 }
12
13 if (date.minutes< 10){
14 minutes_t.text = "0" + date.minutes;
15 }
16 else {
17 minutes_t.text = date.minutes;
18 }
19
20 if (date.seconds< 10){
21 seconds_t.text = "0" + date.seconds;
22 }
23 else {
24 seconds_t.text = date.seconds;
25 }
26 }
We add an ENTER_FRAME event listener to the stage so that every time an ENTER_FRAME event occured the time will be updated.
In the updateTime function we instantiate a Date variable. We use the properties hours, minutes and seconds of the class Date to display the time. Note that we check for each if the number is inferior to 10 and if so we add a zero like in a digital clock.1. Create a new flash file (Actionscript 3.0) and save it at clock_24.fla .
2. Rename “layer 1″ to “time”. Take the Text Tool and draw 3 dynamic text on the stage to display hours, minutes, seconds with respective instance names as : hours_t, minutes_t and seconds_t.
Create 2 static text to display colons (

that you insert between hours and minutes and between minutes and seconds. Align everything correctly.
3. To accomplish our “24 style” we need a special font. You can download one at www.dafont.com/fr/ds-digital.font. (Feel free to donate to the author.)
Install the font on your system.
4. Now set the property font of all the dynamic text to the font you’ve just installed and set their font size to something big like 150. Set the color to something near white : #F7F7F5.
5. To finish the 24 special effect we need to add a filter. Open the filters window and add some orangish glow.
Screenshot
6. So far we have created the appearance of the 24 clock. Now we need to add the actionscript code. To do so, create an “actions” layer and open the actions panel. Type the following code :
view source
print?
01 stage.addEventListener(Event.ENTER_FRAME,updateDate);
02
03 function updateDate(e:Event):void{
04 var date = new Date();
05
06 if (date.hours< 10){
07 hours_t.text = "0" + date.hours;
08 }
09 else {
10 hours_t.text = date.hours;
11 }
12
13 if (date.minutes< 10){
14 minutes_t.text = "0" + date.minutes;
15 }
16 else {
17 minutes_t.text = date.minutes;
18 }
19
20 if (date.seconds< 10){
21 seconds_t.text = "0" + date.seconds;
22 }
23 else {
24 seconds_t.text = date.seconds;
25 }
26 }
We add an ENTER_FRAME event listener to the stage so that every time an ENTER_FRAME event occured the time will be updated.
In the updateTime function we instantiate a Date variable. We use the properties hours, minutes and seconds of the class Date to display the time. Note that we check for each if the number is inferior to 10 and if so we add a zero like in a digital clock.1. Create a new flash file (Actionscript 3.0) and save it at clock_24.fla .
2. Rename “layer 1″ to “time”. Take the Text Tool and draw 3 dynamic text on the stage to display hours, minutes, seconds with respective instance names as : hours_t, minutes_t and seconds_t.
Create 2 static text to display colons (

that you insert between hours and minutes and between minutes and seconds. Align everything correctly.
3. To accomplish our “24 style” we need a special font. You can download one at www.dafont.com/fr/ds-digital.font. (Feel free to donate to the author.)
Install the font on your system.
4. Now set the property font of all the dynamic text to the font you’ve just installed and set their font size to something big like 150. Set the color to something near white : #F7F7F5.
5. To finish the 24 special effect we need to add a filter. Open the filters window and add some orangish glow.
Screenshot
6. So far we have created the appearance of the 24 clock. Now we need to add the actionscript code. To do so, create an “actions” layer and open the actions panel. Type the following code :
view source
print?
01 stage.addEventListener(Event.ENTER_FRAME,updateDate);
02
03 function updateDate(e:Event):void{
04 var date = new Date();
05
06 if (date.hours< 10){
07 hours_t.text = "0" + date.hours;
08 }
09 else {
10 hours_t.text = date.hours;
11 }
12
13 if (date.minutes< 10){
14 minutes_t.text = "0" + date.minutes;
15 }
16 else {
17 minutes_t.text = date.minutes;
18 }
19
20 if (date.seconds< 10){
21 seconds_t.text = "0" + date.seconds;
22 }
23 else {
24 seconds_t.text = date.seconds;
25 }
26 }
We add an ENTER_FRAME event listener to the stage so that every time an ENTER_FRAME event occured the time will be updated.
In the updateTime function we instantiate a Date variable. We use the properties hours, minutes and seconds of the class Date to display the time. Note that we check for each if the number is inferior to 10 and if so we add a zero like in a digital clock.1. Create a new flash file (Actionscript 3.0) and save it at clock_24.fla .
2. Rename “layer 1″ to “time”. Take the Text Tool and draw 3 dynamic text on the stage to display hours, minutes, seconds with respective instance names as : hours_t, minutes_t and seconds_t.
Create 2 static text to display colons (

that you insert between hours and minutes and between minutes and seconds. Align everything correctly.
3. To accomplish our “24 style” we need a special font. You can download one at www.dafont.com/fr/ds-digital.font. (Feel free to donate to the author.)
Install the font on your system.
4. Now set the property font of all the dynamic text to the font you’ve just installed and set their font size to something big like 150. Set the color to something near white : #F7F7F5.
5. To finish the 24 special effect we need to add a filter. Open the filters window and add some orangish glow.
Screenshot
6. So far we have created the appearance of the 24 clock. Now we need to add the actionscript code. To do so, create an “actions” layer and open the actions panel. Type the following code :
view source
print?
01 stage.addEventListener(Event.ENTER_FRAME,updateDate);
02
03 function updateDate(e:Event):void{
04 var date = new Date();
05
06 if (date.hours< 10){
07 hours_t.text = "0" + date.hours;
08 }
09 else {
10 hours_t.text = date.hours;
11 }
12
13 if (date.minutes< 10){
14 minutes_t.text = "0" + date.minutes;
15 }
16 else {
17 minutes_t.text = date.minutes;
18 }
19
20 if (date.seconds< 10){
21 seconds_t.text = "0" + date.seconds;
22 }
23 else {
24 seconds_t.text = date.seconds;
25 }
26 }
We add an ENTER_FRAME event listener to the stage so that every time an ENTER_FRAME event occured the time will be updated.
In the updateTime function we instantiate a Date variable. We use the properties hours, minutes and seconds of the class Date to display the time. Note that we check for each if the number is inferior to 10 and if so we add a zero like in a digital clock.1. Create a new flash file (Actionscript 3.0) and save it at clock_24.fla .
2. Rename “layer 1″ to “time”. Take the Text Tool and draw 3 dynamic text on the stage to display hours, minutes, seconds with respective instance names as : hours_t, minutes_t and seconds_t.
Create 2 static text to display colons (

that you insert between hours and minutes and between minutes and seconds. Align everything correctly.
3. To accomplish our “24 style” we need a special font. You can download one at www.dafont.com/fr/ds-digital.font. (Feel free to donate to the author.)
Install the font on your system.
4. Now set the property font of all the dynamic text to the font you’ve just installed and set their font size to something big like 150. Set the color to something near white : #F7F7F5.
5. To finish the 24 special effect we need to add a filter. Open the filters window and add some orangish glow.
Screenshot
6. So far we have created the appearance of the 24 clock. Now we need to add the actionscript code. To do so, create an “actions” layer and open the actions panel. Type the following code :
view source
print?
01 stage.addEventListener(Event.ENTER_FRAME,updateDate);
02
03 function updateDate(e:Event):void{
04 var date = new Date();
05
06 if (date.hours< 10){
07 hours_t.text = "0" + date.hours;
08 }
09 else {
10 hours_t.text = date.hours;
11 }
12
13 if (date.minutes< 10){
14 minutes_t.text = "0" + date.minutes;
15 }
16 else {
17 minutes_t.text = date.minutes;
18 }
19
20 if (date.seconds< 10){
21 seconds_t.text = "0" + date.seconds;
22 }
23 else {
24 seconds_t.text = date.seconds;
25 }
26 }
We add an ENTER_FRAME event listener to the stage so that every time an ENTER_FRAME event occured the time will be updated.
In the updateTime function we instantiate a Date variable. We use the properties hours, minutes and seconds of the class Date to display the time. Note that we check for each if the number is inferior to 10 and if so we add a zero like in a digital clock.1. Create a new flash file (Actionscript 3.0) and save it at clock_24.fla .
2. Rename “layer 1″ to “time”. Take the Text Tool and draw 3 dynamic text on the stage to display hours, minutes, seconds with respective instance names as : hours_t, minutes_t and seconds_t.
Create 2 static text to display colons (

that you insert between hours and minutes and between minutes and seconds. Align everything correctly.
3. To accomplish our “24 style” we need a special font. You can download one at www.dafont.com/fr/ds-digital.font. (Feel free to donate to the author.)
Install the font on your system.
4. Now set the property font of all the dynamic text to the font you’ve just installed and set their font size to something big like 150. Set the color to something near white : #F7F7F5.
5. To finish the 24 special effect we need to add a filter. Open the filters window and add some orangish glow.
Screenshot
6. So far we have created the appearance of the 24 clock. Now we need to add the actionscript code. To do so, create an “actions” layer and open the actions panel. Type the following code :
view source
print?
01 stage.addEventListener(Event.ENTER_FRAME,updateDate);
02
03 function updateDate(e:Event):void{
04 var date = new Date();
05
06 if (date.hours< 10){
07 hours_t.text = "0" + date.hours;
08 }
09 else {
10 hours_t.text = date.hours;
11 }
12
13 if (date.minutes< 10){
14 minutes_t.text = "0" + date.minutes;
15 }
16 else {
17 minutes_t.text = date.minutes;
18 }
19
20 if (date.seconds< 10){
21 seconds_t.text = "0" + date.seconds;
22 }
23 else {
24 seconds_t.text = date.seconds;
25 }
26 }
We add an ENTER_FRAME event listener to the stage so that every time an ENTER_FRAME event occured the time will be updated.
In the updateTime function we instantiate a Date variable. We use the properties hours, minutes and seconds of the class Date to display the time. Note that we check for each if the number is inferior to 10 and if so we add a zero like in a digital clock.1. Create a new flash file (Actionscript 3.0) and save it at clock_24.fla .
2. Rename “layer 1″ to “time”. Take the Text Tool and draw 3 dynamic text on the stage to display hours, minutes, seconds with respective instance names as : hours_t, minutes_t and seconds_t.
Create 2 static text to display colons (

that you insert between hours and minutes and between minutes and seconds. Align everything correctly.
3. To accomplish our “24 style” we need a special font. You can download one at www.dafont.com/fr/ds-digital.font. (Feel free to donate to the author.)
Install the font on your system.
4. Now set the property font of all the dynamic text to the font you’ve just installed and set their font size to something big like 150. Set the color to something near white : #F7F7F5.
5. To finish the 24 special effect we need to add a filter. Open the filters window and add some orangish glow.
Screenshot
6. So far we have created the appearance of the 24 clock. Now we need to add the actionscript code. To do so, create an “actions” layer and open the actions panel. Type the following code :
view source
print?
01 stage.addEventListener(Event.ENTER_FRAME,updateDate);
02
03 function updateDate(e:Event):void{
04 var date = new Date();
05
06 if (date.hours< 10){
07 hours_t.text = "0" + date.hours;
08 }
09 else {
10 hours_t.text = date.hours;
11 }
12
13 if (date.minutes< 10){
14 minutes_t.text = "0" + date.minutes;
15 }
16 else {
17 minutes_t.text = date.minutes;
18 }
19
20 if (date.seconds< 10){
21 seconds_t.text = "0" + date.seconds;
22 }
23 else {
24 seconds_t.text = date.seconds;
25 }
26 }
We add an ENTER_FRAME event listener to the stage so that every time an ENTER_FRAME event occured the time will be updated.
In the updateTime function we instantiate a Date variable. We use the properties hours, minutes and seconds of the class Date to display the time. Note that we check for each if the number is inferior to 10 and if so we add a zero like in a digital clock.