The flash.media package contains classes for working with multimedia assets such as sound and video. It also contains the video and audio classes available in Flash Media Server.
Function | Description | |
---|---|---|
scanHardware | Forces a rescan of the microphones and cameras on the system. |
Class | Description | |
---|---|---|
AudioDecoder | The AudioDecoder class enumerates the types of multichannel audio that a system can support. | |
AudioDeviceManager | Use the AudioDeviceManager class to get audio device information of the system, and select a device for audio playback. | |
AudioOutputChangeReason | This class defines an enumeration that indicates the reason for AudioOutputChangeEvent. | |
AudioPlaybackMode |
The AudioPlaybackMode class defines constants for the audioPlaybackMode property of the
SoundMixer class. |
|
Camera | Use the Camera class to capture video from the client system or device camera. | |
CameraPosition |
The CameraPosition class defines constants for the position property of the
Camera class. |
|
CameraRoll |
The CameraRoll class allows you to access image data in the system media library or "camera roll."
AIR profile support: This feature is supported on mobile devices, but it is not supported on desktop operating systems or AIR for TV devices. |
|
CameraRollBrowseOptions | The CameraRollBrowseOptions class defines the initialization options that may be used when using the Camera Roll API to launch the Image Picker. | |
CameraUI | The CameraUI class allows you to capture a still image or video using the default camera application on a device. | |
H264Level |
The H264Level class is an enumeration of constant values used in setting the
level of H264VideoStreamSettings class. |
|
H264Profile |
The H264Profile class is an enumeration of constant values used in setting the profile
of H264VideoStreamSettings class. |
|
H264VideoStreamSettings | The H264VideoStreamSettings class enables specifying video compression settings for each NetStream. | |
ID3Info | The ID3Info class contains properties that reflect ID3 metadata. | |
MediaPromise | The MediaPromise class represents the promise to deliver a media object. | |
MediaType | The MediaType class enumerates the general types of media that can be returned by a camera. | |
Microphone | Use the Microphone class to monitor or capture audio from a microphone. | |
MicrophoneEnhancedMode |
The MicrophoneEnhancedMode class is an enumeration of constant values used in setting the mode property
of MicrophoneEnhancedOptions class. |
|
MicrophoneEnhancedOptions | The MicrophoneEnhancedOptions class provides configuration options for enhanced audio (acoustic echo cancellation). | |
Sound | The Sound class lets you work with sound in an application. | |
SoundChannel | The SoundChannel class controls a sound in an application. | |
SoundCodec |
The SoundCodec class is an enumeration of constant values used in setting the codec property
of the Microphone class. |
|
SoundLoaderContext | The SoundLoaderContext class provides security checks for files that load sound. | |
SoundMixer | The SoundMixer class contains static properties and methods for global sound control in the application. | |
SoundTransform | The SoundTransform class contains properties for volume and panning. | |
StageVideo | The StageVideo object uses the device's hardware acceleration capabilities, if available, to display live or recorded video in an application. | |
StageVideoAvailability | This class defines an enumeration that indicates whether stage video is currently available. | |
StageVideoAvailabilityReason | This class defines an enumeration that indicates whether stage video is currently available. | |
StageWebView | The StageWebView class displays HTML content in a stage view port. | |
Video | The Video class displays live or recorded video in an application without embedding the video in your SWF file. | |
VideoCodec | The VideoCodec class is an enumeration of constant values of supported video codecs. | |
VideoStatus | This class defines an enumeration that describes possible levels of video decoding. | |
VideoStreamSettings | The VideoStreamSettings class enables specifying video compression settings for each NetStream. |