ActionScript® 3.0 — dokumentacja dla platformy Adobe® Flash®
Strona główna  |  Ukryj listę pakietów i klas |  Pakiety  |  Klasy  |  Nowości  |  Indeks  |  Dodatki  |  Dlaczego język angielski?
Filtry: Pobieranie danych z serwera...
Pobieranie danych z serwera...
mx.controls.videoClasses 

CuePointManager  - AS3 Flex

Pakietmx.controls.videoClasses
Klasapublic class CuePointManager
DziedziczenieCuePointManager Inheritance Object

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

The CuePointManager class lets you use ActionScript code to manage the cue points associated with the VideoDisplay control.

Powiązane elementy interfejsu API



Właściwości publiczne
 WłaściwośćZdefiniowane przez
 Inheritedconstructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu.
Object
Metody publiczne
 MetodaZdefiniowane przez
  
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
 Inherited
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość.
Object
 Inherited
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr.
Object
 Inherited
Wskazuje, czy określona właściwość istnieje i jest przeliczalna.
Object
  
Removes all cue points.
CuePointManager
  
Removes a cue point from the currently loaded FLV file.
CuePointManager
  
setCuePoints(cuePointArray:Array):void
Set the array of cue points.
CuePointManager
 Inherited
Ustawia dostępność właściwości dynamicznej używanej w pętlach.
Object
 Inherited
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych.
Object
 Inherited
Zwraca ciąg reprezentujący określony obiekt.
Object
 Inherited
Zwraca pierwotną wartość dla określonego obiektu.
Object
Konstruktor Szczegół

CuePointManager

()Konstruktor
public function CuePointManager(owner:VideoPlayer, id:uint = 0)

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Constructor.

Parametry
owner: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.
Szczegół metody

addCuePoint

()metoda
public function addCuePoint(cuePoint:Object):Object

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: 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.

Parametry

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.

Zwraca
Object — A copy of the cue point Object added. The copy has the following additional properties:
  • array - the Array of all cue points. Treat this Array as read only because adding, removing or editing objects within it can cause cue points to malfunction.
  • index - the index into the Array for the returned cue point.

Zgłasza
VideoError — If the arguments are invalid.

getCuePointByName

()metoda 
public function getCuePointByName(name:String):Object

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Search for a cue point with specified name.

Parametry

name:String — The name of the cue point.

Zwraca
Objectnull if no match was found, or a copy of the matching cue point Object with additional properties:
  • array - the Array of cue points searched. Treat this array as read only because adding, removing or editing objects within it can cause cue points to malfunction.
  • index - the index into the Array for the returned cue point.

getCuePoints

()metoda 
public function getCuePoints():Array

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Returns an Array of all cue points.

Zwraca
Array — 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

()metoda 
public function removeAllCuePoints():void

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Removes all cue points.

removeCuePoint

()metoda 
public function removeCuePoint(cuePoint:Object):Object

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: 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.

Parametry

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.

Zwraca
Object — An object representing the cue point removed. If there was no matching cue point, then it returns null.

setCuePoints

()metoda 
public function setCuePoints(cuePointArray:Array):void

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: 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.

Parametry

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).





[ X ]Dlaczego język angielski?
Treść dokumentacji języka ActionScript 3.0 wyświetlana w języku angielskim

Niektóre części dokumentacji języka ActionScript 3.0 nie są przetłumaczone na poszczególne języki. Gdy element nie jest przetłumaczony na dany język, jest wyświetlany tekst angielski. Na przykład opis klasy ga.controls.HelpBox nie jest przetłumaczony na żaden dodatkowy język. Z tego powodu polska wersja dokumentacji zawiera opis klasy ga.controls.HelpBox w języku angielskim.