Changeset 235

Show
Ignore:
Timestamp:
12/30/07 00:36:18
Author:
ralf
Message:

applied dan's FileAttributes? patch. added as3 parameter to movie tag

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/xslt/simple-elements.xslt

    r222 r235  
    8080                </xsl:choose> 
    8181        </xsl:variable> 
     82        <xsl:variable name="as3"> 
     83                <xsl:choose> 
     84                        <xsl:when test="@as3">1</xsl:when> 
     85                        <xsl:otherwise>0</xsl:otherwise> 
     86                </xsl:choose> 
     87        </xsl:variable> 
    8288 
    8389        <swf version="{$version}" compressed="{$compressed}"> 
     
    8793                        </size> 
    8894                        <tags> 
    89                                 <xsl:if test="$version = 8"> 
    90                                         <FileAttributes hasMetaData="{$hasMetaData}" useNetwork="{$useNetwork}"/> 
     95                                <xsl:if test="$version >= 8"> 
     96                                        <FileAttributes hasMetaData="{$hasMetaData}" useNetwork="{$useNetwork}" allowABC="{$as3}"/> 
    9197                                </xsl:if> 
    9298                                <xsl:apply-templates/> 
  • trunk/src/xslt/simple-import.xslt

    r234 r235  
    445445 
    446446<!-- for tags that are "globalized" --> 
    447 <xsl:template match="SetBackgroundColor" mode="sprite-global"/> 
     447<xsl:template match="SetBackgroundColor|FileAttributes" mode="sprite-global"/> 
    448448<xsl:template match="DoAction|End|FrameLabel|PlaceObject|PlaceObject2|RemoveObject|RemoveObject2|ShowFrame|SoundStreamBlock|SoundStreamHead|StartSound" mode="sprite-global"/> 
    449449<xsl:template match="*|@*|text()" mode="sprite-global" priority="-1">