maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Design (https://talk.maemo.org/forumdisplay.php?f=46)
-   -   [Live Wallpaper] Flash Wallpapers (https://talk.maemo.org/showthread.php?t=63452)

joy 2011-09-03 10:17

Re: [Live Wallpaper] Flash Wallpapers
 
Really Very nice..i will install..

ZeNzO 2011-09-15 11:15

Re: [Live Wallpaper] Flash Wallpapers
 
I've got a problem. I'm working on live wallpapers in flash and I can't seem to load an external file (3DS in that case, I'm using Away3D). The scene loads well in the N900 browser, model is loaded and it works well, but when I switch the flash wallpaper it can't seem to find the 3DS file.

I presume that Live Wallpaper copies the SWF file to its own location. If that's the case I have no idea what location that is. Anyone have any clues? If you're able to help you'll get nice 3d wallpapers XD

http://i286.photobucket.com/albums/ll91/qtit/Walpp1.jpg
http://i286.photobucket.com/albums/ll91/qtit/Walpp2.jpg

Edit: Damn it, I'm wrong. I can't seem to figure out why he won't load an external file. It's not because of wrong filepath.
Im using a simple filepath script:

loader.loadGeometry("Q/Crystal.3ds", max3ds);

and as Maemo's browser finds the file on a local mmc, Live wallpaper can't find it. More to it, both of them try to connect to the internet for some reason. If I swap from an external file to a simple primitive cube creation then everything works fine.

wakkamis 2011-09-15 21:29

Re: [Live Wallpaper] Flash Wallpapers
 
have you tried playing the file with kmplayer?

Also try keeping the .3ds file in the same folder as your .swf file?

ZeNzO 2011-09-18 21:26

Re: [Live Wallpaper] Flash Wallpapers
 
kmplayer opens the file correctly so I assume the filepath is correct as well.
But still I can't figure it out.

wakkamis 2011-09-19 15:08

Re: [Live Wallpaper] Flash Wallpapers
 
Can you add the 3d object to your flash internal library at all?

ZeNzO 2011-10-14 00:15

Re: [Live Wallpaper] Flash Wallpapers
 
Nope, I can't. But, I think I've figured it out. I've converted the 3DS into away 3d format which is saved as .as file, so can be imported into flash file through script. But this time I have material assign problem XD

Gonna figure this out soon.

wakkamis 2011-10-16 16:24

Re: [Live Wallpaper] Flash Wallpapers
 
Always something! Keep up the good work though!


All times are GMT. The time now is 10:18.

vBulletin® Version 3.8.8