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:
- Adobe Flash CS5 (Download from here)
- Wallpaper (Your phone resolution.For Eg:240*320)
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
}
No comments:
Post a Comment