Mon 25 May 2009 08:45:17 AM UTC, original submission:
Hi,
I got a .swf file. It can be played by IE and Firefox, but it can not be played by Gnash. I verified the content with swfdump(please see below), and it seems the problem of the mistake of flash spec.
According to the spec, if tag1 is referenced by tag2, tag2 must be placed before tag1. In this sample, id 0001 reference id 0002, but id 0001 is placed before id 0002.
Just let you know the situation. Maybe you'd like to support it and regard this as new fuction which is supported by Adobe official player.
Part of the result of using swfdump to parse this sample is shown below.
[HEADER] File version: 3
[HEADER] File size: 3807640
[HEADER] Frame rate: 30.000000
[HEADER] Frame count: 60
[HEADER] Movie width: 408.00
[HEADER] Movie height: 179.00
[009] 3 SETBACKGROUNDCOLOR (94/94/94)
-=> 94 94 94 ??
Error: Unknown tag:0x019
[019] 0 (null)
[020] 39 DEFINESHAPE3 defines id 0001
bbox [0.00, 0.00, 408.00, 179.00]
| fillstyles(01) linestyles(00)
| 1 ) BITMAPc 2
|
| fill: 00/01 line:00 - moveTo 0.00 0.00
| fill: 00/01 line:00 - lineTo 408.00 0.00
| fill: 00/01 line:00 - lineTo 408.00 179.00
| fill: 00/01 line:00 - lineTo 0.00 179.00
| fill: 00/01 line:00 - lineTo 0.00 0.00
|
uses IDs: 2==== Error: Id 0002 is not yet defined.
====
-=> 01 00 70 00 0f f0 00 00 6f e0 01 41 02 00 d9 40 ..p..?.o?A..惲
-=> 00 05 00 00 02 00 00 10 12 08 83 c1 fe 0e d6 fe ..........?耟
-=> 78 40 41 db 20 40 00 x@A?@.
[023] 62748 DEFINEBITSJPEG3 defines id 0002
bbox [0.00, 0.00, 0.00, 0.00]
-=> 02 00 d8 dc 00 00 ff d8 ff db 00 84 00 01 01 01 ..嵁..???...
-=> 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 ................
-=> 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 ................
-=> 01 01 01 01 01 01 01 01 02 02 02 02 02 02 02 02 ................
-=> 02 02 02 03 03 03 03 03 03 03 03 03 03 01 01 01 ................
-=> 01 01 01 01 02 01 01 02 02 02 01 02 02 03 03 03 ................
-=> 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ................
-=> 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ................
|