EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Especificaciones Pagina 146

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 304
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 145
CHAPTER 4: User-Interface Tools Control objects 146
invokePlayerFunction()
flashPlayerObj.invokePlayerFunction(fnName, [arg1[,...argn]] )
fnName
String. The name of a Flash ActionScript function that has been registered with the
ExternalInterface object by the currently loaded SWF file; see Calling ActionScript
functions from a ScriptUI script” on page 86.
args
Optional. One or more arguments to pass through to the function, of these types:
Number undefined
String Object
Boolean Array
Null
Invokes an ActionScript function defined in the Flash application.
Returns the result of the invoked function, which must be one of the allowed types. The ActionScript
class and date objects are not supported as return values.
loadMovie()
flashPlayerObj.loadMovie(file)
file
The File object for the SWF file.
Loads a movie into the Flash Player, and begins playing it. If you do not specify an associated movie file
when creating the control, you must use this function to load one.
Returns
undefined.
playMovie()
flashPlayerObj.playMovie(rewind)
rewind
When true, restarts the movie from the beginning; otherwise, starts playing from the point
where it was stopped.
Restarts a movie that has been stopped.
N
OTE: Do not call when a movie is currently playing.
Returns
undefined.
stopMovie()
flashPlayerObj.stopMovie()
Halts playback of the current movie.
N
OTE: Does not work when called from the player’s hosting environment.
Returns
undefined.
Vista de pagina 145
1 2 ... 141 142 143 144 145 146 147 148 149 150 151 ... 303 304

Comentarios a estos manuales

Sin comentarios