📄 movie.html
字号:
<!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:39 PDT 2005 -->
<TITLE>
Movie (JavaSWF)
</TITLE>
<META NAME="keywords" CONTENT="com.anotherbigidea.flash.movie.Movie class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="Movie (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> </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/Movie.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="../../../../com/anotherbigidea/flash/movie/MorphShape.html" title="class in com.anotherbigidea.flash.movie"><B>PREV CLASS</B></A>
<A HREF="../../../../com/anotherbigidea/flash/movie/MovieClip.html" title="class in com.anotherbigidea.flash.movie"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/anotherbigidea/flash/movie/Movie.html" target="_top"><B>FRAMES</B></A>
<A HREF="Movie.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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.movie</FONT>
<BR>
Class Movie</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.anotherbigidea.flash.movie.Movie</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/anotherbigidea/flash/movie/TimeLine.html" title="interface in com.anotherbigidea.flash.movie">TimeLine</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>Movie</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../com/anotherbigidea/flash/movie/TimeLine.html" title="interface in com.anotherbigidea.flash.movie">TimeLine</A></DL>
</PRE>
<P>
A Flash Movie
<P>
<P>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_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>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="../../../../com/anotherbigidea/flash/structs/Color.html" title="class in com.anotherbigidea.flash.structs">Color</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#backColor">backColor</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected java.util.HashMap</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#definedSymbols">definedSymbols</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#depth">depth</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected java.util.Vector</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#exportedSymbols">exportedSymbols</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#frameCount">frameCount</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#frameRate">frameRate</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected java.util.SortedMap</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#frames">frames</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#height">height</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected java.util.Map</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#importLibraries">importLibraries</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#isProtected">isProtected</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#maxId">maxId</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#version">version</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#width">width</A></B></CODE>
<BR>
</TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_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>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#Movie()">Movie</A></B>()</CODE>
<BR>
Create a movie with the default values - (550x400), 12 frames/sec, white backcolor, Flash version 5.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#Movie(int, int, int, int, com.anotherbigidea.flash.structs.Color)">Movie</A></B>(int width,
int height,
int frameRate,
int version,
<A HREF="../../../../com/anotherbigidea/flash/structs/Color.html" title="class in com.anotherbigidea.flash.structs">Color</A> backColor)</CODE>
<BR>
Create a movie with the given properties</TD>
</TR>
</TABLE>
<!-- ========== 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> <A HREF="../../../../com/anotherbigidea/flash/movie/Frame.html" title="class in com.anotherbigidea.flash.movie">Frame</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#appendFrame()">appendFrame</A></B>()</CODE>
<BR>
Append a frame to the end of the timeline</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#clearExports()">clearExports</A></B>()</CODE>
<BR>
Clear all the symbol exports</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#clearImports()">clearImports</A></B>()</CODE>
<BR>
Clear all the defined library imports</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#exportSymbols(java.lang.String[], com.anotherbigidea.flash.movie.Symbol[])">exportSymbols</A></B>(java.lang.String[] exportNames,
<A HREF="../../../../com/anotherbigidea/flash/movie/Symbol.html" title="class in com.anotherbigidea.flash.movie">Symbol</A>[] symbols)</CODE>
<BR>
Export a number of symbols with the given names so that other movies can import and use them.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#getAvailableDepth()">getAvailableDepth</A></B>()</CODE>
<BR>
Get the next available depth in the timeline</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../com/anotherbigidea/flash/structs/Color.html" title="class in com.anotherbigidea.flash.structs">Color</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#getBackColor()">getBackColor</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../com/anotherbigidea/flash/movie/ExportedSymbol.html" title="class in com.anotherbigidea.flash.movie">ExportedSymbol</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#getExportedSymbols()">getExportedSymbols</A></B>()</CODE>
<BR>
Get the symbols exported from the movie</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../com/anotherbigidea/flash/movie/Frame.html" title="class in com.anotherbigidea.flash.movie">Frame</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#getFrame(int)">getFrame</A></B>(int frameNumber)</CODE>
<BR>
Get the Frame object for the given frame number - or create one if none exists.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#getFrameCount()">getFrameCount</A></B>()</CODE>
<BR>
Get the current number of frames in the timeline.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#getFrameRate()">getFrameRate</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#getHeight()">getHeight</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../com/anotherbigidea/flash/movie/ImportedSymbol.html" title="class in com.anotherbigidea.flash.movie">ImportedSymbol</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#getImportedSymbols()">getImportedSymbols</A></B>()</CODE>
<BR>
Access the imported symbols.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#getVersion()">getVersion</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#getWidth()">getWidth</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../com/anotherbigidea/flash/movie/ImportedSymbol.html" title="class in com.anotherbigidea.flash.movie">ImportedSymbol</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#importSymbols(java.lang.String, java.lang.String[])">importSymbols</A></B>(java.lang.String libraryName,
java.lang.String[] symbolNames)</CODE>
<BR>
Import symbols from another movie (Flash 5 only)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#isProtected()">isProtected</A></B>()</CODE>
<BR>
Return the protection flag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html#protect(boolean)">protect</A></B>(boolean isProtected)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -