[swfmill] prerelease 0.2.11.21
Hudson Ansley
hudsonansley at gmail.com
Tue Jan 2 16:15:15 EST 2007
I created the swfs with Flash (I get swfs from a designer who uses
Flash). The blendMode type is a drop-down selection, and the
cacheAsBitmap is a checkbox, independent of the blendMode setting
(i.e., you can have cacheAsBitmap set with no blendMode). Maybe it
uses a byte for that Boolean setting on it's own?
For the filter issue, I added a couple of filters with no error, so I
added one of each type and then I got the error. Maybe color matrices
are 18 bytes within a filter... would there be something in a color
matrix that would already be specified by the filter? I have to admit,
I really have very little knowledge of the byte code breakdown of swfs
:-)
Flash let's you add a number of filters to one movieClip, I added
about 7, but there is no indication of a limit. Would it help to make
a SWF with a clip for each different type of filter?
BTW- I had no good reason to have a movieClip with 7 filters on it
(although you never know what a designer might come up with ;-) , I
was just testing swfmill at that point... And I'm not sure if it was
just one of the filters that caused the problem or that there were so
many...
Regards,
Hudson
On 1/2/07, daniel fischer <dan at f3c.com> wrote:
> "Hudson Ansley" <hudsonansley at gmail.com> (on Tue, 2 Jan 2007 11:35:12 -0500):
>
> > I've posted two example SWFs with issues in a zip file at:
> > http://hlamedia.com/swfmillPlaceObjectError2.zip
>
> Thanks Hudson, the files are perfectly small and crashing.
>
> I think i found the problem with toimport.swf, seems we'll have to parse another byte if cacheAsBitmap is used (does it have different modes?). But before i prerelease this, i'd like to find out more about the other problem,
>
> which is caused by the ColorTransform filter in your toimport_filter.swf. I can parse the swf fine if i reduce the expected size of the color matrix from 20 to 18. But ColorMatrices should have 20 values, no?
>
> How did you generate that swf? with flash? how many values can you set there?
>
> also, it might be good to do tests for the other filters. Convolution uses a matrix of dynamic size... Steve, have you tested these at the time?
>
> and even further on, swfmill and the osflash community at large could profit from a set of well-crafted test cases that cover most of what the flash player (or players, including gnash et al and earlier versions) do-- if possible in a clearly visible way so pass/fail could be detected automatically by comparing screenshots...
>
> -dan
>
>
> --
> http://0xDF.com/
> http://iterative.org/
>
> _______________________________________________
> swfmill mailing list
> swfmill at osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
>
More information about the swfmill
mailing list