[swfmill] Disappearing TextRecord7
Russ Adams
radams at cafeid.com
Thu Jan 7 05:34:18 PST 2010
Hello,
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?
Steps to reproduce:
% swfmill simple foo.xml foo.swf
% swfmill swf2xml foo.swf | grep TextRecord7
The same code does not show a dropped TextRecord7 in swfmill 0.2.6.
foo.xml:
-----------------------------------------------------------------------------
<?xml version="1.0"?>
<swf version="7" compressed="0">
<Header framerate="12" frames="1">
<size>
<Rectangle left="0" right="11000" top="0" bottom="8000"/>
</size>
<tags>
<SetBackgroundColor>
<color>
<Color red="255" green="255" blue="255"/>
</color>
</SetBackgroundColor>
<Import url="/fonts/foo_font.swf">
<symbols>
<Symbol objectID="1" name="foo"/>
</symbols>
</Import>
<DefineText objectID="2">
<bounds>
<Rectangle left="-5" right="770" top="39" bottom="283"/>
</bounds>
<transform>
<Transform transX="0" transY="0"/>
</transform>
<records>
<TextRecord>
<string>
<TextRecord7 objectID="1" x="220" fontHeight="240">
<color>
<Color red="0" green="0" blue="0"/>
</color>
<glyphs>
<TextEntry glyph="65" advance="210"/>
<TextEntry glyph="66" advance="240"/>
<TextEntry glyph="67" advance="188"/>
</glyphs>
</TextRecord7>
</string>
</TextRecord>
<TextRecord>
<string>
<TextRecord7/>
</string>
</TextRecord>
</records>
</DefineText>
<PlaceObject2 replace="0" depth="1" objectID="2"/>
<ShowFrame/>
<End/>
</tags>
</Header>
</swf>
-----------------------------------------------------------------------------
--
Russ Adams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/swfmill_osflash.org/attachments/20100107/1623c6ee/attachment.html>
More information about the swfmill
mailing list