⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 swftagtypes.html

📁 java和flash接口编程
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_01) on Mon Apr 04 14:38:36 PDT 2005 -->
<TITLE>
SWFTagTypes (JavaSWF)
</TITLE>

<META NAME="keywords" CONTENT="com.anotherbigidea.flash.interfaces.SWFTagTypes interface">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="SWFTagTypes (JavaSWF)";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SWFTagTypes.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTags.html" title="interface in com.anotherbigidea.flash.interfaces"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFText.html" title="interface in com.anotherbigidea.flash.interfaces"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/anotherbigidea/flash/interfaces/SWFTagTypes.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="SWFTagTypes.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.anotherbigidea.flash.interfaces</FONT>
<BR>
Interface SWFTagTypes</H2>
<DL>
<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFHeader.html" title="interface in com.anotherbigidea.flash.interfaces">SWFHeader</A>, <A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFSpriteTagTypes.html" title="interface in com.anotherbigidea.flash.interfaces">SWFSpriteTagTypes</A>, <A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTags.html" title="interface in com.anotherbigidea.flash.interfaces">SWFTags</A></DD>
</DL>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/javaswf/tools/compressor/Compressor.html" title="class in org.javaswf.tools.compressor">Compressor</A>, <A HREF="../../../../com/anotherbigidea/flash/movie/FontLoader.html" title="class in com.anotherbigidea.flash.movie">FontLoader</A>, <A HREF="../../../../com/anotherbigidea/flash/readers/MovieBuilder.html" title="class in com.anotherbigidea.flash.readers">MovieBuilder</A>, <A HREF="../../../../org/javaswf/swf/model/builders/SWFModelBuilder.html" title="class in org.javaswf.swf.model.builders">SWFModelBuilder</A>, <A HREF="../../../../com/anotherbigidea/flash/writers/SWFTagDumper.html" title="class in com.anotherbigidea.flash.writers">SWFTagDumper</A>, <A HREF="../../../../com/anotherbigidea/flash/writers/SWFTagTypesImpl.html" title="class in com.anotherbigidea.flash.writers">SWFTagTypesImpl</A>, <A HREF="../../../../org/javaswf/swf/model/builders/SWFTimelineBuilder.html" title="class in org.javaswf.swf.model.builders">SWFTimelineBuilder</A>, <A HREF="../../../../com/anotherbigidea/flash/writers/TagWriter.html" title="class in com.anotherbigidea.flash.writers">TagWriter</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public interface <B>SWFTagTypes</B><DT>extends <A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFSpriteTagTypes.html" title="interface in com.anotherbigidea.flash.interfaces">SWFSpriteTagTypes</A></DL>
</PRE>

<P>
Interface for passing SWF tag types.
<P>

<P>
<HR>

<P>

<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html#tagButtonCXForm(int, com.anotherbigidea.flash.structs.ColorTransform)">tagButtonCXForm</A></B>(int&nbsp;buttonId,
                <A HREF="../../../../com/anotherbigidea/flash/structs/ColorTransform.html" title="class in com.anotherbigidea.flash.structs">ColorTransform</A>&nbsp;transform)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html#tagDefineBits(int, byte[])">tagDefineBits</A></B>(int&nbsp;id,
              byte[]&nbsp;imageData)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;JPEG image data only - header/encoding data is in tagJPEGTables tag</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html#tagDefineBitsJPEG2(int, byte[])">tagDefineBitsJPEG2</A></B>(int&nbsp;id,
                   byte[]&nbsp;data)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html#tagDefineBitsJPEG2(int, java.io.InputStream)">tagDefineBitsJPEG2</A></B>(int&nbsp;id,
                   java.io.InputStream&nbsp;jpegImage)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html#tagDefineBitsJPEG3(int, byte[], byte[])">tagDefineBitsJPEG3</A></B>(int&nbsp;id,
                   byte[]&nbsp;imageData,
                   byte[]&nbsp;alphaData)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;JPEG image and encoding data with alpha channel bitmap</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html#tagDefineBitsLossless(int, int, int, int, com.anotherbigidea.flash.structs.Color[], byte[])">tagDefineBitsLossless</A></B>(int&nbsp;id,
                      int&nbsp;format,
                      int&nbsp;width,
                      int&nbsp;height,
                      <A HREF="../../../../com/anotherbigidea/flash/structs/Color.html" title="class in com.anotherbigidea.flash.structs">Color</A>[]&nbsp;colors,
                      byte[]&nbsp;imageData)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html#tagDefineBitsLossless2(int, int, int, int, com.anotherbigidea.flash.structs.Color[], byte[])">tagDefineBitsLossless2</A></B>(int&nbsp;id,
                       int&nbsp;format,
                       int&nbsp;width,
                       int&nbsp;height,
                       <A HREF="../../../../com/anotherbigidea/flash/structs/Color.html" title="class in com.anotherbigidea.flash.structs">Color</A>[]&nbsp;colors,
                       byte[]&nbsp;imageData)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFActions.html" title="interface in com.anotherbigidea.flash.interfaces">SWFActions</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html#tagDefineButton(int, java.util.Vector)">tagDefineButton</A></B>(int&nbsp;id,
                java.util.Vector&nbsp;buttonRecords)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFActions.html" title="interface in com.anotherbigidea.flash.interfaces">SWFActions</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html#tagDefineButton2(int, boolean, java.util.Vector)">tagDefineButton2</A></B>(int&nbsp;id,
                 boolean&nbsp;trackAsMenu,
                 java.util.Vector&nbsp;buttonRecord2s)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html#tagDefineButtonSound(int, int, com.anotherbigidea.flash.structs.SoundInfo, int, com.anotherbigidea.flash.structs.SoundInfo, int, com.anotherbigidea.flash.structs.SoundInfo, int, com.anotherbigidea.flash.structs.SoundInfo)">tagDefineButtonSound</A></B>(int&nbsp;buttonId,
                     int&nbsp;rollOverSoundId,
                     <A HREF="../../../../com/anotherbigidea/flash/structs/SoundInfo.html" title="class in com.anotherbigidea.flash.structs">SoundInfo</A>&nbsp;rollOverSoundInfo,
                     int&nbsp;rollOutSoundId,
                     <A HREF="../../../../com/anotherbigidea/flash/structs/SoundInfo.html" title="class in com.anotherbigidea.flash.structs">SoundInfo</A>&nbsp;rollOutSoundInfo,
                     int&nbsp;pressSoundId,
                     <A HREF="../../../../com/anotherbigidea/flash/structs/SoundInfo.html" title="class in com.anotherbigidea.flash.structs">SoundInfo</A>&nbsp;pressSoundInfo,
                     int&nbsp;releaseSoundId,
                     <A HREF="../../../../com/anotherbigidea/flash/structs/SoundInfo.html" title="class in com.anotherbigidea.flash.structs">SoundInfo</A>&nbsp;releaseSoundInfo)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Define the sound for a button</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFVectors.html" title="interface in com.anotherbigidea.flash.interfaces">SWFVectors</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html#tagDefineFont(int, int)">tagDefineFont</A></B>(int&nbsp;id,
              int&nbsp;numGlyphs)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The SWFVectors object returned will be called numGlyphs times to pass the vector information for each glyph (each glyph is terminated by calling SWFVectors.done() )</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFVectors.html" title="interface in com.anotherbigidea.flash.interfaces">SWFVectors</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html#tagDefineFont2(int, int, java.lang.String, int, int, int, int, int[], int[], com.anotherbigidea.flash.structs.Rect[], int[], int[], int[])">tagDefineFont2</A></B>(int&nbsp;id,
               int&nbsp;flags,
               java.lang.String&nbsp;name,
               int&nbsp;numGlyphs,
               int&nbsp;ascent,
               int&nbsp;descent,
               int&nbsp;leading,
               int[]&nbsp;codes,
               int[]&nbsp;advances,
               <A HREF="../../../../com/anotherbigidea/flash/structs/Rect.html" title="class in com.anotherbigidea.flash.structs">Rect</A>[]&nbsp;bounds,
               int[]&nbsp;kernCodes1,
               int[]&nbsp;kernCodes2,
               int[]&nbsp;kernAdjustments)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html#tagDefineFontInfo(int, java.lang.String, int, int[])">tagDefineFontInfo</A></B>(int&nbsp;fontId,
                  java.lang.String&nbsp;fontName,
                  int&nbsp;flags,
                  int[]&nbsp;codes)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html#tagDefineFontInfo2(int, java.lang.String, int, int[], int)">tagDefineFontInfo2</A></B>(int&nbsp;fontId,
                   java.lang.String&nbsp;fontName,
                   int&nbsp;flags,
                   int[]&nbsp;codes,
                   int&nbsp;languageCode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFShape.html" title="interface in com.anotherbigidea.flash.interfaces">SWFShape</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html#tagDefineMorphShape(int, com.anotherbigidea.flash.structs.Rect, com.anotherbigidea.flash.structs.Rect)">tagDefineMorphShape</A></B>(int&nbsp;id,
                    <A HREF="../../../../com/anotherbigidea/flash/structs/Rect.html" title="class in com.anotherbigidea.flash.structs">Rect</A>&nbsp;startBounds,
                    <A HREF="../../../../com/anotherbigidea/flash/structs/Rect.html" title="class in com.anotherbigidea.flash.structs">Rect</A>&nbsp;endBounds)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -