?? streamjpg.html
字號:
<P>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="StreamJPG(com.anotherbigidea.flash.interfaces.SWFTagTypes, int)"><!-- --></A><H3>
StreamJPG</H3>
<PRE>
public <B>StreamJPG</B>(<A HREF="../com/anotherbigidea/flash/interfaces/SWFTagTypes.html" title="interface in com.anotherbigidea.flash.interfaces">SWFTagTypes</A> tags,
int baseSymbolId)</PRE>
<DL>
<DL>
<DT><B>Parameters:</B><DD><CODE>tags</CODE> - the movie to insert into<DD><CODE>baseSymbolId</CODE> - the initial symbol id to use</DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="setSymbolId(int)"><!-- --></A><H3>
setSymbolId</H3>
<PRE>
public void <B>setSymbolId</B>(int id)</PRE>
<DL>
<DD>Set the starting symbol id that will be used for the next image(s).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getSymbolId()"><!-- --></A><H3>
getSymbolId</H3>
<PRE>
public int <B>getSymbolId</B>()</PRE>
<DL>
<DD>Get the next available symbol id.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="insertJPG(java.io.InputStream, int, int, int, int, int)"><!-- --></A><H3>
insertJPG</H3>
<PRE>
public void <B>insertJPG</B>(java.io.InputStream jpgImage,
int pixelWidth,
int pixelHeight,
int pixelX,
int pixelY,
int depth)
throws java.io.IOException</PRE>
<DL>
<DD>Insert an image on the stage.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>jpgImage</CODE> - the image data in "baseline" jpeg format<DD><CODE>pixelWidth</CODE> - the width of the image<DD><CODE>pixelHeight</CODE> - the height of the image<DD><CODE>pixelX</CODE> - where to place the image shape<DD><CODE>pixelY</CODE> - where to place the image shape<DD><CODE>depth</CODE> - the z-order for the image shape
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="insertJPGForOneFrame(java.io.InputStream, int, int, int, int, int)"><!-- --></A><H3>
insertJPGForOneFrame</H3>
<PRE>
public void <B>insertJPGForOneFrame</B>(java.io.InputStream jpgImage,
int pixelWidth,
int pixelHeight,
int pixelX,
int pixelY,
int depth)
throws java.io.IOException</PRE>
<DL>
<DD>Insert an image on the stage, show a frame and then free up the image.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>jpgImage</CODE> - the image data in "baseline" jpeg format<DD><CODE>pixelWidth</CODE> - the width of the image<DD><CODE>pixelHeight</CODE> - the height of the image<DD><CODE>pixelX</CODE> - where to place the image shape<DD><CODE>pixelY</CODE> - where to place the image shape<DD><CODE>depth</CODE> - the z-order for the image shape
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="insertJPGForNFrames(java.io.InputStream, int, int, int, int, int, int)"><!-- --></A><H3>
insertJPGForNFrames</H3>
<PRE>
public void <B>insertJPGForNFrames</B>(java.io.InputStream jpgImage,
int pixelWidth,
int pixelHeight,
int pixelX,
int pixelY,
int depth,
int frameCount)
throws java.io.IOException</PRE>
<DL>
<DD>Insert an image on the stage, show a number of frames and then free up the image.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>jpgImage</CODE> - the image data in "baseline" jpeg format<DD><CODE>pixelWidth</CODE> - the width of the image<DD><CODE>pixelHeight</CODE> - the height of the image<DD><CODE>pixelX</CODE> - where to place the image shape<DD><CODE>pixelY</CODE> - where to place the image shape<DD><CODE>depth</CODE> - the z-order for the image shape<DD><CODE>frameCount</CODE> - number of frame to display the image for
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="main(java.lang.String[])"><!-- --></A><H3>
main</H3>
<PRE>
public static void <B>main</B>(java.lang.String[] args)
throws java.io.IOException</PRE>
<DL>
<DD>Test the image inliner. Makes a SWF - filename is args[1]. Input images are all jpg/jpeg files in the directory that is given as args[0]. This assumes a particular size and location for each image - alter for your needs. The frame rate is 12 fps - alter this as needed. The image data must be baseline jpeg. If any image is in progressive format then it will appear red in the SWF player (this is a limitation of the SWF player - not JavaSWF).
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>args</CODE> -
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" 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_bottom_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> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/StreamJPG.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../examples/MakeGradient.html" title="class in examples"><B>PREV CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html?examples/StreamJPG.html" target="_top"><B>FRAMES</B></A>
<A HREF="StreamJPG.html" target="_top"><B>NO FRAMES</B></A>
<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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<i>Copyright © 2000-2005 David N Main. All Rights Reserved.</i>
</BODY>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -