Hi I've tried using the newly improved svg support to import an svg created in Inkscape, but I can't get it to work. Am I doing something wrong or is inkscape to blame? I've attached the xml file, shell output and svg file.
Thanks for the excellent software. Izak Excerpt from my source file: <frame> <library> <clip id="Application"class="Application" /> <clip id="beeSVG" import="../lib/bee.svg"/> <clip id="beePNG" import="../lib/bee.png"/> </library> <place id="beePNG" name="app" x="200" y="100" depth="1001" /> <place id="beeSVG" name="app" x="100" y="100" depth="1000" /> </frame> The png dispays correctly, but there is no svg to be seen. The swfmill output: swfmill -v simple application.xml ../bin/application.swf swfmill 0.2.12.5 Reading from application.xml Importing PNG: '../lib/bee.png' (32 bit/pixel) Writing SWF to ../bin/application.swf SWF saved to ../bin/application.swf (18947 bytes). No mention of the svg there. The svg file: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://web.resource.org/cc/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="744.09448819" height="1052.3622047" id="svg2" sodipodi:version="0.32" inkscape:version="0.43" sodipodi:docbase="/home/izak/games/my flash games/FlowerPower/lib" sodipodi:docname="bee.svg" inkscape:export-filename="/home/izak/games/my flash games/FlowerPower/lib/bee.png" inkscape:export-xdpi="8.7742147" inkscape:export-ydpi="8.7742147"> <defs id="defs4" /> <sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="0.79922227" inkscape:cx="402.02768" inkscape:cy="581.59961" inkscape:document-units="px" inkscape:current-layer="layer1" showguides="true" inkscape:guide-bbox="true" inkscape:window-width="874" inkscape:window-height="591" inkscape:window-x="0" inkscape:window-y="51" /> <metadata id="metadata7"> <rdf:RDF> <cc:Work rdf:about=""> <dc:format>image/svg+xml</dc:format> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> </cc:Work> </rdf:RDF> </metadata> <g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1"> <path sodipodi:type="arc" style="fill:#daff00;fill-opacity:1;stroke:#000000;stroke-opacity:1;stroke-width:3.7;stroke-miterlimit:4;stroke-dasharray:none" id="path1307" sodipodi:cx="340" sodipodi:cy="445.21933" sodipodi:rx="80" sodipodi:ry="78.571434" d="M 420 445.21933 A 80 78.571434 0 1 1 260,445.21933 A 80 78.571434 0 1 1 420 445.21933 z" /> <path style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="M 286.31662,390.15929 C 327.52905,417.89881 363.25313,416.00127 394.25952,388.62819 C 380.7926,378.51949 364.75845,369.69442 339.13975,365.66161 C 315.88693,368.18239 297.33581,375.40488 286.31662,390.15929 z " id="path2190" sodipodi:nodetypes="cccc" /> <path style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 263.59647,422.35357 C 334.79285,469.05226 412.46851,418.60794 412.46851,418.60794 C 416.00374,424.83065 416.39782,433.22681 418.02672,439.44952 L 420.20017,440.89849 C 420.20017,440.89849 383.24678,474.13813 340.50703,473.50023 C 291.24219,472.77574 260.08942,445.24538 260.08942,445.24538 L 263.59647,422.35357 z " id="path2200" sodipodi:nodetypes="ccccscc" /> <path sodipodi:nodetypes="cccscc" id="path2212" d="M 263.59647,464.37359 C 333.34243,525.57653 415.0362,469.72626 415.36645,466.42383 C 418.90168,472.64654 406.25506,485.38959 407.88396,491.6123 C 407.88396,491.6123 382.5223,509.6378 339.78255,508.9999 C 290.51771,508.27541 273.8546,490.88781 273.8546,490.88781 L 263.59647,464.37359 z " style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> <path style="fill:#00d4ff;fill-opacity:1;fill-rule:evenodd;stroke:#3c00fb;stroke-width:3.3;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;opacity:0.70050761;stroke-miterlimit:4;stroke-dasharray:none" d="M 339.9053,411.59476 C 339.9053,411.59476 333.78088,440.68576 323.8287,457.52791 C 313.87651,474.37007 284.01996,500.39885 284.01996,500.39885 C 282.50538,504.1853 257.00802,471.46912 261.05339,441.45131 C 264.2296,417.8829 284.01997,387.86264 284.01997,387.86264 C 300.14706,398.2747 317.69502,407.26589 339.9053,411.59476 z " id="path2196" sodipodi:nodetypes="cscscc" /> <path sodipodi:nodetypes="cscscc" id="path2208" d="M 341.33086,412.2966 C 341.33086,412.2966 347.45528,441.3876 357.40746,458.22975 C 367.35965,475.07191 397.2162,501.10069 397.2162,501.10069 C 398.73078,504.88714 424.22814,472.17096 420.18277,442.15315 C 417.00656,418.58474 397.21619,388.56448 397.21619,388.56448 C 381.0891,398.97654 363.54114,407.96773 341.33086,412.2966 z " style="opacity:0.70050761;fill:#00d4ff;fill-opacity:1;fill-rule:evenodd;stroke:#3c00fb;stroke-width:3.29999995;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> <path sodipodi:type="arc" style="opacity:1;fill:#fff9f9;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="path2214" sodipodi:cx="322.81384" sodipodi:cy="384.21262" sodipodi:rx="9.3841228" sodipodi:ry="9.3841228" d="M 332.19797 384.21262 A 9.3841228 9.3841228 0 1 1 313.42972,384.21262 A 9.3841228 9.3841228 0 1 1 332.19797 384.21262 z" transform="matrix(0.942795,0,0,0.942795,16.05278,23.9541)" /> <path transform="matrix(0.942795,0,0,0.942795,55.90441,25.06108)" d="M 332.19797 384.21262 A 9.3841228 9.3841228 0 1 1 313.42972,384.21262 A 9.3841228 9.3841228 0 1 1 332.19797 384.21262 z" sodipodi:ry="9.3841228" sodipodi:rx="9.3841228" sodipodi:cy="384.21262" sodipodi:cx="322.81384" id="path2216" style="opacity:1;fill:#fff9f9;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" sodipodi:type="arc" /> </g> </svg> _______________________________________________ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org