📄 swftagtypes.html
字号:
<A NAME="tagDefineFontInfo(int, java.lang.String, int, int[])"><!-- --></A><H3>
tagDefineFontInfo</H3>
<PRE>
void <B>tagDefineFontInfo</B>(int fontId,
java.lang.String fontName,
int flags,
int[] 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 fontId,
java.lang.String fontName,
int flags,
int[] codes,
int 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 id,
byte[] 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 id,
java.io.InputStream 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 id,
byte[] 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[] 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 id,
byte[] imageData,
byte[] 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 id,
int format,
int width,
int height,
<A HREF="../../../../com/anotherbigidea/flash/structs/Color.html" title="class in com.anotherbigidea.flash.structs">Color</A>[] colors,
byte[] 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 id,
int format,
int width,
int height,
<A HREF="../../../../com/anotherbigidea/flash/structs/Color.html" title="class in com.anotherbigidea.flash.structs">Color</A>[] colors,
byte[] 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[] 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 fieldId,
java.lang.String fieldName,
java.lang.String initialText,
<A HREF="../../../../com/anotherbigidea/flash/structs/Rect.html" title="class in com.anotherbigidea.flash.structs">Rect</A> boundary,
int flags,
<A HREF="../../../../com/anotherbigidea/flash/structs/AlphaColor.html" title="class in com.anotherbigidea.flash.structs">AlphaColor</A> textColor,
int alignment,
int fontId,
int fontSize,
int charLimit,
int leftMargin,
int rightMargin,
int indentation,
int 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 id,
java.lang.String 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 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 id,
<A HREF="../../../../com/anotherbigidea/flash/structs/Rect.html" title="class in com.anotherbigidea.flash.structs">Rect</A> startBounds,
<A HREF="../../../../com/anotherbigidea/flash/structs/Rect.html" title="class in com.anotherbigidea.flash.structs">Rect</A> 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 id,
int flags,
java.lang.String name,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -