Paquete | org.osmf.containers |
Interfaz | public interface IMediaContainer |
Implementadores | HTMLMediaContainer, MediaContainer |
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | OSMF 1.0 |
Versiones de motor de ejecución: | Flash Player 10, AIR 1.5 |
Métodos públicos
Método | Definido por | ||
---|---|---|---|
Adds a MediaElement instance to the container. | IMediaContainer | ||
Verifies if an element is a child of the container. | IMediaContainer | ||
Removes a MediaElement instance from the container. | IMediaContainer |
Información sobre métodos
addMediaElement | () | método |
public function addMediaElement(element:MediaElement):MediaElement
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | OSMF 1.0 |
Versiones de motor de ejecución: | Flash Player 10, AIR 1.5 |
Adds a MediaElement instance to the container. It is mandatory for implementations to dispatch a ContainerChangeEvent via the element that is being added to the container.
Parámetros
element:MediaElement — The MediaElement instance to add to the container.
|
MediaElement |
Emite
IllegalOperationError — if the specified element is null,
or already a child of the container.
|
containsMediaElement | () | método |
public function containsMediaElement(element:MediaElement):Boolean
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | OSMF 1.0 |
Versiones de motor de ejecución: | Flash Player 10, AIR 1.5 |
Verifies if an element is a child of the container.
Parámetros
element:MediaElement — Element to verify.
|
Boolean — True if the element if a child of the container.
|
removeMediaElement | () | método |
public function removeMediaElement(element:MediaElement):MediaElement
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | OSMF 1.0 |
Versiones de motor de ejecución: | Flash Player 10, AIR 1.5 |
Removes a MediaElement instance from the container. It is mandatory for implementations to dispatch a ContainerChangeEvent via the element that is being removed from the container.
Parámetros
element:MediaElement — The element to remove from the container.
|
MediaElement |
Emite
IllegalOperationError — if the specified element isn't
a child element, or is null.
|
Tue Jun 12 2018, 02:12 PM Z