Re: [swfmill] Filter and blending mode support

2006-06-09 Thread Steve Webster
Hi Folks, Just to keep you all updated, I now have a working implementation of a ColorMatrix class in C++. All I need to do now (he says, tongue in cheek) is plum this into swfmill-s somehow. I also noticed that the ColorMatrix/ element contains one two many Float/s. I'll look into that

Re: [swfmill] Filter and blending mode support

2006-06-08 Thread Ian Thomas
Have just checked the XML spec - and tags can't start with a number as a character, so unfortunately erix's version won't work. Also, just thinking it through - tags which vary their names (i.e. we don't know whether the first child of matrix would be 1 or 2 or 99, or whether any given element 1

Re: [swfmill] Filter and blending mode support

2006-06-08 Thread Steve Webster
Hi All, matrix row values=1,2,3,4/ row values=4,2,5,4/ row values=1,1,3,9/ row values=9,2,3,1/ /matrix Actually the IDE exposes the colour matrix filter as brightness, contrast, saturation and hue sliders from -100 to 100. So, what I'm thinking is do away with the matrix and just have:

Re: [swfmill] Filter and blending mode support

2006-06-08 Thread Ian Thomas
Hi Steve, Great idea! Grant Skinner has written a pretty comprehensive AS2 ColorMatrix class which should help: http://www.gskinner.com/blog/archives/2005/09/flash_8_source.html as has Mario/Quasimondo: http://www.quasimondo.com/archives/000565.php I think that should give you all the

Re: [swfmill] Filter and blending mode support

2006-06-08 Thread Steve Webster
Steve, why don't keep it simple ? Since the IDE gives this representation color-matrix brightness=[-100 - 100] contrast=[-100 - 100] saturation=[-100 - 100] hue=[-100 - 100] / why not stick with that for place That's exactly what I'm going to do, thanks to Ian's links. Also, if you

Re: [swfmill] Filter and blending mode support

2006-06-08 Thread Steve Webster
Hi Ian, Great idea! Grant Skinner has written a pretty comprehensive AS2 ColorMatrix class which should help: http://www.gskinner.com/blog/archives/2005/09/flash_8_source.html as has Mario/Quasimondo: http://www.quasimondo.com/archives/000565.php I think that should give you all the

[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

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

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