Welcome Guest ( Log In | Register )
Search
· Help
Feb 9 2008, 12:32 PM
Post
#1
|
|
|
Group: Super Members Posts: 5630 Joined: 19-August 06 Member No.: 555820 |
Shake (Shake it) controlled wallpaper (Sony Ericsson K850i and W910i compatible)
wallpapers that changes image to the next one when you shake your phone tools needed Flash CS3 Professional Used script CODE 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. source1.zip result1.zip More info for source file downloaders: 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! Tutorial by www.trekker-reactor How to change the theme file to include the swf wallpaper by vinnieza: (IMG:http://img182.imageshack.us/img182/5419/swftutorialuj9.jpg) This post has been edited by vinnieza: Apr 6 2008, 06:09 AM
Attached File(s)
|
|
|
|
![]() |
Apr 13 2009, 03:07 AM
Post
#2
|
|
|
Group: Partial Members Posts: 3 Joined: 6-October 06 Member No.: 671529 |
tnx "shoutout"
but its best to use sony ericsson theme creator and attach swf flash file to your theme.first try standard way. and 7Zip is one of the best program. extract any file like1 .thm, .jar, .nth(nokia s40 theme file) and any file with pk zip coded tnx man |
|
|
|
Jul 21 2009, 01:33 AM
Post
#3
|
|
|
Group: Partial Members Posts: 1 Joined: 21-December 07 Member No.: 2416466 |
tnx "shoutout" but its best to use sony ericsson theme creator and attach swf flash file to your theme.first try standard way. and 7Zip is one of the best program. extract any file like1 .thm, .jar, .nth(nokia s40 theme file) and any file with pk zip coded tnx man hi i am kewal shah i have w910 mobile how make swf file into theme and how to change menu icon please tell me. please any body help me my email id is <snip> please read forum rules: no e-mails This post has been edited by adonisdemon: Jul 21 2009, 05:16 AM |
|
|
|
shoutout Shake Controlled Wallpaper Tutorial Feb 9 2008, 12:32 PM
vinnieza Cool, i've seen this in a theme of gseth's Feb 9 2008, 12:56 PM
shoutout they make great themes hope m9 se theme makers wil... Feb 9 2008, 01:04 PM
vinnieza Humm, is it possible to view the source code as ju... Feb 18 2008, 04:00 PM
CrystalEYE Have you seen what this guy LCARSD is doing by usi... Mar 11 2008, 03:49 AM
matintatu dos it work on W580 too????? Mar 15 2008, 11:56 PM
vinnieza The W580 does have an accelerometer. However, my f... Mar 16 2008, 06:20 AM
megican thanks Apr 1 2008, 02:14 PM
kashif85 QUOTE(shoutout @ Feb 9 2008, 12:32 PM)Shake (... Apr 2 2008, 03:24 AM
OwnK850i [COLOR=blue][B]I have a K850i Jul 13 2008, 07:42 AM
Dinx any chance shoutout you could save this file so it... Jul 13 2008, 03:42 PM
solankiankit16 Cool stuff Jul 21 2008, 12:21 AM
moodforever Good man! Thanks a lot! Oct 13 2008, 12:25 AM
bnequick can anyone upload a .fla file to edit Apr 5 2009, 01:47 AM![]() ![]() |
| Lo-Fi Version | Time is now: 23rd May 2013 - 09:14 AM |
© Copyright 2009 mobile9. Powered by 9WOS v5 [SS]. Sitemap