📄 flashmediahandler.html
字号:
<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="setPan(short, short)"><!-- --></A><H3>setPan</H3><PRE>public void <B>setPan</B>(short xPercent, short yPercent) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Pan by a percentage.Negative xPercent pans left, positive xPercent pans right. Negative yPercent pans to bottom, positive yPercent pans to top. The Zoom Rectangle must be less than the full size of the Flash track for panning to be possible. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/ref_undocfuncs.htm#pgfId=16943">QuickTime::FlashMediaSetPan()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>xPercent</CODE> - left / right pan percent<DD><CODE>yPercent</CODE> - top / bottom pan percent</DL></DD></DL><HR><A NAME="setZoom(short)"><!-- --></A><H3>setZoom</H3><PRE>public void <B>setZoom</B>(short factor) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Zoom in or out by a percentage. Use a number less than 100 to zoom in, and greater than 100 to zoom out. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/ref_undocfuncs.htm#pgfId=16945">QuickTime::FlashMediaSetZoom()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>factor</CODE> - the zoom percentage factor.</DL></DD></DL><HR><A NAME="setZoomRect(int, int, int, int)"><!-- --></A><H3>setZoomRect</H3><PRE>public void <B>setZoomRect</B>(int left, int top, int right, int bottom) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Zoom in on a specified sub rectangle, this becomes the "Zoom Rectangle". <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/ref_undocfuncs.htm#pgfId=16947">QuickTime::FlashMediaSetZoomRect()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>left</CODE> - the left corner<DD><CODE>top</CODE> - the top corner<DD><CODE>right</CODE> - the right corner<DD><CODE>bottom</CODE> - the bottom corner</DL></DD></DL><HR><A NAME="getRefConBounds(int)"><!-- --></A><H3>getRefConBounds</H3><PRE>public <A HREF="../../../../quicktime/qd/QDRect.html">QDRect</A> <B>getRefConBounds</B>(int refCon) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>You can use mediaHitTestForTargetRefCon() to hit test a flash track and get a refCon for a button or symbol that was hit. A RefCon represents a flash button or symbol at runtime. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/ref_undocfuncs.htm#pgfId=16937">QuickTime::FlashMediaGetRefConBounds()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>refCon</CODE> - the runtime symbol.<DT><B>Returns:</B><DD>the bounding rectangle for the given refCon</DL></DD></DL><HR><A NAME="getRefConID(int)"><!-- --></A><H3>getRefConID</H3><PRE>public int <B>getRefConID</B>(int refCon) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>A RefCon represents a flash button or symbol at runtime. The ID represents the button or symbols ID in the .swf file. Converts a Refcon to an ID. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/ref_undocfuncs.htm#pgfId=16939">QuickTime::FlashMediaGetRefConID()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>refCon</CODE> - the runtime symbol.<DT><B>Returns:</B><DD>refConID the symbols ID.</DL></DD></DL><HR><A NAME="idToRefCon(int)"><!-- --></A><H3>idToRefCon</H3><PRE>public int <B>idToRefCon</B>(int refConID) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>A RefCon represents a flash button or symbol at runtime. The ID represents the button or symbols ID in the .swf file. Convert an ID to a RefCon. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/ref_undocfuncs.htm#pgfId=16941">QuickTime::FlashMediaIDToRefCon()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>refConID</CODE> - the symbols ID.<DT><B>Returns:</B><DD>refCon the symbol.</DL></DD></DL><HR><A NAME="getDisplayedFrameNumber()"><!-- --></A><H3>getDisplayedFrameNumber</H3><PRE>public int <B>getDisplayedFrameNumber</B>() throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Get the currently displayed Flash Frame number. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/ref_undocfuncs.htm#pgfId=16935">QuickTime::FlashMediaGetDisplayedFrameNumber()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>flashFrameNumber the flash frame number.</DL></DD></DL><HR><A NAME="frameNumberToMovieTime(int)"><!-- --></A><H3>frameNumberToMovieTime</H3><PRE>public int <B>frameNumberToMovieTime</B>(int flashFrameNumber) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Given a Flash Frame Number, get the corresponding movieTime. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/ref_undocfuncs.htm#pgfId=16933">QuickTime::FlashMediaFrameNumberToMovieTime()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flashFrameNumber</CODE> - the flash frame number.<DT><B>Returns:</B><DD>movieTime the corresponding movieTime.</DL></DD></DL><HR><A NAME="frameLabelToMovieTime(quicktime.util.QTPointerRef)"><!-- --></A><H3>frameLabelToMovieTime</H3><PRE>public int <B>frameLabelToMovieTime</B>(<A HREF="../../../../quicktime/util/QTPointerRef.html">QTPointerRef</A> theLabel) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Given a Flash frame's label, get the corresponding movieTime. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/ref_undocfuncs.htm#pgfId=16931">QuickTime::FlashMediaFrameLabelToMovieTime()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>theLabel</CODE> - the flash frame's label.<DT><B>Returns:</B><DD>movieTime the corresponding movie time.</DL></DD></DL><HR><A NAME="getFlashVariable(java.lang.String, java.lang.String)"><!-- --></A><H3>getFlashVariable</H3><PRE>public java.lang.String <B>getFlashVariable</B>(java.lang.String path, java.lang.String name) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Gets the value of a specified Flash action variable</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>path</CODE> - Specifies the path to the flash button to which the variable is attached<DD><CODE>name</CODE> - Specifies the name of the flash variable<DT><B>Returns:</B><DD>the vallue of the action variable</DL></DD></DL><HR><A NAME="getSupportedSwfVersion()"><!-- --></A><H3>getSupportedSwfVersion</H3><PRE>public java.lang.String <B>getSupportedSwfVersion</B>() throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Gets the SwfVersion support by the Media handler</DL></DD><DD><DL><DT><B>Returns:</B><DD>the supported version</DL></DD></DL><HR><A NAME="setFlashVariable(java.lang.String, java.lang.String, java.lang.String, boolean)"><!-- --></A><H3>setFlashVariable</H3><PRE>public void <B>setFlashVariable</B>(java.lang.String path, java.lang.String name, java.lang.String value, boolean updateFocus) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Sets the specified Flash action variable to a value</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>path</CODE> - Specifies the path to the flash button to which the variable is attached<DD><CODE>name</CODE> - Specifies the name of the flash variable<DD><CODE>value</CODE> - Specifies the new value of the flash variable<DD><CODE>updateFocus</CODE> - Pass TRUE if the focus is to be changed</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <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/FlashMediaHandler.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="../../../../quicktime/std/movies/media/FlashMedia.html"><B>PREV CLASS</B></A> <A HREF="../../../../quicktime/std/movies/media/FoundTextInfo.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="FlashMediaHandler.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -