Re: [swfmill] install trouble...
Hey ! Sorry for my late reply, it took a while to finally finish the changes...On May 18, 2006, at 12:06 PM, Quentin wrote:[ ... ]Could you tell us what SwfMill helps you doing within this game ?Funny one, tho ![ ... ]Allright, to know what i'm talking about you should maybe play onceat http://www.benettonplay.com/toys/oddoneout/pair/KashmirYou see a grid of 2x2, 4x4, 8x8, 9x9, 12x12 and 16x16 pictures. 16 x 16, thats 256 pictures. In flash the only way to load a picturedynamically is loadMovie. But there are two problems: - loadMovie is really slow for many pictures, even if they are cached- duplicateMovie doesn't work on images inserted using loadMovie. there might be easier solutions, we, however, used swfmill create a swf file that contains five movieclips (for 2x2, 4x4, 9x9, ) with all the images well aligned. so all i have to do is load a single swffile and then hide / show the movieclips within this swf. i hope that makes sense somehow. thanks again! hansi. On 5/18/06, Hansi Raber [EMAIL PROTECTED] wrote:Hansi Raber [EMAIL PROTECTED] (on Wed, 17 May 2006 13:17:01 +0200): ./configure --prefix=... --enable-static --disable-shared that looks fine. what prefix do you actually use? .?thats a good question! i check and had installed the app in a different path than i built it for.now it's working supernice!if you wanna see what i'm using at for...check outhttp://www.benettonplay.com/toys/oddoneout/ w - swfmill rocks!hansi.--http://0xDF.com/http://iterative.org/___ swfmill mailing listswfmill@osflash.orghttp://osflash.org/mailman/listinfo/swfmill_osflash.org ___swfmill mailing listswfmill@osflash.orghttp://osflash.org/mailman/listinfo/swfmill_osflash.org ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] install trouble...
Thanks !That's a clever use... I would not have thought about using SwfMill for this, didn't know loadMovie could be painful... Thanks for sharing !On 6/7/06, Hansi Raber [EMAIL PROTECTED] wrote: Hey !Sorry for my late reply, it took a while to finally finish the changes...On May 18, 2006, at 12:06 PM, Quentin wrote: [ ... ]Could you tell us what SwfMill helps you doing within this game ?Funny one, tho ![ ... ] Allright, to know what i'm talking about you should maybe play onceat http://www.benettonplay.com/toys/oddoneout/pair/KashmirYou see a grid of 2x2, 4x4, 8x8, 9x9, 12x12 and 16x16 pictures.16 x 16, thats 256 pictures. In flash the only way to load a picture dynamically is loadMovie. But there are two problems:- loadMovie is really slow for many pictures, even if they are cached- duplicateMovie doesn't work on images inserted using loadMovie. there might be easier solutions, we, however, used swfmill createa swf file that contains five movieclips (for 2x2, 4x4, 9x9, ) withall the images well aligned. so all i have to do is load a single swf file and then hide / show the movieclips within this swf.i hope that makes sense somehow.thanks again!hansi. On 5/18/06, Hansi Raber [EMAIL PROTECTED] wrote:Hansi Raber [EMAIL PROTECTED] (on Wed, 17 May 2006 13:17:01 +0200): ./configure --prefix=... --enable-static --disable-shared that looks fine. what prefix do you actually use? .?thats a good question! i check and had installed the app in a different path than i built it for.now it's working supernice!if you wanna see what i'm using at for...check out http://www.benettonplay.com/toys/oddoneout/ w - swfmill rocks!hansi.--http://0xDF.com/ http://iterative.org/___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org ___ swfmill mailing listswfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org ___swfmill mailing listswfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] install trouble...
On 6/7/06, Hansi Raber [EMAIL PROTECTED] wrote: Allright, to know what i'm talking about you should maybe play once at http://www.benettonplay.com/toys/oddoneout/pair/Kashmir Cool :) And yeah, I've had problems with loadMovie, too, way before swfmill came along. There's one problem I have with the game, though: http://www.snafoo.org/tmp/oddoneout.png It's a pretty common problem with SWFs and Linux and came up on the osflash list a couple of times -- missing fonts. Some fonts are often assumed to be installed on every system (e.g. Arial) when they really aren't (not on Linux anyway). It's no problem on the Mac or Windows, that's why hardly anybody notices during tests. I'm not saying you have to go and fix it in the game, I just want to point it out because I think it helps if more people are aware of it, and because swfmill can be used for a nice solution: Runtime Shared Fonts. You can check if a font is installed on the system (in System.capabilities somewhere I think?), and load it if not. Erixtekila described how to prepare a font library SWF for runtime sharing here: http://www.v-i-a.net/blog/archives/44.html You might need a recent pre-release from http://swfmill.org/pre/ (the fresh ones are somewhere in the middle...). Thanks! Mark -- http://snafoo.org/ key: 1BD689C0 (3801 6F51 4810 C674 1491 ADE7 D8F6 0203 1BD6 89C0) ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] install trouble...
It's a pretty common problem with SWFs and Linux and came up on the osflash list a couple of times -- missing fonts. Some fonts are often assumed to be installed on every system (e.g. Arial) when they really aren't (not on Linux anyway). It's no problem on the Mac or Windows, that's why hardly anybody notices during tests. Erixtekila described how to prepare a font library SWF for runtime sharing here: http://www.v-i-a.net/blog/archives/44.html There is also an english version that use slightly the same technique : http://www.deja-vue.net/blog/2006/05/26/as2-sharedfonts-datagrid- example-the-last-stand/ HTH --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] install trouble...
(Just kidding, couldn't resist -- I didn't post the link to your original entry, but to the one after that where you link to both articles) Mark_ has always been so clever. ;) erixtekila !roulette Best. --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] install trouble...
Hansi Raber [EMAIL PROTECTED] (on Wed, 17 May 2006 13:17:01 +0200): ./configure --prefix=... --enable-static --disable-shared that looks fine. what prefix do you actually use? .? thats a good question! i check and had installed the app in a different path than i built it for. now it's working supernice! if you wanna see what i'm using at for...check out http://www.benettonplay.com/toys/oddoneout/ w - swfmill rocks! hansi. -- http://0xDF.com/ http://iterative.org/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org