Re: [swfmill] install trouble...

2006-06-07 Thread Hansi Raber
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...

2006-06-07 Thread Quentin
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


[swfmill] Filter and blending mode support

2006-06-07 Thread Steve Webster
Hi All,

I've finally found time to finish the swfmill-ll implementation of
filter and blending mode support. I've attached a diff to the relevant
ticket:

http://mirror1.cvsdude.com/trac/osflash/swfmill/ticket/14

I'll go on now to work on swfmill-simple support for this. Any/all
suggestions for simple syntax for applying filters and blending modes
to the place/ element are welcome at this point.

Dan: I also added a patch a while ago to fix a bug I found when
writing fixed point values. The above patch relies on that patch being
applied, and as such the test case I've applied above is a good
demonstration of the write float bug I encountered (though it's not
'simple'). This might be a platform-specific issue since I've only
tested this on my PPC Mac, but I don't know.

Cheers,

Steve

-- 
Steve Webster
http://dynamicflash.com

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] install trouble...

2006-06-07 Thread Mark Winterhalder
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] Filter and blending mode support

2006-06-07 Thread erixtekila
 I'll go on now to work on swfmill-simple support for this. Any/all
 suggestions for simple syntax for applying filters and blending modes
 to the place/ element are welcome at this point.
Wow, there are so much combinaisons with those filters params !
What about creating a filters tag.
Those could be collections of filters mode like :

place hasFilter=true blend=overlay id=
filters
dropdownshadow param=…
blur param=…
/filters
/place

HTH.

PS : did you manage to look at DefineFont3 swftag ?

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...

2006-06-07 Thread erixtekila
 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


[swfmill] DefineFont3 was : Filter and blending mode support

2006-06-07 Thread erixtekila

 PS : did you manage to look at DefineFont3 swftag ?

 Not yet. Is that one of the bugs listed on the Trac site? If so, point
 me to it and I'll have a look when I get time.

OK, done :
http://mirror1.cvsdude.com/trac/osflash/swfmill/ticket/18

If you need more details…

---
erixtekila
http://blog.v-i-a.net/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Filter and blending mode support

2006-06-07 Thread Steve Webster
Okay folks, I've drawn up a draft of how filter and blending mode
support might look in swfmill-s syntax.

http://mirror1.cvsdude.com/trac/osflash/swfmill/attachment/ticket/14/filter.swfml

Please have a look and let me know what you think. Oh, and if anyone
has any great ideas on how to represent a 4x4 matrix as easy to
read/write xml (for the color-matrix/ filter) let me know.

'night all,

Steve

PS. I've yet to check some of the datatypes for existing swfmill-s
compatibility. For example, if swfmill-s doesn't currently support 3
digit RGB hex values (#rgb instead of #rrggbb) then this won't be
supported in the filter syntax. Having said that, anything here that
swfmill-s doesn't currently support might be worthy of its own ticket.

-- 
Steve Webster
http://dynamicflash.com

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] install trouble...

2006-06-07 Thread erixtekila

 (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