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

📄 swfmoviefile.html

📁 java和flash接口编程
💻 HTML
📖 第 1 页 / 共 2 页
字号:

<A NAME="SWFMovieFile(int, int, int, int)"><!-- --></A><H3>
SWFMovieFile</H3>
<PRE>
public <B>SWFMovieFile</B>(int&nbsp;version,
                    int&nbsp;frameRate,
                    int&nbsp;twipsWidth,
                    int&nbsp;twipsHeight)</PRE>
<DL>
<DD>Constructor when building a SWF from scratch.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>version</CODE> - flash player version<DD><CODE>frameRate</CODE> - number of frames per second<DD><CODE>twipsWidth</CODE> - movie width in twips (20 per pixel)<DD><CODE>twipsHeight</CODE> - movie height in twips</DL>
</DL>
<HR>

<A NAME="SWFMovieFile(int, int, int, int, long, int, boolean)"><!-- --></A><H3>
SWFMovieFile</H3>
<PRE>
public <B>SWFMovieFile</B>(int&nbsp;version,
                    int&nbsp;frameRate,
                    int&nbsp;twipsWidth,
                    int&nbsp;twipsHeight,
                    long&nbsp;incomingLength,
                    int&nbsp;incomingFrameCount,
                    boolean&nbsp;wasCompressed)</PRE>
<DL>
<DD>Constructor when parsing an existing SWF file.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>version</CODE> - flash player version<DD><CODE>frameRate</CODE> - number of frames per second<DD><CODE>twipsWidth</CODE> - movie width in twips (20 per pixel)<DD><CODE>twipsHeight</CODE> - movie height in twips<DD><CODE>incomingLength</CODE> - length value in the header of the parsed SWF file.<DD><CODE>incomingFrameCount</CODE> - frame-count value in the header of the parsed SWF file.<DD><CODE>wasCompressed</CODE> - true if the parsed file was compressed</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="getTimeline()"><!-- --></A><H3>
getTimeline</H3>
<PRE>
public <A HREF="../../../../org/javaswf/swf/model/SWFTimeline.html" title="class in org.javaswf.swf.model">SWFTimeline</A> <B>getTimeline</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/javaswf/swf/model/SWFTimelineContainer.html#getTimeline()">SWFTimelineContainer</A></CODE></B></DD>
<DD>Get the timeline
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/javaswf/swf/model/SWFTimelineContainer.html#getTimeline()">getTimeline</A></CODE> in interface <CODE><A HREF="../../../../org/javaswf/swf/model/SWFTimelineContainer.html" title="interface in org.javaswf.swf.model">SWFTimelineContainer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><A HREF="../../../../org/javaswf/swf/model/SWFTimelineContainer.html#getTimeline()"><CODE>SWFTimelineContainer.getTimeline()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getFrameRate()"><!-- --></A><H3>
getFrameRate</H3>
<PRE>
public int <B>getFrameRate</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the frame Rate.</DL>
</DD>
</DL>
<HR>

<A NAME="getIncomingFrameCount()"><!-- --></A><H3>
getIncomingFrameCount</H3>
<PRE>
public int <B>getIncomingFrameCount</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the incoming Frame Count.</DL>
</DD>
</DL>
<HR>

<A NAME="getIncomingLength()"><!-- --></A><H3>
getIncomingLength</H3>
<PRE>
public long <B>getIncomingLength</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the incoming Length.</DL>
</DD>
</DL>
<HR>

<A NAME="getTwipsHeight()"><!-- --></A><H3>
getTwipsHeight</H3>
<PRE>
public int <B>getTwipsHeight</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the twips Height.</DL>
</DD>
</DL>
<HR>

<A NAME="getTwipsWidth()"><!-- --></A><H3>
getTwipsWidth</H3>
<PRE>
public int <B>getTwipsWidth</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the twips Width.</DL>
</DD>
</DL>
<HR>

<A NAME="getVersion()"><!-- --></A><H3>
getVersion</H3>
<PRE>
public int <B>getVersion</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the version.</DL>
</DD>
</DL>
<HR>

<A NAME="wasCompressed()"><!-- --></A><H3>
wasCompressed</H3>
<PRE>
public boolean <B>wasCompressed</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>true if the original file  was Compressed.</DL>
</DD>
</DL>
<HR>

<A NAME="write(com.anotherbigidea.flash.interfaces.SWFTags)"><!-- --></A><H3>
write</H3>
<PRE>
public void <B>write</B>(<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTags.html" title="interface in com.anotherbigidea.flash.interfaces">SWFTags</A>&nbsp;tagOutput)
           throws java.io.IOException</PRE>
<DL>
<DD>Write the movie file. No assertion about the compression state of the movie is passed.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagOutput</CODE> - the swf header/tag writer.
<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>&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/SWFMovieFile.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="../../../../org/javaswf/swf/model/SWFMovieClip.html" title="class in org.javaswf.swf.model"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/javaswf/swf/model/SWFSymbol.html" title="class in org.javaswf.swf.model"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?org/javaswf/swf/model/SWFMovieFile.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="SWFMovieFile.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;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
<i>Copyright &#169; 2000-2005 David N Main. All Rights Reserved.</i>
</BODY>
</HTML>

⌨️ 快捷键说明

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