The FlashPlayer widget shows contents in Adode Flash. More...
Inherits NPluginWidget.
enum | FlashAlign { faNone, faLeft, faTop, faRight, faBottom } |
enum | FlashQuality { fqNone, fqLow, fqHigh, fqAutolow, ..., fqBest } |
enum | FlashSAlign { fslNone, fslLelf, fslTop, fslRight, ..., fslBottmRight } |
enum | FlashScale { fsNone, fsShowAll, fsNoBorder, fsExactfit } |
enum | FlashScriptAccess { fsaNone, fsaAlways, fsaSameDomain, fsaNever } |
typedef | FlashVars |
FlashPlayer ( QWidget * parent = 0, Qt::WindowFlags f = 0 ) | |
FlashAlign | align () const |
BoolValue | allowFullScreen () const |
FlashScriptAccess | allowScriptAccess () const |
BoolValue | autoStart () const |
const QString & | backgroundColor () const |
const QString & | baseURL () const |
FlashVars & | flashVars () |
BoolValue | loop () const |
bool | opaqueMode () const |
FlashQuality | quality () const |
FlashSAlign | salign () const |
FlashScale | scale () const |
QString | script_GetVariable ( const QString & variable ) |
void | script_GotoFrame ( int frameNumber ) |
bool | script_IsPlaying () |
void | script_LoadMovie ( int layerNumber, const QString & url ) |
void | script_Pan ( int x, int y, int mode ) |
int | script_PercentLoaded () |
void | script_Play () |
void | script_Rewind () |
void | script_SetVariable ( const QString & variable, const QString & value ) |
void | script_SetZoomRect ( int left, int top, int right, int bottom ) |
void | script_StopPlay () |
void | script_TCallFrame ( const QString & target, int frameNumber ) |
void | script_TCallLabel ( const QString & target, const QString & label ) |
int | script_TCurrentFrame ( const QString & target ) |
QString | script_TCurrentLabel ( const QString & target ) |
QString | script_TGetProperty ( const QString & target, int prop ) |
int | script_TGetPropertyAsNumber ( const QString & target, int prop ) |
void | script_TGotoFrame ( const QString & target, int frameNumber ) |
void | script_TGotoLabel ( const QString & target, const QString & label ) |
void | script_TPlay ( const QString & target ) |
void | script_TSetProperty ( const QString & target, int prop, const QString & value ) |
void | script_TStopPlay ( const QString & target ) |
int | script_TotalFrames () |
void | script_Zoom ( int percent ) |
void | setAlign ( FlashAlign align ) |
void | setAllowFullScreen ( BoolValue value ) |
void | setAllowScriptAccess ( FlashScriptAccess scriptAccess ) |
void | setAutoStart ( BoolValue value ) |
void | setBackgroundColor ( const QString & color ) |
void | setBaseURL ( const QString & url ) |
void | setLoop ( BoolValue value ) |
void | setOpaqueMode ( bool value ) |
void | setQuality ( FlashQuality q ) |
void | setSAlign ( FlashSAlign salign ) |
void | setScale ( FlashScale scale ) |
void | setShowMenu ( BoolValue value ) |
void | setTransparentMode ( bool value ) |
BoolValue | showMenu () const |
bool | transparentMode () const |
virtual const QString & | getMimeType () const |
virtual const QString & | getPluginFileName () const |
virtual void | start ( const QString & file ) |
void | script_FSCommand ( const QString & command, const QScriptValue & args ) |
void | script_OnProgress ( int percent ) |
void | script_OnReadyStateChange ( int state ) |
virtual QString | getBannerRes () const |
virtual QString | getBannerText () const |
The FlashPlayer widget shows contents in Adode Flash.
See also NPWidget, Silverlight, and AcrobatReader.
See also setAlign().
See also setAllowFullScreen().
See also setAllowScriptAccess().
See also setAutoStart().
See also setBackgroundColor().
See also setBaseURL().
See also setLoop().
See also setOpaqueMode().
See also setQuality().
See also setScale().
Returns the value of the Flash variable specified by varName. Returns empty string if the variable does not exist. See http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_03.html for more details.
Activates the frame number specified by frameNumber in the current movie. If the data for a requested frame is not yet available, the player goes to the last frame available and stops, causing unexpected results during playback. Use the PercentLoaded() method to determine if enough of the movie is available to execute the GotoFrame() method. The argument frameNumber is zero-based; that is, frameNumber is 0 in the first frame of the movie, 1 for the second frame, and so on. This differs from the Goto action within Flash, which begins at 1. See http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_03.html for more details.
Returns true if the movie is currently playing. See http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_03.html for more details.
Loads the movie identified by url to the layer specified by layerNumber. See http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_03.html for more details.
Pans a zoomed-in movie to the coordinates specified by x and y. Use mode to specify whether the values for x and y are pixels or a percent of the window. When mode is 0, the coordinates are pixels; when mode is 1, the coordinates are percent of the window. Pan does not pan beyond the boundaries of the zoomed-in movie. The argument type for all arguments is integer. See http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_03.html for more details.
Returns the percent of the Flash Player movie that has streamed into the widget so far; possible values are from 0 to 100. If Flash Player widget is not active return value is -1. See http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_03.html for more details.
Starts playing the movie. See http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_03.html for more details.
Goes to the first frame. See http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_03.html for more details.
Sets the value of the Flash variable specified by variableName to the value specified by value. See http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_03.html for more details.
Zooms in on a rectangular area of the movie. The units of the coordinates are in twips (1440 units per inch). To calculate a rectangle in Flash, set the ruler units to Points and multiply the coordinates by 20 to get twips. (There are 72 points per inch.) See http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_03.html for more details.
Stops playing the movie. See http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_03.html for more details.
In the timeline specified by target, executes the action in the frame specified by frameNumber. See http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_03.html for more details.
In the Timeline indicated by target, executes the action in the frame specified by the label frame label. See http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_03.html for more details.
Returns the label of the current frame of the timeline specified by target. If there is no current frame label, an empty string is returned. See http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_03.html for more details.
For the timeline indicated by target, returns a string indicating the value of the property specified by property. For property, enter the integer corresponding to the desired property. For a list of all properties and their corresponding integers, see http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_04.html#69558 and http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_03.html for more details.
For the timeline indicated by target, returns a number indicating the value of the property specified by property. For property, enter the integer corresponding to the desired property. For a list of all properties and their corresponding integers, see http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_04.html#69558 and http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_03.html for more details.
For the timeline indicated by target, goes to the frame number specified by frameNumber. See http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_03.html for more details.
For the timeline indicated by target, goes to the frame label specified by label. See http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_03.html for more details.
Plays the timeline specified by target. See http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_03.html for more details.
For the timeline indicated by target, sets the value of the property specified by property to the value specified by value. For property, enter the integer corresponding to the desired property. For a list of all properties and their corresponding integers, see http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_04.html#69558 and http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_03.html for more details.
Stops the timeline specified by target. See http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_03.html for more details.
Returns the total number of frames in the movie. See http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_03.html for more details.
Zooms the view by a relative scale factor specified by percent. Zoom(50) doubles the size of the objects in the view. Zoom(200) reduces the size of objects in the view by one half. Zoom(0) resets the view to 100%. See http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithscript_03.html for more details.
See also align().
See also allowFullScreen().
See also allowScriptAccess().
See also autoStart().
See also backgroundColor().
See also baseURL().
See also loop().
See also opaqueMode().
See also quality().
See also scale().
See also showMenu().
See also transparentMode().
See also setShowMenu().
See also setTransparentMode().