myForum Lasyk Networks Upload at Lasyk Networks
REGISTER NOW
FAQ
Go Back   myForum > Sony Ericsson > Themes (240x320)


New! Use your Facebook, Google, AIM & Yahoo accounts to securely log into this site, click logo to login  
Reply
 
Thread Tools
Old 01-15-2008   #1
Parano!d
Elite Theme Creator
Lasyk Elite Member
 
Parano!d's Avatar
 
Join Date: Apr 2007
Location: India
Posts: 2,374
Tutotial:How To Make Shake Controlled Wallpaper(SE K850i & W910i compatible)

As the title says,
HOW TO MAKE SHAKE CONTROLLED WALLPAPER(W910 & K850)
before i start,i would give full credit to
www.trekker-reactor.isq-networks-server.com ;for this tutorial
and this is extract

Used script:
Quote:
fscommand2("ExtendBacklightDuration", 30);
fscommand2("FullScreen");
onEnterFrame = function () {
loadVariables("accelerometer://data", _root);
if (accX>1500) {
imager.play();
}
}
displayDevice = substring(eval("/:$version"), 0, 2) == "FL" ? "phone" : "pc";
if (displayDevice == "phone") {nextButton._visible=false;}
Code explanation:
As every other animation that goes on a mobile phone this one has Extend Backlight Duration (to 30 seconds) and Full Screen fscommands. onEnterFrame makes sure that the following function will be repeated all the time though the movie has only one frame. The function is to read accelerometer data, in this case only the accX is of interest. The maximum it can react with Earth's gravity is 990. When shaking the phone it can reach over 2000 but I find 1500 enough to initiate the wallpaper change which happens with simple play function for the "imager". Imager is a movie clip that changes the picture to next one when it plays. It can be animated whatever way you like. The last 2 lines of the script are for those who want to preview the animation on PC. It unloads the next button if animation is open on the phone; on PC that button is visible and can be used.

Preview:
Shake controlled wallpaper v2:
http://www.youtube.com/watch?v=5l05kI205t4

More info for source file downloaders:
I suppose you will want to add your own images. They must be 240x320, jpg, png, or gif.
To add them open the source file "Shake control.fla", import your images (File, Import > Import to Library...). Double click the movie clip "Holder (add images here)". Now you can delete all frames if you don't want these images in the movie. What you have to do is add enough frames (blank keyframes) and put your images in them (coordinates of each image have to be (0,0)). Make sure that the first frame and the last frame have the same image. Frame 1 should have stop(); script in it and the last frame should have gotoAndStop(1); script in it. Otherwise the images won't loop. Now close that movie clip and publish the movie. Enjoy!
------------------------------------
for the moment i'm not planning any shake controlled themes,so i attached files from the site
Attached Files
File Type: zip source2.zip (280.6 KB, 2482 views)
File Type: zip result2.zip (270.7 KB, 1759 views)
Parano!d is offline   Reply With Quote
Old 01-15-2008   #2
runedrune
Team Member
Lasyk Power Member
 
runedrune's Avatar
 
Join Date: Oct 2007
Location: Someplace Dark
Posts: 410
Oo, I was wondering how to do that.
__________________
My W810i
Satin Black
R4EA031
512MB MC
10+ Flash Themes
RaKisTa™ f1naL MonsterBass
Sarmad's Camera Driver 6.0
Deleted Protected Files
Custom Model Name
Removed Operator Logo
144 Camera Frames
W810i Extreme Startup and Shutdown Animation

I Sony Ericsson
runedrune is offline   Reply With Quote
Old 01-15-2008   #3
specijalac
Elite Theme Creator
Lasyk Titanium Member
 
specijalac's Avatar
 
Join Date: Oct 2004
Location: you might find me here →
Posts: 4,345
earth gravity is more like 9.81 m/s˛ ... more accurate but not exact 9.80665 m/s˛
physics, maths, programing... those are my fields... so don't reproach me my nitpicking!

but it doesn't matter... sometimes even used in estimations as 10...

great job on finding that tutorial, didn't even know that there is something alike on the internet! by the way i'm pretty sure that:

Code:
fscommand2("ExtendBacklightDuration", 30);
fscommand2("FullScreen");
won't work on either k850 or w910 since they have browser built-in flash player... that feature works only on Symbian devices...

P.S. w910 & k850 accelerometer expresses acceleration in [cm/s˛]
specijalac is offline   Reply With Quote
Old 01-16-2008   #4
KFou
Administrator
Lasyk Elite Member
 
KFou's Avatar
 
Join Date: Sep 2003
Location: myForum
Posts: 2,386
Good work on this thread, and hopefully we should be seeing more Shake Controlled Wallpapers...
KFou is online now   Reply With Quote
Old 01-16-2008   #5
Parano!d
Elite Theme Creator
Lasyk Elite Member
 
Parano!d's Avatar
 
Join Date: Apr 2007
Location: India
Posts: 2,374
-:Igor
wonder why,sinse i dont have any of the phone,i asked other user to try it out,to him it worked fine
correct us the right things,sinse ur cham at it,isn't it
Parano!d is offline   Reply With Quote
Old 01-16-2008   #6
specijalac
Elite Theme Creator
Lasyk Titanium Member
 
specijalac's Avatar
 
Join Date: Oct 2004
Location: you might find me here →
Posts: 4,345
Quote:
Originally Posted by Parano!d View Post
-:Igor
wonder why,sinse i dont have any of the phone,i asked other user to try it out,to him it worked fine
correct us the right things,sinse ur cham at it,isn't it
yes it does work in fullscreen mode and stuff... but i makes no sense using two rows of code...

Code:
fscommand2("ExtendBacklightDuration", 30);
fscommand2("FullScreen");
unless you've got a Standalone player... (none of Sonyericcson phones has Motion sensor & Standalone player all in one...)
specijalac is offline   Reply With Quote
Old 01-25-2008   #7
tomhaiger
Registered User
Lasyk Friend
 
Join Date: Jan 2008
Posts: 1
hi, where do you input the command scripts???? is there an easier guide to make these wallpapers? thanks
tomhaiger is offline   Reply With Quote
Old 01-26-2008   #8
qube
Team Member
Lasyk Gold Member
 
qube's Avatar
 
Join Date: Aug 2005
Location: HRVATSKA (CROATIA)
Posts: 931
@specijalac
but gravity isn't 9,8 everywhere...
that's average gravity

Nice tutorial, maybe I'll soon write my acccelerometer tutorial
qube is offline   Reply With Quote
Old 01-29-2008   #9
ognjenp
Registered User
Lasyk Friend
 
Join Date: Jan 2007
Location: Quebec/Mostar BiH
Posts: 24
Thanks.
ognjenp is offline   Reply With Quote
Old 01-29-2008   #10
channy
Registered User
Lasyk Friend
 
Join Date: Jun 2006
Posts: 7
Hey, this is cool stuff!

But what program do you use to open the .fla?
channy is offline   Reply With Quote
Old 01-30-2008   #11
joost206
Team Member
Lasyk Titanium Member
 
Join Date: Apr 2006
Posts: 3,801
adobe flaSH
joost206 is online now   Reply With Quote
Old 03-01-2008   #12
nikt
Registered User
Lasyk Friend
 
Join Date: Mar 2008
Posts: 1
works fine on my w910i, nice work.
nikt is offline   Reply With Quote
Old 03-01-2008   #13
marquinhos
Team Member
Lasyk Gold Member
 
marquinhos's Avatar
 
Join Date: Dec 2007
Location: Arraiolos, Portugal
Posts: 571
simply awesome mate
__________________
http://www.danasoft.com/sig/ukluil.jpg
W580i:
-Costumized Font
-Fire Menu Icons
-20 Flash themes
-Improved Accoustics
-Some Useful Applications

W910i modding in progress...
marquinhos is offline   Reply With Quote
Old 03-21-2008   #14
Dimas.94
Team Member
Lasyk Platinum Member
 
Join Date: Nov 2007
Location: Stavros,Greece
Posts: 1,171
So,only phones with shake control enabled can use this?
__________________
i liek mudkipz.
Dimas.94 is online now   Reply With Quote
Old 03-22-2008   #15
J4M35McL
Bronze Theme Creator
Lasyk Platinum Member
 
J4M35McL's Avatar
 
Join Date: Jul 2007
Posts: 1,050
thanks for the tutorial man, ill have to take a go at this sometime
J4M35McL is offline   Reply With Quote
Old 03-23-2008   #16
corujo712
Registered User
Lasyk Friend
 
Join Date: Mar 2008
Posts: 4
has anyone managed to change the images to their own. i am a beginner and don't really know what to do.

Can anyone please give me a detailed guide to do this as the one above is very hard for me to understand
corujo712 is offline   Reply With Quote
Old 04-25-2008   #17
raza_pataka
Registered User
Lasyk Friend
 
Join Date: Apr 2008
Posts: 4
help me pliz

i have w910i but i am fedup becuase i cant shake the music why, can u tell me the easy way to shake the music file how pliz tell me

Last edited by raza_pataka; 04-26-2008 at 12:11 AM.
raza_pataka is offline   Reply With Quote
Old 04-26-2008   #18
yOgilicious
Silver Theme Creator
Lasyk Active Member
 
yOgilicious's Avatar
 
Join Date: Apr 2008
Location: Germany/Hannover
Posts: 71
nice tutorial, but i can't open the sources, i'm actually using macromedia flash8... dis sux... i can't neither open the source, nor does the script any effect on my own source *cry*
yOgilicious is offline   Reply With Quote
Old 04-26-2008   #19
x3non
Bronze Theme Creator
Lasyk Power Member
 
x3non's Avatar
 
Join Date: Jun 2006
Location: I HATE MY K850i GRRRR
Posts: 361
flash 8 wont work, i have once tried, use flash cs3
x3non is offline   Reply With Quote
Old 04-27-2008   #20
mfaraz
Team Member
Lasyk Active Member
 
Join Date: Sep 2007
Location: India
Posts: 135
Tutorial

fla file can't open in mecromedia flash 8 and i thinks u need to see that work in tutorial






Quote:
Originally Posted by Parano!d View Post
As the title says,
HOW TO MAKE SHAKE CONTROLLED WALLPAPER(W910 & K850)
before i start,i would give full credit to
www.trekker-reactor.isq-networks-server.com ;for this tutorial
and this is extract

Used script:


Code explanation:
As every other animation that goes on a mobile phone this one has Extend Backlight Duration (to 30 seconds) and Full Screen fscommands. onEnterFrame makes sure that the following function will be repeated all the time though the movie has only one frame. The function is to read accelerometer data, in this case only the accX is of interest. The maximum it can react with Earth's gravity is 990. When shaking the phone it can reach over 2000 but I find 1500 enough to initiate the wallpaper change which happens with simple play function for the "imager". Imager is a movie clip that changes the picture to next one when it plays. It can be animated whatever way you like. The last 2 lines of the script are for those who want to preview the animation on PC. It unloads the next button if animation is open on the phone; on PC that button is visible and can be used.

Preview:
Shake controlled wallpaper v2:
http://www.youtube.com/watch?v=5l05kI205t4

More info for source file downloaders:
I suppose you will want to add your own images. They must be 240x320, jpg, png, or gif.
To add them open the source file "Shake control.fla", import your images (File, Import > Import to Library...). Double click the movie clip "Holder (add images here)". Now you can delete all frames if you don't want these images in the movie. What you have to do is add enough frames (blank keyframes) and put your images in them (coordinates of each image have to be (0,0)). Make sure that the first frame and the last frame have the same image. Frame 1 should have stop(); script in it and the last frame should have gotoAndStop(1); script in it. Otherwise the images won't loop. Now close that movie clip and publish the movie. Enjoy!
------------------------------------
for the moment i'm not planning any shake controlled themes,so i attached files from the site
mfaraz is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +2. The time now is 04:19 PM.

myForum The Mobile Phone Forum - Archive - Top

www.lasyk.net
Copyright © 2009 Lasyk Networks. All rights reserved.