Okay, my simple solution was to replace all bounds with the size of the
overall SWF file (the size/Rectangle which always appears to be what I
intended in Corel).

I would still like to work on a proper bounds-recalculation (since I'm
not sure simply replacing the bounds with size will give the desired
result always).

Though, for those that are also using Corel 11 to produce the SWF I've
included the transform below (ask for a makefile setup if you want as well)


<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
version="1.0">

        <xsl:output method="xml" encoding="UTF-8" indent="yes"/>

        <!-- Identity transform -->
        <xsl:template match="node()|@*">
                <xsl:copy>
                        <xsl:apply-templates select="@*"/>
                        <xsl:apply-templates/>
                </xsl:copy>
        </xsl:template>

        <xsl:template match="bounds/Rectangle">
                <xsl:apply-templates select="//Header/size/Rectangle"/>
        </xsl:template>
        
</xsl:stylesheet>

-- 
edA-qa mort-ora-y
Idea Architect
http://disemia.com/

Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to