Closed haysclark closed 12 years ago
Nice find. It's looks like a morphed focal gradient (not documented in SWF10). I'm on it.
Preliminary fix:
http://dl.dropbox.com/u/59138954/as3swf.swc
Not committed, because i have to properly test yet.
claus, I experience the same issue with pulled swc and source code. Can you reshare preliminary fix? its not accessible
Error: Unknown fill style type: 0x5
Thanks for your work, anyways!
@metaine - that fix has landed since i posted that preliminary fix, see https://github.com/claus/as3swf/commit/7f36d9e9a38045e9268d2d8abdca206688a3017c Can you send me the SWF you have problems with? There is no fill style type 5, at least not to my knowledge, so either it's undocumented or something else goes wrong.
@metaine - fixed with https://github.com/claus/as3swf/commit/32cfe4888222b1ec2727a58d60dae10678ebbf65. Thanks for reporting this.
This error is happening in 'SwfTimelineContainer.as' when I try to load a swf. I'm guessing these are Morph targets blowing up the parser. I have shared an example FLA and SWF here which cause the problems. I can't actually find the frame that is causing the problem.
FLA: http://dl.dropbox.com/u/224564/problemAsset.fla SWF: http://dl.dropbox.com/u/224564/problemAsset.swf
I changed the code to not throw an error and I get the following style requests: Encountered unknown fill style type: 0x13 Encountered unknown fill style type: 0xb5 Encountered unknown fill style type: 0xff Encountered unknown fill style type: 0x31 Encountered unknown fill style type: 0xdb Encountered unknown fill style type: 0x34 Encountered unknown fill style type: 0x8b Encountered unknown fill style type: 0xd6 Encountered unknown fill style type: 0x34 Encountered unknown fill style type: 0x4e Encountered unknown fill style type: 0x4 Encountered unknown fill style type: 0xd4 Encountered unknown fill style type: 0xce Encountered unknown fill style type: 0x8c Encountered unknown fill style type: 0x3 Encountered unknown fill style type: 0xc6 Encountered unknown fill style type: 0xa1 Encountered unknown fill style type: 0x63 Encountered unknown fill style type: 0x3e Encountered unknown fill style type: 0x3e Encountered unknown fill style type: 0x9d Encountered unknown fill style type: 0x89 Encountered unknown fill style type: 0x1e Encountered unknown fill style type: 0x86 Encountered unknown fill style type: 0xe8 Encountered unknown fill style type: 0xf1 Encountered unknown fill style type: 0x2 Encountered unknown fill style type: 0x58 Encountered unknown fill style type: 0x79 Encountered unknown fill style type: 0xff Encountered unknown fill style type: 0xbd Encountered unknown fill style type: 0xb2 Encountered unknown fill style type: 0x4f Encountered unknown fill style type: 0x86 Encountered unknown fill style type: 0x86 Encountered unknown fill style type: 0x2b Encountered unknown fill style type: 0x26 Encountered unknown fill style type: 0x5b Encountered unknown fill style type: 0xff Encountered unknown fill style type: 0x1b Encountered unknown fill style type: 0x77 Encountered unknown fill style type: 0x3a Encountered unknown fill style type: 0x31 Encountered unknown fill style type: 0xf7 Encountered unknown fill style type: 0xfd Encountered unknown fill style type: 0x64 Encountered unknown fill style type: 0x70 Encountered unknown fill style type: 0x63 Encountered unknown fill style type: 0x7c Encountered unknown fill style type: 0x7f WARNING: parse error: Unknown fill style type: 0x35, Tag: DefineMorphShape2, Index: 15