IPB
> Make A Flash Clock, also included Date
sp0rtskiller03
post Nov 6 2010, 05:26 PM
Post #1



Group Icon

Group: Rising Themer
Posts: 3147
Joined: 10-February 08
From: Cebu City, Philippines
Member No.: 2678012



hi there m9, i just found out how to make a flash clock and thanks to this tutorial that i found in the net. i just want to share this to you so that you'll not have problem in making a flash clock.


Make a Flash Clock

This tutorial is for phones which support swf images.

Things you will need: Adobe flash CS3 (http://www.download.com/Adobe-Flash-Professional/3000-6676_4-10018718.html)

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.

(IMG:http://i266.photobucket.com/albums/ii266/gooblaster/1-18.gif)

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.

(IMG:http://i266.photobucket.com/albums/ii266/gooblaster/2.gif)

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:
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;}


(IMG:http://i266.photobucket.com/albums/ii266/gooblaster/3.gif)

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

(IMG:http://i266.photobucket.com/albums/ii266/gooblaster/4.gif)

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

(IMG:http://i266.photobucket.com/albums/ii266/gooblaster/5.gif)

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.
fscommand2 ("GetLocaleLongDate", "DATE");

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

You have just inserted the date.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
idias_1
post Nov 6 2010, 06:53 PM
Post #2





Group: Premium Publisher
Posts: 1525
Joined: 9-January 09
From: Pulau Temasek
Member No.: 3896707



Thanks for the very detailed tutorial Sports bro (IMG:style_emoticons/default/thumbsup.gif) (IMG:style_emoticons/default/clapping.gif)

I definitely will try to make some myself (IMG:style_emoticons/default/thumbsup.gif)

Really appreciate it (IMG:style_emoticons/default/thumbsup.gif) (IMG:style_emoticons/default/wub.gif)
Go to the top of the page
 
+Quote Post

Posts in this topic
- sp0rtskiller03   Make A Flash Clock   Nov 6 2010, 05:26 PM
- - idias_1   Thanks for the very detailed tutorial Sports bro ...   Nov 6 2010, 06:53 PM
- - sp0rtskiller03   my pleasure idias.   Nov 6 2010, 09:13 PM
- - c2d22   Great tutorial thanks for this it was my luck that...   Nov 6 2010, 09:34 PM
- - Yoyocell   wow Sporty its very useful Mate thanks for sharin...   Nov 7 2010, 12:09 AM
|- - qg2   WoW Bro 9c share... tnx for share it with us....   Nov 12 2010, 08:59 AM
- - ALJarayda   WoW Bro 9c share... thx for share it with us....   Nov 17 2010, 01:05 AM
- - zeinabnaderian   man i was wondering how to make a flash clock than...   Dec 18 2010, 11:27 PM
- - novchanthol   Another great job and very useful. Thank Sporty ...   Dec 19 2010, 12:23 AM
- - eliasjan   QUOTE (sp0rtskiller03 @ Nov 7 2010, 04:56...   Jan 30 2011, 10:31 PM
- - akhilnn   thx   May 27 2011, 04:02 AM
- - anil8664   Thanx bro   Jun 8 2011, 03:45 AM
- - Aleena143   useful tutorial.thanks.   Aug 29 2011, 03:33 AM
- - san-sagar   wow Sporty its very useful Mate   Oct 6 2011, 11:41 AM
- - nikz123   nice tutorial.   Oct 6 2011, 01:20 PM
- - shalvinCalicut   RE: Make A Flash Clock   Nov 28 2011, 12:42 PM


Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 19th May 2013 - 11:45 PM