DoubleClick Studio AS3 API Reference

class com.google.ads.studio.audio.AudioChannel

Provides a wrapper for the SoundTransform object.

Constants

NameValueDescription
MAX_VOLUME1

The max volume.

MIN_VOLUME0

The minimum volume.

Expand Events

Constructors

AudioChannel()

Creates a new AudioChannel to manage NetStream or camera audio.

Instance Methods

Defined in com.google.ads.studio.audio:AudioChannel

Expand
attachAudio(netStream:flash.net:NetStream) : void

Attaches a NetStream object to the AudioChannel.

getVolume() : Number

Gets the current volume of the SoundTransform object.

mute() : void

Mute the audio channel.

Expand
setVolume(volume:Number) : void

Sets the volume of the SoundTransform object.

unload() : void

Detaches the NetStream from the AudioChannel, nulls the SoundTransform object and the MovieClip it is associated to.

unmute() : void

Unmute the audio channel to last known non muted volume.

Back to top

  1. com.google.ads.studio
    1. AssetLoader
    2. ContextualDiscovery
    3. F2fEnabler
    4. FullScreenButton
    5. HtmlEnabler
    6. ProxyEnabler
    7. VpaidEnabler
  1. com.google.ads.studio.configurable
    1. Configurable
  1. com.google.ads.studio.display
    1. StudioLoader
  1. com.google.ads.studio.events
    1. StudioEvent
    2. StudioVideoEvent
  1. com.google.ads.studio.expanding
    1. Expanding
  1. com.google.ads.studio.localconnect
    1. LocalConnectWrapper
  1. com.google.ads.studio.video
    1. ConfigurableVideoPlayer
    2. EnhancedVideoController
    3. PlayPauseButton
    4. Playlist
    5. Scrubber
    6. SoundToggleButton
    7. VideoController
    8. VideoEntry
    9. VideoPlayer
    10. VideoPlayerAdvanced
  1. com.google.ads.studio.vpaid
    1. VpaidTimer