MovieClip +--mx.controls.streamingmedia.FullScreenToggle
FullScreenToggle toggles the display of the streaming media player between normal and fullscreen.
_isFull, _maximize, _minimize, _originalAutosize, _originalPlayerHeight, _originalPlayerWidth, _originalPlayerX, _originalPlayerY, _player, _waited_alpha, _currentframe, _droptarget, _focusrect, _framesloaded, _height, _lockroot, _name, _parent, _quality, _rotation, _soundbuftime, _target, _totalframes, _url, _visible, _width, _x, _xmouse, _xscale, _y, _ymouse, _yscale, enabled, focusEnabled, hitArea, tabChildren, tabEnabled, tabIndex, tooltipText, trackAsMenu, useHandCursorprivate _isFull:Booleanprivate _player:MediaPlaybackprivate _maximize:FullScreenToggleControlprivate _minimize:FullScreenToggleControlprivate _originalPlayerX:Numberprivate _originalPlayerY:Numberprivate _originalPlayerWidth:Numberprivate _originalPlayerHeight:Numberprivate _originalAutosize:Booleanprivate _waited:Booleanpublic function isFullScreen():Boolean
- Return
- True if the display is full screen; false if not.
public function displayFull(noAction:Boolean):VoidMake the display full screen. If the component is contained in a ScrollView it will be displayed in the ScrollView.
- Parameters
noActionTrue: don't act on the player. False: do.
private function getContainerInfo():ObjectDetermine if the player is contained in a ScrollView. If so, then compile the information necessary to expand it to fill the scroll view. If not, then provide the information to expand it to fill the entire Flash stage.
- Return
- An object with the following properties: container: The clip which will be filled width: The target width of the zoomed player height: The target height of the zoomed player x: The x-coordinate at which the playback should be placed y: The y-coordinate at which the playback should be placed origin: Boolean -- position at the stage origin
public function displayNormal(noAction:Boolean):VoidMake the display normal.
- Parameters
noActionTrue: don't act on the player. False: do.