Paquete | mx.controls.videoClasses |
Clase | public class CuePointManager |
Herencia | CuePointManager Object |
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Elementos de API relacionados
Método | Definido por | ||
---|---|---|---|
CuePointManager(owner:VideoPlayer, id:uint = 0)
Constructor. | CuePointManager | ||
Adds a cue point. | CuePointManager | ||
Search for a cue point with specified name. | CuePointManager | ||
Returns an Array of all cue points. | CuePointManager | ||
Indica si un objeto tiene definida una propiedad especificada. | Object | ||
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro. | Object | ||
Indica si existe la propiedad especificada y si es enumerable. | Object | ||
Removes all cue points. | CuePointManager | ||
Removes a cue point from the currently
loaded FLV file. | CuePointManager | ||
Set the array of cue points. | CuePointManager | ||
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle. | Object | ||
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional. | Object | ||
Devuelve la representación de cadena del objeto especificado. | Object | ||
Devuelve el valor simple del objeto especificado. | Object |
CuePointManager | () | Información sobre |
public function CuePointManager(owner:VideoPlayer, id:uint = 0)
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Constructor.
Parámetrosowner:VideoPlayer — The VideoPlayer instance that is the parent of this CuePointManager.
| |
id:uint (default = 0 ) — This parameter is ignored; it is provided only for backwards compatibility.
|
addCuePoint | () | método |
public function addCuePoint(cuePoint:Object):Object
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Adds a cue point.
You can add multiple cue points with the same
name and time. When you call the removeCuePoint()
method
with the name and time, it removes the first matching cue point.
To remove all matching cue points, you have to make additional calls to
the removeCuePoint()
method.
Parámetros
cuePoint:Object — The Object describes the cue
point. It must contain the properties name:String
and time:Number (in seconds).
If the Object does not conform to these
conventions, it throws a VideoError error.
|
Object — A copy of the cue point Object added. The copy has the
following additional properties:
|
Emite
VideoError — If the arguments are invalid.
|
getCuePointByName | () | método |
public function getCuePointByName(name:String):Object
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Search for a cue point with specified name.
Parámetros
name:String — The name of the cue point.
|
Object — null if no match was found, or
a copy of the matching cue point Object with additional properties:
|
getCuePoints | () | método |
public function getCuePoints():Array
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Returns an Array of all cue points.
Valor devueltoArray — An Array of cue point objects.
Each cue point object describes the cue
point, and contains the properties name:String
and time:Number (in seconds).
|
removeAllCuePoints | () | método |
public function removeAllCuePoints():void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Removes all cue points.
removeCuePoint | () | método |
public function removeCuePoint(cuePoint:Object):Object
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Removes a cue point from the currently
loaded FLV file. Only the name
and time
properties are used from the cuePoint
argument to
determine the cue point to be removed.
If multiple cue points match the search criteria, only
one will be removed. To remove all cue points, call this function
repeatedly in a loop with the same arguments until it returns
null
.
Parámetros
cuePoint:Object — The Object must contain at least one of
name:String and time:Number properties, and
removes the cue point that matches the specified properties.
|
Object — An object representing the cue point removed. If there was no
matching cue point, then it returns null .
|
setCuePoints | () | método |
public function setCuePoints(cuePointArray:Array):void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Set the array of cue points.
You can add multiple cue points with the same
name and time. When you call the removeCuePoint()
method
with this name, only the first one is removed.
Parámetros
cuePointArray:Array — An Array of cue point objects.
Each cue point object describes the cue
point. It must contain the properties name:String
and time:Number (in seconds).
|
Tue Jun 12 2018, 02:12 PM Z