Package | com.brightcove.fl.advertising.adSwf |
Class | public class AdSwfMediaEvent |
Inheritance | AdSwfMediaEvent ![]() |
See also
Property | Defined By | ||
---|---|---|---|
volume : Number
The new volume after a volume change. | AdSwfMediaEvent |
Method | Defined By | ||
---|---|---|---|
AdSwfMediaEvent(pEventName:String) | AdSwfMediaEvent |
Constant | Defined By | ||
---|---|---|---|
PAUSE : String = adSwfMediaPause [static]
Dispatched when there's a request for media playback to pause. | AdSwfMediaEvent | ||
RESUME : String = adSwfMediaResume [static]
Dispatched when there's a request for media playback to resume. | AdSwfMediaEvent | ||
VOLUME_CHANGE : String = adSwfMediaVolumeChange [static]
Dispatched when there's a request for media playback to change volume. | AdSwfMediaEvent |
volume | property |
public var volume:Number
The new volume after a volume change. This is only set when the event type is MEDIA_VOLUME_CHANGE
AdSwfMediaEvent | () | Constructor |
public function AdSwfMediaEvent(pEventName:String)
pEventName:String |
PAUSE | Constant |
public static const PAUSE:String = adSwfMediaPause
Dispatched when there's a request for media playback to pause. This can occur from a user click or a call in the player API to videoModule.pause(true).
RESUME | Constant |
public static const RESUME:String = adSwfMediaResume
Dispatched when there's a request for media playback to resume. This can occur from a user click or a call in the player API to videoModule.pause(false).
VOLUME_CHANGE | Constant |
public static const VOLUME_CHANGE:String = adSwfMediaVolumeChange
Dispatched when there's a request for media playback to change volume. This can occur from a user click, a call in the player API to videoModule.setVolume(), or a call to videoModule.mute(). The new volume is set in volume. If the volume is muted, the volume will be 0.