Tutorial | Creating A Flash Lite Clock, :) |
![]() ![]() |
Tutorial | Creating A Flash Lite Clock, :) |
2007-08-22 19:51
Post
#1
|
|
![]() Sensoid? Group: Super Moderators Posts: 4,716 Joined: 2007-03-10 From: The Netherlands Member No.: 25,830 Mobile: HTC HERO, HTC Magic, W910, W580, W300 Tutorials Submitted: 7 |
Creating a Flash Lite 1.1 clock!
Hello everyone! On many requests I made this tutorial for creating a flash lite screensaver/wallpaper with a clock! Things you will need: -Adobe Flash -Inspiration BASIC CLOCK 1) Create a new flash document in resolution 176*220 (w810i w550i w600i) or 240*320 (w580i s500i w880i w850i w830i). 2) In the properties panel set the publish settings to Flash Lite 1.1 3) Set the background colour to any colour you want, most of you will set a nice picture in the background anyway. 4) Add a new layer and call it Time. 5) Make a textfield on the Time layer and type 99:99:99 and set the var to TIME (the numbers dont matter, you can type anything you want) ![]() 6) Drag the box as far as needed till all text shows up. 7) Make a new layer and call it Action Layer. 8) Open up the actionscript panel and paste this code on frame 1 of the Action Layer: 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;} 9) Go to the 2nd frame of the Time layer and press F5. 10) Go to the 2nd frame of the Time layer and press F5. Press ctrl+ENTER and see Final timeline layout: ![]() ADDING A WALLPAPER! 1) Open the just created document 2) Go to the background layer and press CTRL+R 3) Import the picture you wish (option! When the wallpaper aint the right size, use the Tranform tool to resize it to the wished format ADDING A DATE! 1) Open ur just created document. 2) Make a new layer and call it Date, type any date you wish (like 99-aug-29) 3) Set the var of the Date layer to date 4) On frame 1 of the Action Layer paste this code above the previous code: CODE fscommand2 ("GetLocaleLongDate", "DATE"); 5) Go to the 2nd frame of the Date layer and press F5 Done! EMBEDDING A FONT! 1) Open the last created document 2) Select a textbox you created (the one with time or date) 3) Click "embed" in the properties panel ![]() 4) select the line 0-9 and type : in the box under it ![]() 5) Press ok! ADDING NOW PLAYING SECTION! (Thanks AKSHAY for this) 1.Create a new layer Music or XYZ. 2. Create three dynamic text boxes. 3. Set each text box VAR as TIME, ARTIST, ALBUM respectively. 4. Then add this code to the ActionScript layer or Same Music layer. CODE loadVariables("MP:",_root); fscommand2 ("MP:", "TITLE"); fscommand2 ("MP:", "ARTIST"); fscommand2 ("MP:", "ALBUM"); Adding battery level, signal strength and volum level! (Thanks DEATHNITE for this section 1) Battery level CODE batt = fscommand2("GetBatteryLevel"); batt_txt = batt add " %"; setProperty("batt_fill", _xscale, batt); 2) Signal level CODE sig = fscommand2("GetSignalLevel"); sig_txt = sig add " %"; setProperty("batt_fill", _xscale, batt); /:sigframe = int(sig / 100 * 5 + 0.5); tellTarget("sig_level") { gotoAndStop(eval("/:sigframe") + 1); } // End of TellTarget 3) Volume level CODE vol = fscommand2("GetVolumeLevel"); vol_txt = vol add " %"; Done! I hope you had fun! This post has been edited by Photographer: 2008-06-12 09:40 -------------------- My work: Bright future FL 2.x Released October 22nd | Flash Lite 2.x Vista Sidebar | Vista transformation DB2020 | |
|
|
|
2007-08-22 20:04
Post
#2
|
|
![]() Feel your SE-NSEs! Group: Super Moderators Posts: 6,164 Joined: 2007-06-03 From: El' Denmark'O! Member No.: 45,889 Mobile: Idou (iDoYou) Tutorials Submitted: -1 |
Hey Mate!!
Very good! I was looking for this, great tutorial. I guess there will be 1000 clocks in a week This post has been edited by Mr. Thunderbird: 2007-08-22 20:05 -------------------- |
|
|
|
2007-08-22 20:08
Post
#3
|
|
![]() Sensoid? Group: Super Moderators Posts: 4,716 Joined: 2007-03-10 From: The Netherlands Member No.: 25,830 Mobile: HTC HERO, HTC Magic, W910, W580, W300 Tutorials Submitted: 7 |
thx
Have fun *still adding stuff* -------------------- My work: Bright future FL 2.x Released October 22nd | Flash Lite 2.x Vista Sidebar | Vista transformation DB2020 | |
|
|
|
2007-08-22 21:55
Post
#4
|
|
![]() n00b Group: Members Posts: 9 Joined: 2007-05-05 Member No.: 39,387 |
Great tutorial.. thanx
this is my first flash wallpaper
Attached File(s)
|
|
|
|
2007-08-23 11:12
Post
#5
|
|
![]() Sensoid? Group: Super Moderators Posts: 4,716 Joined: 2007-03-10 From: The Netherlands Member No.: 25,830 Mobile: HTC HERO, HTC Magic, W910, W580, W300 Tutorials Submitted: 7 |
oooh nice
1) Double click the picture icon (to the left of the name of the background in the library) 2) Mess with the settings -------------------- My work: Bright future FL 2.x Released October 22nd | Flash Lite 2.x Vista Sidebar | Vista transformation DB2020 | |
|
|
|
2007-08-23 19:14
Post
#6
|
|
![]() n00b Group: Members Posts: 9 Joined: 2007-05-05 Member No.: 39,387 |
I have change the compression of movie, now it's to 100
Attached File(s)
vibrate_clock.zip ( 121.75K )
Number of downloads: 848
boubble_shade_clock2.zip ( 28.14K )
Number of downloads: 438 |
|
|
|
2007-08-24 07:48
Post
#7
|
|
|
Padawan ![]() Group: Members Posts: 37 Joined: 2007-08-19 From: Nederland, Gelderland, Epe Member No.: 61,081 Mobile: w810I, w580I |
verry nice! just need to try this out
thanks for this photographer! -------------------- ![]() |
|
|
|
2007-08-24 15:58
Post
#8
|
|
![]() Sensoid? Group: Super Moderators Posts: 4,716 Joined: 2007-03-10 From: The Netherlands Member No.: 25,830 Mobile: HTC HERO, HTC Magic, W910, W580, W300 Tutorials Submitted: 7 |
My pleasure
Good job on those wallpapers, paky! -------------------- My work: Bright future FL 2.x Released October 22nd | Flash Lite 2.x Vista Sidebar | Vista transformation DB2020 | |
|
|
|
2007-08-25 10:26
Post
#9
|
|
|
n00b Group: Members Posts: 1 Joined: 2007-08-25 Member No.: 62,558 |
hey..i put one of ur clock on my nokia 6234 but the clock dont work
...why? |
|
|
|
2007-08-25 11:42
Post
#10
|
|
![]() Feel your SE-NSEs! Group: Super Moderators Posts: 6,164 Joined: 2007-06-03 From: El' Denmark'O! Member No.: 45,889 Mobile: Idou (iDoYou) Tutorials Submitted: -1 |
hey..i put one of ur clock on my nokia 6234 but the clock dont work ...why? Because this is a SonyEricsson forum -------------------- |
|
|
|
2007-08-25 14:06
Post
#11
|
|
![]() Non-se-nse ![]() ![]() ![]() Group: Members Posts: 127 Joined: 2007-01-13 From: Middle of Nowhere Member No.: 10,878 Mobile: W910i, W810i, 2xV640i, HTC Magic |
haha, here comes my first flash wallpaper, looks better with the theme i got resized.
This post has been edited by deathnite: 2008-01-12 12:34
Attached File(s)
alcurniad_clock.zip ( 38.85K )
Number of downloads: 324
Everchanging_DayAndNight_Resized.zip ( 82.1K )
Number of downloads: 419-------------------- W810i R4EA031 | W910i R1FA037 | V640i R1EA030 | HTC Magic | Nokia 5800
Bluetooth Watch MBW-150 Classic Edition PSP Slim CFW 5.00 M33-6 PC: Intel i7 920 | 6GB DDR3 1600 | NVIDIA GTX 260 | 2x26" LCD Samsung T260 | Razer Mamba OS: Windows XP, Windows Vista Ultimate SP2, Windows 7 Ultimate, Ubuntu 9.10, Mac OS X Snow Leopard 10.6 |
|
|
|
2007-08-26 02:28
Post
#12
|
|
![]() SVP Group: VIP Posts: 1,150 Joined: 2006-09-21 From: Richmond, KY, USA Member No.: 5,940 Mobile: W902 + 8GB M2 |
Quick question. Do these work 'straight from the download'? Do I need to upload any .swf files and such?
~Ibrahim~ -------------------- SE W902
C2D E6600 @ ~3.5GHz,4GB of DDR2-800, 8800GTS 640MB @ 648/2016, Western Digital 640GB, CM Stacker 830, Vista Ultimate 64-bit: Overdrive PC Core2.SLI-Took 5 years to save up for this bad boy! |
|
|
|
2007-08-28 19:03
Post
#13
|
|
![]() Sensoid? Group: Super Moderators Posts: 4,716 Joined: 2007-03-10 From: The Netherlands Member No.: 25,830 Mobile: HTC HERO, HTC Magic, W910, W580, W300 Tutorials Submitted: 7 |
you need to upload the downloaded .swf into the images folder of ur phone
-------------------- My work: Bright future FL 2.x Released October 22nd | Flash Lite 2.x Vista Sidebar | Vista transformation DB2020 | |
|
|
|
2007-08-28 20:59
Post
#14
|
|
![]() SVP Group: VIP Posts: 1,150 Joined: 2006-09-21 From: Richmond, KY, USA Member No.: 5,940 Mobile: W902 + 8GB M2 |
you need to upload the downloaded .swf into the images folder of ur phone That's what I thought. Thanks, they look pretty awesome! ~Ibrahim~ -------------------- SE W902
C2D E6600 @ ~3.5GHz,4GB of DDR2-800, 8800GTS 640MB @ 648/2016, Western Digital 640GB, CM Stacker 830, Vista Ultimate 64-bit: Overdrive PC Core2.SLI-Took 5 years to save up for this bad boy! |
|
|
|
2007-08-29 14:29
Post
#15
|
|
|
Padawan ![]() Group: Members Posts: 36 Joined: 2007-02-04 Member No.: 17,274 |
I can use Flash wallpapers on my w600 =(
Btw, good work Photographer |
|
|
|
2007-09-01 02:05
Post
#16
|
|
![]() Angus Group: VIP Posts: 1,856 Joined: 2007-05-04 From: Brazil - Rio de Janeiro Member No.: 39,056 Mobile: W580i | W810i | W880i | W200a |
Congrats, great nub tutorials
-------------------- ![]() ![]() |
|
|
|
2007-09-01 04:25
Post
#17
|
|
|
Non-se-nse ![]() ![]() ![]() Group: Members Posts: 234 Joined: 2007-04-29 From: Guadeloupe Member No.: 37,894 Mobile: W810i |
here is my first try Vistal.swf 176x220
This post has been edited by missawackie: 2007-09-01 04:28
Attached File(s)
-------------------- ![]() W810i R4EA031 Toshara loud acoustics, Sarmad camdriver customized startup n shut down images/sounds flash menu and wallpaper, black battery and signal indicator many working patches |
|
|
|
2007-09-01 14:16
Post
#18
|
|
![]() Angus Group: VIP Posts: 1,856 Joined: 2007-05-04 From: Brazil - Rio de Janeiro Member No.: 39,056 Mobile: W580i | W810i | W880i | W200a |
Nince job missawackie
-------------------- ![]() ![]() |
|
|
|
2007-09-01 16:08
Post
#19
|
|
![]() Sensoid? Group: Super Moderators Posts: 4,716 Joined: 2007-03-10 From: The Netherlands Member No.: 25,830 Mobile: HTC HERO, HTC Magic, W910, W580, W300 Tutorials Submitted: 7 |
Thats pretty lovely missawacky!!!
-------------------- My work: Bright future FL 2.x Released October 22nd | Flash Lite 2.x Vista Sidebar | Vista transformation DB2020 | |
|
|
|
2007-09-01 17:15
Post
#20
|
|
|
Non-se-nse ![]() ![]() ![]() Group: Members Posts: 234 Joined: 2007-04-29 From: Guadeloupe Member No.: 37,894 Mobile: W810i |
thks to Photographer for the tutorial
-------------------- ![]() W810i R4EA031 Toshara loud acoustics, Sarmad camdriver customized startup n shut down images/sounds flash menu and wallpaper, black battery and signal indicator many working patches |
|
|
|
![]() ![]() |