Hi Russ,

2010/1/7 Russ Adams <rad...@cafeid.com>:
> I'm attempting convert the XML 'foo.xml' below into a SWF using swfmill
> 0.3.0.  (given some font foo_font.swf) When I do so, the TextRecord7's are
> mysteriously dropped.  Does anyone know why?

After a brief investigation it seems that swfmill 0.3.0 is expecting a
TextRecord6, not a TextRecord7, but I’m not yet sure why. There has
been a relevant change to the swfml format since swfmill 0.2.6, but it
shouldn’t affect you since you’re targeting Flash Player 7. swfmill
should be expecting a TextRecord7 and the current behaviour is
definitely a bug.

I have raised a bug for this on Launchpad and will try to get this
fixed for swfmill 0.3.1. See:
https://bugs.launchpad.net/swfmill/+bug/504385

In the meantime you can work around this problem as follows:
 * Compile your existing XML to a SWF using swfmill 0.2.6
 * Decompile the SWF back to XML using swfmill 0.3.0
 * Study the resulting XML to determine the TextRecord6 format that
swfmill 0.3.0 is expecting and use this instead.

Unfortunately using this workaround means that your XML will probably
break again when the bug is fixed :(.

Thanks for reporting,
Dan.

_______________________________________________
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org

Reply via email to