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

📄 swftagtypes.html

📁 java和flash接口编程
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<A NAME="tagDefineFontInfo(int, java.lang.String, int, int[])"><!-- --></A><H3>
tagDefineFontInfo</H3>
<PRE>
void <B>tagDefineFontInfo</B>(int&nbsp;fontId,
                       java.lang.String&nbsp;fontName,
                       int&nbsp;flags,
                       int[]&nbsp;codes)
                       throws java.io.IOException</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>flags</CODE> - see FONT_* constants in SWFConstants.java
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="tagDefineFontInfo2(int, java.lang.String, int, int[], int)"><!-- --></A><H3>
tagDefineFontInfo2</H3>
<PRE>
void <B>tagDefineFontInfo2</B>(int&nbsp;fontId,
                        java.lang.String&nbsp;fontName,
                        int&nbsp;flags,
                        int[]&nbsp;codes,
                        int&nbsp;languageCode)
                        throws java.io.IOException</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>flags</CODE> - see FONT_* constants in SWFConstants.java<DD><CODE>languageCode</CODE> - @see com.anotherbigidea.flash.SWFConstants#LANGUAGE_CODE_NONE etc.
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="tagDefineBitsJPEG2(int, byte[])"><!-- --></A><H3>
tagDefineBitsJPEG2</H3>
<PRE>
void <B>tagDefineBitsJPEG2</B>(int&nbsp;id,
                        byte[]&nbsp;data)
                        throws java.io.IOException</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>data</CODE> - must contain the header data - use the InputStream version             when using an external JPEG
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="tagDefineBitsJPEG2(int, java.io.InputStream)"><!-- --></A><H3>
tagDefineBitsJPEG2</H3>
<PRE>
void <B>tagDefineBitsJPEG2</B>(int&nbsp;id,
                        java.io.InputStream&nbsp;jpegImage)
                        throws java.io.IOException</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>jpegImage</CODE> - must be a baseline JPEG (not a progressive JPEG)
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="tagDefineBits(int, byte[])"><!-- --></A><H3>
tagDefineBits</H3>
<PRE>
void <B>tagDefineBits</B>(int&nbsp;id,
                   byte[]&nbsp;imageData)
                   throws java.io.IOException</PRE>
<DL>
<DD>JPEG image data only - header/encoding data is in tagJPEGTables tag
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="tagJPEGTables(byte[])"><!-- --></A><H3>
tagJPEGTables</H3>
<PRE>
void <B>tagJPEGTables</B>(byte[]&nbsp;jpegEncodingData)
                   throws java.io.IOException</PRE>
<DL>
<DD>Only one tag per SWF - holds common JPEG encoding data
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="tagDefineBitsJPEG3(int, byte[], byte[])"><!-- --></A><H3>
tagDefineBitsJPEG3</H3>
<PRE>
void <B>tagDefineBitsJPEG3</B>(int&nbsp;id,
                        byte[]&nbsp;imageData,
                        byte[]&nbsp;alphaData)
                        throws java.io.IOException</PRE>
<DL>
<DD>JPEG image and encoding data with alpha channel bitmap
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>alphaData</CODE> - is zlib compressed
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="tagDefineBitsLossless(int, int, int, int, com.anotherbigidea.flash.structs.Color[], byte[])"><!-- --></A><H3>
tagDefineBitsLossless</H3>
<PRE>
void <B>tagDefineBitsLossless</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)
                           throws java.io.IOException</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>format</CODE> - one of the SWFConstants.BITMAP_FORMAT_n_BIT constants
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="tagDefineBitsLossless2(int, int, int, int, com.anotherbigidea.flash.structs.Color[], byte[])"><!-- --></A><H3>
tagDefineBitsLossless2</H3>
<PRE>
void <B>tagDefineBitsLossless2</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)
                            throws java.io.IOException</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>format</CODE> - one of the SWFConstants.BITMAP_FORMAT_n_BIT constants
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="tagProtect(byte[])"><!-- --></A><H3>
tagProtect</H3>
<PRE>
void <B>tagProtect</B>(byte[]&nbsp;password)
                throws java.io.IOException</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>password</CODE> - may be null
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="tagDefineTextField(int, java.lang.String, java.lang.String, com.anotherbigidea.flash.structs.Rect, int, com.anotherbigidea.flash.structs.AlphaColor, int, int, int, int, int, int, int, int)"><!-- --></A><H3>
tagDefineTextField</H3>
<PRE>
void <B>tagDefineTextField</B>(int&nbsp;fieldId,
                        java.lang.String&nbsp;fieldName,
                        java.lang.String&nbsp;initialText,
                        <A HREF="../../../../com/anotherbigidea/flash/structs/Rect.html" title="class in com.anotherbigidea.flash.structs">Rect</A>&nbsp;boundary,
                        int&nbsp;flags,
                        <A HREF="../../../../com/anotherbigidea/flash/structs/AlphaColor.html" title="class in com.anotherbigidea.flash.structs">AlphaColor</A>&nbsp;textColor,
                        int&nbsp;alignment,
                        int&nbsp;fontId,
                        int&nbsp;fontSize,
                        int&nbsp;charLimit,
                        int&nbsp;leftMargin,
                        int&nbsp;rightMargin,
                        int&nbsp;indentation,
                        int&nbsp;lineSpacing)
                        throws java.io.IOException</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>flags</CODE> - see TEXTFIELD_* constants in SWFConstants.java
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="tagDefineQuickTimeMovie(int, java.lang.String)"><!-- --></A><H3>
tagDefineQuickTimeMovie</H3>
<PRE>
void <B>tagDefineQuickTimeMovie</B>(int&nbsp;id,
                             java.lang.String&nbsp;filename)
                             throws java.io.IOException</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="tagDefineSprite(int)"><!-- --></A><H3>
tagDefineSprite</H3>
<PRE>
<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html" title="interface in com.anotherbigidea.flash.interfaces">SWFTagTypes</A> <B>tagDefineSprite</B>(int&nbsp;id)
                            throws java.io.IOException</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="tagDefineMorphShape(int, com.anotherbigidea.flash.structs.Rect, com.anotherbigidea.flash.structs.Rect)"><!-- --></A><H3>
tagDefineMorphShape</H3>
<PRE>
<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFShape.html" title="interface in com.anotherbigidea.flash.interfaces">SWFShape</A> <B>tagDefineMorphShape</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)
                             throws java.io.IOException</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="tagDefineFont2(int, int, java.lang.String, int, int, int, int, int[], int[], com.anotherbigidea.flash.structs.Rect[], int[], int[], int[])"><!-- --></A><H3>
tagDefineFont2</H3>
<PRE>
<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFVectors.html" title="interface in com.anotherbigidea.flash.interfaces">SWFVectors</A> <B>tagDefineFont2</B>(int&nbsp;id,
                          int&nbsp;flags,
                          java.lang.String&nbsp;name,

⌨️ 快捷键说明

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