| Pacchetto | org.osmf.containers |
| Interfaccia | public interface IMediaContainer |
| Implementatori | HTMLMediaContainer, MediaContainer |
| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | OSMF 1.0 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
Metodi pubblici
| Metodo | Definito da | ||
|---|---|---|---|
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 | ||
Descrizione dei metodi
addMediaElement | () | metodo |
public function addMediaElement(element:MediaElement):MediaElement| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | OSMF 1.0 |
| Versioni 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.
Parametri
element:MediaElement — The MediaElement instance to add to the container.
|
MediaElement |
Genera
IllegalOperationError — if the specified element is null,
or already a child of the container.
|
containsMediaElement | () | metodo |
public function containsMediaElement(element:MediaElement):Boolean| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | OSMF 1.0 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
Verifies if an element is a child of the container.
Parametri
element:MediaElement — Element to verify.
|
Boolean — True if the element if a child of the container.
|
removeMediaElement | () | metodo |
public function removeMediaElement(element:MediaElement):MediaElement| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | OSMF 1.0 |
| Versioni 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.
Parametri
element:MediaElement — The element to remove from the container.
|
MediaElement |
Genera
IllegalOperationError — if the specified element isn't
a child element, or is null.
|
Tue Jun 12 2018, 02:44 PM Z