Hi swfmill community,

 

How to mix simple and lowerlevel xml tags to generate a swf using swfmill
xml2swf ?

 

I tried this below, and executed swfmill xml2swf foo.xml foo.swf , without
success of embedding my ttf font.

 

Thank you,

 

Benjamin

 

<?xml version="1.0"?>

<swf version="8" compressed="1">

     <Header framerate="12" frames="1">

    <size>

      <Rectangle left="0" right="11000" top="0" bottom="8000"/>

    </size>

    <tags>

          <font objectID="1" id="vera" import="library/vera.ttf"
glyphs="0123456789"/>

      <FileAttributes hasMetaData="0" useNetwork="0"/>

      <SetBackgroundColor>

        <color>

          <Color red="255" green="255" blue="255"/>

        </color>

      </SetBackgroundColor>

      <DefineEditText objectID="2" wordWrap="0" multiLine="1" password="0"
readOnly="1" autoSize="1" hasLayout="1" notSelectable="0" hasBorder="1"
isHTML="0" useOutlines="1" fontRef="1" fontHeight="240" align="0"
leftMargin="0" rightMargin="0" indent="0" leading="40" variableName=""
initialText="0123456">

              <color>

                <Color red="0" green="0" blue="0" alpha="255"/>

              </color>

      </DefineEditText>

      <PlaceObject2 replace="0" depth="2" objectID="3">

                    <transform>

                      <Transform transX="2480" transY="3699"/>

                    </transform>

       </PlaceObject2>

      <ShowFrame/>

      <End/>

    </tags>

  </Header>

</swf>

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

Reply via email to