Create a FlashLite Wallpaper(Digital Clock)in Flash CS5(With Flash CS5 Download Link)

Hi Friends,today im gonna show how to Create a Flash lite wallpaper for Nokia S40 Moblies.Themes with Flashlite wallpaper also looks awesome.Before Create the Clock note that you have the following things:
  1. Adobe Flash CS5 (Download from here)
  2. Wallpaper (Your phone resolution.For Eg:240*320)
Scripts for Digital Clock:


Clock code:
onClipEvent (enterFrame) {
myTime = new Date();
nMinutes = myTime.getMinutes();
nHours = myTime.getHours();
if (nHours>=12) {
ampm = "pm";
} else {
ampm = "am";
}
if (nHours>=13) {
nHours = nHours-12;
}
    if (nHours < 10) {
        nHours = "0"+nHours;
    }
if (length(nMinutes) == 1) {
nMinutes = "0"+nMinutes;
}
clock = nHours+ ":" +nMinutes
}

AmPm Code:
onClipEvent (enterFrame) {
myTime = new Date();
nMinutes = myTime.getMinutes();
nHours = myTime.getHours();
if (nHours>=12) {
ampm = "pm";
} else {
ampm = "am";
}
if (nHours>=13) {
nHours = nHours-12;
}
    if (nHours < 10) {
        nHours = "0"+nHours;
    }
if (length(nMinutes) == 1) {
nMinutes = "0"+nMinutes;
}
ampm = ampm
}


    If you have any doubts regarding the tutorial them hit a comment below

    Category:

    No comments:

    Post a Comment