bossxd BANNED
Number of posts : 21 Location : usa Points : 64 Character : Noname GunZ Exp (nub/pro) : Registration date : 2009-04-12 Reputation : 0
| Subject: Coding TuT 2 Sun 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 | |
|
Snake Retired Staff
Number of posts : 3572 Age : 31 Location : UK Points : 3473 Character : GunZ Exp (nub/pro) : Registration date : 2009-02-02 Reputation : 27
| Subject: Re: Coding TuT 2 Sun Apr 12, 2009 1:56 pm | |
| | |
|
ProAim Head GM
Number of posts : 1364 Age : 28 Location : Gunz^^ Points : 1647 Trial GM days : -- Character : ProAim,NinaRox,Dialga GunZ Exp (nub/pro) : Registration date : 2009-03-06 Reputation : 19
| Subject: Re: Coding TuT 2 Sun Apr 12, 2009 2:36 pm | |
| | |
|
Tittenfee Retired Staff
Warnings : 2.99
Number of posts : 2522 Age : 30 Location : Austria, Vienna Points : 2583 Character : Tittenfee, _NPC_ GunZ Exp (nub/pro) : Registration date : 2009-01-22 Reputation : 22
| Subject: Re: Coding TuT 2 Sun Apr 12, 2009 2:54 pm | |
| heh cool. i dont understand that coding but i know how to code java | |
|
TheGod Kore
Number of posts : 1194 Location : Behind you Points : 1087 Character : Demantor
God GunZ Exp (nub/pro) : Registration date : 2008-11-19 Reputation : -9
| Subject: Re: Coding TuT 2 Sun Apr 12, 2009 3:43 pm | |
| seems like very easy to code this, nice,, ty | |
|
dukes11 Donor
Number of posts : 24 Location : canada Points : 53 Total Coins Purchased : Unknown Character : Sericol GunZ Exp (nub/pro) : Registration date : 2009-06-20 Reputation : 0
| Subject: Re: Coding TuT 2 Fri Jul 10, 2009 10:27 pm | |
| demantor u find everything ez ur to smart Microsoft VB is the way to go | |
|
Sponsored content
| Subject: Re: Coding TuT 2 | |
| |
|