Pakket | org.osmf.containers |
Interface | public interface IMediaContainer |
Geïmplementeerd door | HTMLMediaContainer, MediaContainer |
Taalversie: | ActionScript 3.0 |
Productversie: | OSMF 1.0 |
Runtimeversies: | Flash Player 10, AIR 1.5 |
Openbare methoden
Methode | Gedefinieerd door | ||
---|---|---|---|
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 |
Methodedetails
addMediaElement | () | methode |
public function addMediaElement(element:MediaElement):MediaElement
Taalversie: | ActionScript 3.0 |
Productversie: | OSMF 1.0 |
Runtimeversies: | 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.
Parameters
element:MediaElement — The MediaElement instance to add to the container.
|
MediaElement |
Gegenereerde uitzondering
IllegalOperationError — if the specified element is null,
or already a child of the container.
|
containsMediaElement | () | methode |
public function containsMediaElement(element:MediaElement):Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | OSMF 1.0 |
Runtimeversies: | Flash Player 10, AIR 1.5 |
Verifies if an element is a child of the container.
Parameters
element:MediaElement — Element to verify.
|
Boolean — True if the element if a child of the container.
|
removeMediaElement | () | methode |
public function removeMediaElement(element:MediaElement):MediaElement
Taalversie: | ActionScript 3.0 |
Productversie: | OSMF 1.0 |
Runtimeversies: | 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.
Parameters
element:MediaElement — The element to remove from the container.
|
MediaElement |
Gegenereerde uitzondering
IllegalOperationError — if the specified element isn't
a child element, or is null.
|
Wed Jun 13 2018, 11:42 AM Z