Re: [swfmill] Filter and blending mode support

2006-06-08 Thread Steve Webster
> 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: > > saturation="[-100 - 100]" hue="[-100 - 100]" /> Slight correction on this. Hue is specified in degrees

Re: [swfmill] Flash 8 ConvolutionFilter from IDE

2006-06-08 Thread erixtekila
> I just realised that one filter I've yet to implement is the > ConvolutionFilter. That's because I couldn't find a way to apply that > filter to a MovieClip at author-time in the IDE. Does anyone have any > idea on how to do this? Sorry no clue. Don't use it anymore ;) --- erixtekila ht

[swfmill] Flash 8 ConvolutionFilter from IDE

2006-06-08 Thread Steve Webster
Hi All, I just realised that one filter I've yet to implement is the ConvolutionFilter. That's because I couldn't find a way to apply that filter to a MovieClip at author-time in the IDE. Does anyone have any idea on how to do this? Cheers, Steve -- Steve Webster http://dynamicflash.com _

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

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 > > > > saturation="[-100 - 100]" hue="[-100 - 100]" /> > > why not stick with that for That's exactly what I'm going to do, thanks to Ian's links. Also, if you wanted more control you could use swfmill-ll syntax, whic

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 needed

Re: [swfmill] Filter and blending mode support

2006-06-08 Thread erixtekila
Steve, why don't keep it simple ? Since the IDE gives this representation > saturation="[-100 - 100]" hue="[-100 - 100]" /> why not stick with that for We could anyhow use matrix directly from script. Should suffice ain't it ? --- erixtekila http://blog.v-i-a.net/ ___

Re: [swfmill] Filter and blending mode support

2006-06-08 Thread Steve Webster
Hi All, > > > > > > 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: However, I need to work out a way to translate those values into a matrix. So fa

Re: [swfmill] Filter and blending mode support

2006-06-08 Thread erixtekila
> Sorry, Erix, didn't want to pick on you! Just trying to put words on > why I was uncomfortable with your version... :-) You're welcome ;) Le 8 juin 06, à 09:36, Ian Thomas a écrit : > Have just checked the XML spec - and tags can't start with a number as > a character, so unfortunately erix's v

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 would be <1> or <2> or <99>, or whether any given element <1>

Re: [swfmill] Filter and blending mode support

2006-06-08 Thread Ian Thomas
(I'm afraid I don't like erix's use of numbers as tag names - in fact, I'm not convinced it's legal XML...) or possibly just a string of numbers: 1,2,3,4, 4,2,5,4, 1,1,3,9, 9,2,3,1 ... and leave it up to the coder how to format it - but I think this version is too error-prone (very ea