Pacote | org.osmf.containers |
Interface | public interface IMediaContainer |
Implementadores | HTMLMediaContainer, MediaContainer |
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | OSMF 1.0 |
Versões de runtime: | 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 |
Detalhes do método
addMediaElement | () | método |
public function addMediaElement(element:MediaElement):MediaElement
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | OSMF 1.0 |
Versões de runtime: | 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 |
Lança
IllegalOperationError — if the specified element is null,
or already a child of the container.
|
containsMediaElement | () | método |
public function containsMediaElement(element:MediaElement):Boolean
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | OSMF 1.0 |
Versões de runtime: | 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
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | OSMF 1.0 |
Versões de runtime: | 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 |
Lança
IllegalOperationError — if the specified element isn't
a child element, or is null.
|
Wed Jun 13 2018, 11:10 AM Z