|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--quicktime.QTObject | +--quicktime.std.comp.ComponentIdentifier | +--quicktime.std.comp.Component | +--quicktime.std.movies.media.MediaHandler | +--quicktime.std.movies.media.VisualMediaHandler | +--quicktime.std.movies.media.FlashMediaHandler
This media handler allows a SWF file to be treated as a track within a QuickTime movie. Because a QuickTime movie may contain any number of tracks, multiple SWF tracks may be added to the same movie. The Flash Media Handler also provides support for an optimized case using the alpha channel graphics mode, which allows a Flash track to be composited cleanly over other tracks.
Fields inherited from interface quicktime.jdirect.QuickTimeLib |
JDirect_MacOSX, libraryInstance, name |
Method Summary | |
int |
frameLabelToMovieTime(QTPointerRef theLabel)
Given a Flash frame's label, get the corresponding movieTime. |
int |
frameNumberToMovieTime(int flashFrameNumber)
Given a Flash Frame Number, get the corresponding movieTime. |
int |
getDisplayedFrameNumber()
Get the currently displayed Flash Frame number. |
java.lang.String |
getFlashVariable(java.lang.String path,
java.lang.String name)
Gets the value of a specified Flash action variable |
QDRect |
getRefConBounds(int refCon)
You can use mediaHitTestForTargetRefCon() to hit test a flash track and get a refCon for a button or symbol that was hit. |
int |
getRefConID(int refCon)
A RefCon represents a flash button or symbol at runtime. |
java.lang.String |
getSupportedSwfVersion()
Gets the SwfVersion support by the Media handler |
int |
idToRefCon(int refConID)
A RefCon represents a flash button or symbol at runtime. |
void |
setFlashVariable(java.lang.String path,
java.lang.String name,
java.lang.String value,
boolean updateFocus)
Sets the specified Flash action variable to a value |
void |
setPan(short xPercent,
short yPercent)
Pan by a percentage.Negative xPercent pans left, positive xPercent pans right. |
void |
setZoom(short factor)
Zoom in or out by a percentage. |
void |
setZoomRect(int left,
int top,
int right,
int bottom)
Zoom in on a specified sub rectangle, this becomes the "Zoom Rectangle". |
Methods inherited from class quicktime.std.movies.media.VisualMediaHandler |
getGraphicsMode, getPublicInfo, getTrackOpaque, hitTestForTargetRefCon, hitTestTargetRefCon, setGraphicsMode, setPublicInfo |
Methods inherited from class quicktime.std.comp.Component |
count |
Methods inherited from class quicktime.std.comp.ComponentIdentifier |
find, find, getInfo, toString |
Methods inherited from class quicktime.QTObject |
disposeQTObject, equals, ID |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public void setPan(short xPercent, short yPercent) throws StdQTException
xPercent
- left / right pan percentyPercent
- top / bottom pan percentpublic void setZoom(short factor) throws StdQTException
factor
- the zoom percentage factor.public void setZoomRect(int left, int top, int right, int bottom) throws StdQTException
left
- the left cornertop
- the top cornerright
- the right cornerbottom
- the bottom cornerpublic QDRect getRefConBounds(int refCon) throws StdQTException
refCon
- the runtime symbol.public int getRefConID(int refCon) throws StdQTException
refCon
- the runtime symbol.public int idToRefCon(int refConID) throws StdQTException
refConID
- the symbols ID.public int getDisplayedFrameNumber() throws StdQTException
public int frameNumberToMovieTime(int flashFrameNumber) throws StdQTException
flashFrameNumber
- the flash frame number.public int frameLabelToMovieTime(QTPointerRef theLabel) throws StdQTException
theLabel
- the flash frame's label.public java.lang.String getFlashVariable(java.lang.String path, java.lang.String name) throws StdQTException
path
- Specifies the path to the flash button to which the variable is attachedname
- Specifies the name of the flash variablepublic java.lang.String getSupportedSwfVersion() throws StdQTException
public void setFlashVariable(java.lang.String path, java.lang.String name, java.lang.String value, boolean updateFocus) throws StdQTException
path
- Specifies the path to the flash button to which the variable is attachedname
- Specifies the name of the flash variablevalue
- Specifies the new value of the flash variableupdateFocus
- Pass TRUE if the focus is to be changed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |