Create free MP3 ringtones for your cell phone. Upload Free Ringtones, 3gp Videos, Themes etc
Old 24-10-2008, 05:55 PM   #1
gooblaster
Senior Member
Rank 3
 
gooblaster's Avatar
 
Join Date: Jul 2008
Posts: 1,262
Reward Points: 210
gooblaster is a glorious beacon of lightgooblaster is a glorious beacon of lightgooblaster is a glorious beacon of lightgooblaster is a glorious beacon of lightgooblaster is a glorious beacon of light
Send a message via MSN to gooblaster Send a message via Yahoo to gooblaster
Default [Tutorial] How to make Flash Clock (swf)

[Tutorial] Make a Flash Clock

This tutorial is for phones which support swf images.

Things you will need: Adobe flash CS3

Lets get started.

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:
Code:
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.


To save:

File-> Publish settings-> Formats-> check only swf -> set the destination folder.
When you want to save,you don't press "save" or "save as" but "publish"
Remember to save it as an SWF file... Otherwise is will not work.




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.
Code:
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

Code:
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

Code:
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.
Code:
loadVariables("MP:",_root);
fscommand2 ("MP:", "TITLE");
fscommand2 ("MP:", "ARTIST");
fscommand2 ("MP:", "ALBUM");
You have just added a Now Playing Section

ATTENTION:
You must have Adobe Device installed OR YOU WILL NOT BE ABLE TO SEE THE CLOCK MOVE (Stuck at 99.99.99)

Even if it is stuck at 99.99.99, when you put it into your phone, it should work.
(Thanks to Silver for figuring out the problem.)
__________________

Last edited by gooblaster; 20-02-2010 at 12:48 PM.
gooblaster is offline   Reply With Quote
Old 24-10-2008, 07:10 PM   #2
ucoxz
Banned
Rank 0
 
Join Date: Dec 2007
Posts: 49
Reward Points: 0
ucoxz is an unknown quantity at this point
Default

nice tutorial..i'll still waiting for updates
ucoxz is offline   Reply With Quote
Old 25-10-2008, 02:03 AM   #3
viperver1
Senior Member
Rank 0
 
viperver1's Avatar
 
Join Date: May 2008
Posts: 101
Reward Points: 1
viperver1 is on a distinguished road
Default

This is quite handy. I just hope this might be great for my Nokia 6085, I try it and let everyone know.
__________________
"I just wanted someone to love, but something happened on the way to heaven" - Phil Collins (Something Happened on the Way to Heaven)
Phones my family owns: Nokia 6085, Motorola V360.
viperver1 is offline   Reply With Quote
Old 25-10-2008, 06:11 AM   #4
gooblaster
Senior Member
Rank 3
 
gooblaster's Avatar
 
Join Date: Jul 2008
Posts: 1,262
Reward Points: 210
gooblaster is a glorious beacon of lightgooblaster is a glorious beacon of lightgooblaster is a glorious beacon of lightgooblaster is a glorious beacon of lightgooblaster is a glorious beacon of light
Send a message via MSN to gooblaster Send a message via Yahoo to gooblaster
Default

Quote:
Originally Posted by viperver1 View Post
This is quite handy. I just hope this might be great for my Nokia 6085, I try it and let everyone know.
Ehs, but does your nokia phone support swf?
__________________
gooblaster is offline   Reply With Quote
Old 25-10-2008, 06:33 AM   #5
gooblaster
Senior Member
Rank 3
 
gooblaster's Avatar
 
Join Date: Jul 2008
Posts: 1,262
Reward Points: 210
gooblaster is a glorious beacon of lightgooblaster is a glorious beacon of lightgooblaster is a glorious beacon of lightgooblaster is a glorious beacon of lightgooblaster is a glorious beacon of light
Send a message via MSN to gooblaster Send a message via Yahoo to gooblaster
Default

Quote:
Originally Posted by ucoxz View Post
nice tutorial..i'll still waiting for updates
Yea thanx
i still have more stuff...
__________________
gooblaster is offline   Reply With Quote
Old 25-10-2008, 08:04 AM   #6
Emissary_of_Hatred
Senior Member
Rank 0
 
Emissary_of_Hatred's Avatar
 
Join Date: Mar 2008
Posts: 797
Reward Points: 4
Emissary_of_Hatred is a jewel in the roughEmissary_of_Hatred is a jewel in the rough
Default

can i make it in flash 8?
__________________
Gasp! Have I turned EMO? Nooo!
Emissary_of_Hatred is offline   Reply With Quote
Old 25-10-2008, 01:06 PM   #7
viperver1
Senior Member
Rank 0
 
viperver1's Avatar
 
Join Date: May 2008
Posts: 101
Reward Points: 1
viperver1 is on a distinguished road
Default

Quote:
Originally Posted by gooblaster View Post
Ehs, but does your nokia phone support swf?
One thing, yes. I've run SWF's as my screensavers and still, they work. Even I had clocks running as screensavers.
__________________
"I just wanted someone to love, but something happened on the way to heaven" - Phil Collins (Something Happened on the Way to Heaven)
Phones my family owns: Nokia 6085, Motorola V360.
viperver1 is offline   Reply With Quote
Old 25-10-2008, 03:23 PM   #8
gooblaster
Senior Member
Rank 3
 
gooblaster's Avatar
 
Join Date: Jul 2008
Posts: 1,262
Reward Points: 210
gooblaster is a glorious beacon of lightgooblaster is a glorious beacon of lightgooblaster is a glorious beacon of lightgooblaster is a glorious beacon of lightgooblaster is a glorious beacon of light
Send a message via MSN to gooblaster Send a message via Yahoo to gooblaster
Default

Quote:
Originally Posted by haha39 View Post
can i make it in flash 8?
No, u can make it in Flash 1.1...
__________________
gooblaster is offline   Reply With Quote
Old 25-10-2008, 06:13 PM   #9
ucoxz
Banned
Rank 0
 
Join Date: Dec 2007
Posts: 49
Reward Points: 0
ucoxz is an unknown quantity at this point
Default

Quote:
Originally Posted by gooblaster View Post
Yea thanx
i still have more stuff...
ucoxz is offline   Reply With Quote
Old 26-10-2008, 02:37 AM   #10
Emissary_of_Hatred
Senior Member
Rank 0
 
Emissary_of_Hatred's Avatar
 
Join Date: Mar 2008
Posts: 797
Reward Points: 4
Emissary_of_Hatred is a jewel in the roughEmissary_of_Hatred is a jewel in the rough
Default

Quote:
Originally Posted by gooblaster View Post
No, u can make it in Flash 1.1...
i'm gonna download the latest version then
__________________
Gasp! Have I turned EMO? Nooo!
Emissary_of_Hatred is offline   Reply With Quote
Reply

Tags
se flash stuff

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:32 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
©2008 Mobiles24.com