Page 1 of 6 123 ... LastLast
Results 1 to 10 of 55
  1. 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: Log in to see links

    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 01:48 PM.

  2. #2

    Default

    nice tutorial..i'll still waiting for updates

  3. Default

    This is quite handy. I just hope this might be great for my Nokia 6085, I try it and let everyone know.

  4. Default

    Quote Originally Posted by viperver1 Log in to see links
    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?

  5. Default

    Quote Originally Posted by ucoxz Log in to see links
    nice tutorial..i'll still waiting for updates
    Yea thanx
    i still have more stuff...

  6. Default

    can i make it in flash 8?

  7. Default

    Quote Originally Posted by gooblaster Log in to see links
    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.

  8. Default

    Quote Originally Posted by haha39 Log in to see links
    can i make it in flash 8?
    No, u can make it in Flash 1.1...

  9. #9

    Default

    Quote Originally Posted by gooblaster Log in to see links
    Yea thanx
    i still have more stuff...

  10. Default

    Quote Originally Posted by gooblaster Log in to see links
    No, u can make it in Flash 1.1...
    i'm gonna download the latest version then

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •