Changeset 235
- Timestamp:
- 12/30/07 00:36:18
- Files:
-
- trunk/src/xslt/simple-elements.xslt (modified) (2 diffs)
- trunk/src/xslt/simple-import.xslt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/xslt/simple-elements.xslt
r222 r235 80 80 </xsl:choose> 81 81 </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> 82 88 83 89 <swf version="{$version}" compressed="{$compressed}"> … … 87 93 </size> 88 94 <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}"/> 91 97 </xsl:if> 92 98 <xsl:apply-templates/> trunk/src/xslt/simple-import.xslt
r234 r235 445 445 446 446 <!-- for tags that are "globalized" --> 447 <xsl:template match="SetBackgroundColor " mode="sprite-global"/>447 <xsl:template match="SetBackgroundColor|FileAttributes" mode="sprite-global"/> 448 448 <xsl:template match="DoAction|End|FrameLabel|PlaceObject|PlaceObject2|RemoveObject|RemoveObject2|ShowFrame|SoundStreamBlock|SoundStreamHead|StartSound" mode="sprite-global"/> 449 449 <xsl:template match="*|@*|text()" mode="sprite-global" priority="-1">
