zedge ad

[Tutorial] Make a Flash Clock



Aseer_Alro7

avatar

Joined: 13 May 07
From: Iraq
Posts: 1332

Post #11 November 2009, 05:55 
hi guys
i know every one want's to learn how to make flash theme

This tutorial is for phones which support swf images.

you need Adobe flash cs 2 or 3 or 4 Professional

http://download.cnet.com/Adobe-Flash-Professional/3000-6676_4-10018718.html

Lets get started.

In the name of God the Merciful


Step 1) Create a new flash document, set the

resolution as your phones resolution.

(Etc. 176x220/240x320)

(If you want to set your own picture as the

background, press Ctrl + R, if the picture isnt the

correct size, use the transform tool to resize it.)





Step 2) Click on Publish:Settings.

Step 3) Click on the Flash tab and change the version

to Flash Lite 1.1.



Step 4) Add a new layer and name it Time.( To add a

layer, right click on your first layer and click

Insert Layer.)

Step 5) Add a textfield to the layer.

Step 6) Type 99.99.99 in the textfield.

Step 7) Set the Text to Dynamic text.

Step 8) Type TIME in the VAR box.



Step 9) Create a new layer and name it Action Layer

Step 10) Right click on the first frame of Action Layer

Step 11) Click on Actions

Step 12) Copy and paste this code into the box:

Post quote:

fscommand2("GetLocaleTime", "TIME");

TIME_SEC = fscommand2("GetTimeSeconds");
// add leading 0 to hours
if (h<10) {h="0"+h;};

// add leading 0 to seconds
if (s<10) {s="0"+s;};

// add leading 0 to minutes
if (min<10) {min="0"+min;}





Step 13)Click on the first frame of the layer Time and press F5.




Step 14) Now press Ctrl + Enter to get a preview of your new swf clock wallpaper.




There, you have just finished your flash clock.

How to add a date:
Step 1) Make a new layer and name it Date

Step 2) Do steps 5 and 7 of the main tutorial.

Step 3) Type in the date like this: 2008-Nov-24

Step 4) Type in DATE in the VAR box.

Step 5) On frame 1 of the Action Layer, paste the below code above the previous code.

Post quote:

fscommand2 ("GetLocaleLongDate", "DATE");


Step 6) Now go to the 2nd frame of the Date layer and press F5.

You have just inserted the date.

How to add battery level bar:

Step 1) Make a new layer called battery

Step 2) Paste the below code above the code in the action layer

Post quote:

batt = fscommand2("GetBatteryLevel");
batt_txt = batt add " %";
setProperty("batt_fill", _xscale, batt);


Step 3) Go to the 2nd frame of the battery layer and press F5.

You have just added the battery level bar.


How to add the Volume Level Indicator:

Step 1) Make a new layer called Volume

Step 2) Paste the below code above the code in the action layer

Post quote:

vol = fscommand2("GetVolumeLevel");
vol_txt = vol add " %";


Step 3) Go to the 2nd frame of the Volume layer and press F5.

You have just added the Volume Level Indicator."

How to add a Now Playing Section


Step 1) Create a new layer Music.
Step 2) Create three dynamic text boxes.
Step 3) Set each text box's VAR as TIME, ARTIST, ALBUM respectively.
Step 4) Then add the below code to the Action layer or Music layer.

Post quote:

loadVariables("MP:",_root);
fscommand2 ("MP:", "TITLE");
fscommand2 ("MP:", "ARTIST");
fscommand2 ("MP:", "ALBUM");


You have just added a Now Playing Section

abhijithvm

avatar

Joined: 12 Oct 08
From: India
Posts: 340

Post #21 November 2009, 06:39 
ummmm....
not bad.. u hv good knowledge in flash uh....
but thr r many simple progrms dat allows 2 create flash clock....

Aseer_Alro7

avatar

Joined: 13 May 07
From: Iraq
Posts: 1332

Post #31 November 2009, 11:11 
no .. not good but i try to improving .. i found this tutorial and i hope it's useful

anyway this tutorial about adobe flash

Milneel21

avatar

Joined: 5 Oct 09
From: India
Posts: 24

Post #4Today, 20:14 
Thanx For This Wonderful Info....
But Its Only For 30Days Period Software Dont You Have A Free Software....

This post has been edited 1 times. The last edit took place Today, 20:18.

Miananas5

avatar

Joined: 6 Jan 08
From: Pakistan
Posts: 15

Post #5Today, 23:53 
It is hard way to make flash themes or clocks.

Simlpy visit www.ownskin.com n make flash themes and clocks in very easy way.

 This topic has 5 posts, spanning 1 page.