CT GunZ Server
Would you like to react to this message? Create an account in a few clicks or log in to continue.
CT GunZ Server

CT GunZ EN-Forums
 
HomeHome  PortalPortal  Latest imagesLatest images  SearchSearch  RegisterRegister  Ger Forums  GunZ Register  Server  VOTE please  Be Donator  Download CTGunZ  Log inLog in  

 

 Coding TuT 2

Go down 
+2
Snake
bossxd
6 posters
AuthorMessage
bossxd
BANNED
BANNED
bossxd


Male

Number of posts : 21
Location : usa
Points : 64
Character : Noname
GunZ Exp (nub/pro) :
Coding TuT 2 Left_bar_bleue0 / 1000 / 100Coding TuT 2 Right_bar_bleue

Registration date : 2009-04-12
Reputation : 0


Coding TuT 2 Empty
PostSubject: Coding TuT 2   Coding TuT 2 EmptySun Apr 12, 2009 11:50 am

im so happy because im the first one who post here

This is some coding tut (EaSy)


Analogue Flash Clock

=Digital Clock=

==Starting off==
This tutorial will show you how to create a Digital flash clock in AS2.

==Step 1==

Open a new project with Actionscript 2.
Rename the 1st layer to DClock.
Add any picture for a background you like by clicking File> Import > Import to stage.

==Step 2==

Select your newly created picture and press F8, then call it "Dclock" and select it as a movie clip.
Now double click your picture and you will enter its timeline.

==Step 3==

Create 2 layers, Respectively named "Time" and "actions".
Select the Time layer and drag a text box on it. The text box must be changed to "Dynamic text", leave it blank.
Name the instance of the box "clock_txt", and select what kind of font, color and size you want.

==Step 4==

Select the action layer and in the actions box (F9) type in the following code:
Code:
time=new Date(); // time object
var seconds = time.getSeconds()
var minutes = time.getMinutes()
var hours = time.getHours()
if (hours12){
hours = hours - 12;
}
if(hours


Last edited by bossxd on Tue Apr 14, 2009 10:36 am; edited 2 times in total
Back to top Go down
Snake
Retired Staff
Snake


Male

Number of posts : 3572
Age : 31
Location : UK
Points : 3473
Character : Coding TuT 2 Snake11copy-1
GunZ Exp (nub/pro) :
Coding TuT 2 Left_bar_bleue99 / 10099 / 100Coding TuT 2 Right_bar_bleue

Registration date : 2009-02-02
Reputation : 27


Coding TuT 2 Empty
PostSubject: Re: Coding TuT 2   Coding TuT 2 EmptySun Apr 12, 2009 1:56 pm

Nice.
Back to top Go down
ProAim
Head GM
Head GM
ProAim


Male

Number of posts : 1364
Age : 28
Location : Gunz^^
Points : 1647
Trial GM days : --
Character : ProAim,NinaRox,Dialga
GunZ Exp (nub/pro) :
Coding TuT 2 Left_bar_bleue99 / 10099 / 100Coding TuT 2 Right_bar_bleue

Registration date : 2009-03-06
Reputation : 19


Coding TuT 2 Empty
PostSubject: Re: Coding TuT 2   Coding TuT 2 EmptySun Apr 12, 2009 2:36 pm

yea nice
Back to top Go down
Tittenfee
Retired Staff
Tittenfee


Warnings : 2.99
Male

Number of posts : 2522
Age : 30
Location : Austria, Vienna
Points : 2583
Character : Tittenfee, _NPC_
GunZ Exp (nub/pro) :
Coding TuT 2 Left_bar_bleue69 / 10069 / 100Coding TuT 2 Right_bar_bleue

Registration date : 2009-01-22
Reputation : 22


Coding TuT 2 Empty
PostSubject: Re: Coding TuT 2   Coding TuT 2 EmptySun Apr 12, 2009 2:54 pm

heh cool. i dont understand that coding but i know how to code java Razz
Back to top Go down
TheGod
Kore
Kore
TheGod


Male

Number of posts : 1194
Location : Behind you
Points : 1087
Character : Demantor
God
GunZ Exp (nub/pro) :
Coding TuT 2 Left_bar_bleue60 / 10060 / 100Coding TuT 2 Right_bar_bleue

Registration date : 2008-11-19
Reputation : -9


Coding TuT 2 Empty
PostSubject: Re: Coding TuT 2   Coding TuT 2 EmptySun Apr 12, 2009 3:43 pm

seems like very easy to code this, nice,, ty
Back to top Go down
dukes11
Donor
dukes11


Male

Number of posts : 24
Location : canada
Points : 53
Total Coins Purchased : Unknown
Character : Sericol
GunZ Exp (nub/pro) :
Coding TuT 2 Left_bar_bleue70 / 10070 / 100Coding TuT 2 Right_bar_bleue

Registration date : 2009-06-20
Reputation : 0


Coding TuT 2 Empty
PostSubject: Re: Coding TuT 2   Coding TuT 2 EmptyFri Jul 10, 2009 10:27 pm

demantor u find everything ez Very Happy ur to smart Smile
Microsoft VB is the way to go Razz
Back to top Go down
Sponsored content





Coding TuT 2 Empty
PostSubject: Re: Coding TuT 2   Coding TuT 2 Empty

Back to top Go down
 
Coding TuT 2
Back to top 
Page 1 of 1
 Similar topics
-
» Coding TuT 11
» Coding TuT 12
» Coding tut
» Coding TuT 3
» Coding TuT 4

Permissions in this forum:You cannot reply to topics in this forum
CT GunZ Server :: Basket-
Jump to: