| Pacote | mx.controls |
| Classe | classe pública VideoDisplay |
| Herança | VideoDisplay UIComponent FlexSprite Sprite DisplayObjectContainer InteractiveObject DisplayObject EventDispatcher Object |
Ocultar Sintaxe MXML
The <mx:VideoDisplay> tag inherits all the tag
attributes of its superclass, and adds the following tag attributes:
<mx:VideoDisplay
Propriedades
autoBandWidthDetection="false|true"
autoPlay="true|false"
autoRewind="true|false"
bufferTime="0.1"
cuePointManagerClass=""
cuePoints=""
idleTimeout="300000"
live="false|true"
maintainAspectRatio="true|false"
playheadTime=""
playheadUpdateInterval="250"
progressInterval="250"
source=""
totalTime=""
volume="0.75"
Estilos
backgroundAlpha="1.0"
backgroundColor="0x000000"
backgroundImage="undefined"
backgroundSize="undefined"
borderColor="undefined"
borderSides="left top right bottom"
borderSkin="ClassReference('mx.skins.halo.HaloBorder')"
borderStyle="none"
borderThickness="1"
cornerRadius="0"
dropShadowColor="0x000000"
dropShadowEnabled="false|true"
shadowDirection="center"
shadowDistance="2"
Eventos
close="No default"
complete="No default"
cuePoint="No default"
playheadUpdate="No default"
progress="No default"
ready="No default"
rewind="No default"
stateChange="No default"
/>
| Propriedade | Definido Por | ||
|---|---|---|---|
![]() | accessibilityProperties : AccessibilityProperties
As atuais opções de acessibilidade para esse objeto display.
| DisplayObject | |
![]() | activeEffects : Array
[leitura-somente]
A lista de efeitos que estão atualmente ocorrendo no componente, como um Array de instâncias EffectInstance.
| UIComponent | |
![]() | alpha : Number
Indica o valor de transparência alpha do objeto especificado.
| DisplayObject | |
| autoBandWidthDetection : Boolean
Specifies whether the VideoDisplay control should use the built-in
automatic bandwidth detection feature.
| VideoDisplay | ||
![]() | automationDelegate : Object
O objeto de delegação que maneja a funcionalidade relacionada à automatização.
| UIComponent | |
![]() | automationName : String
Nome que pode ser usado como um identificador para esse objeto.
| UIComponent | |
![]() | automationTabularData : Object
[leitura-somente]
Uma implementação da interface IAutomationTabularData, que pode ser usada para retomar os dados.
| UIComponent | |
![]() | automationValue : Array
[leitura-somente]
Esse valor geralmente corresponde a dada aparência do objeto e deve ser utilizável para correlacionar o identificador com o objeto como aparece visualmente dentro do aplicativo.
| UIComponent | |
| autoPlay : Boolean
Specifies whether the video should start playing immediately when the
source property is set.
| VideoDisplay | ||
| autoRewind : Boolean
Specifies whether the FLV file should be rewound to the first frame
when play stops, either by calling the stop() method or by
reaching the end of the stream.
| VideoDisplay | ||
![]() | baselinePosition : Number
[leitura-somente]
A coordenada y do baseline da primeira linha do texto do componente.
| UIComponent | |
![]() | blendMode : String
Um valor da classe BlendMode que especifica o modo blend a ser usado.
| DisplayObject | |
| borderMetrics : EdgeMetrics
[leitura-somente]
Retorna um objeto EdgeMetrics que tem quatro propriedades: left, top, right, e bottom.
| VideoDisplay | ||
| bufferTime : Number
Number of seconds of video to buffer in memory before starting to play
the video file.
| VideoDisplay | ||
![]() | buttonMode : Boolean
Especifica o modo de button desse sprite.
| Sprite | |
| bytesLoaded : int
[leitura-somente]
Number of bytes already loaded that are available for playing.
| VideoDisplay | ||
| bytesTotal : int
[leitura-somente]
Total number of bytes to load.
| VideoDisplay | ||
![]() | cacheAsBitmap : Boolean
Se colocado como true, Flash Player ou Adobe AIR faz o cache de uma representação interna de bitmap do objeto display.
| DisplayObject | |
![]() | cacheHeuristic : Boolean
[escrever-somente]
Usado pelo Flex para sugerir cache de bitmap para o objeto.
| UIComponent | |
![]() | cachePolicy : String
Especifica a política para criar o cache bitmap para esse objeto.
| UIComponent | |
![]() | className : String
[leitura-somente]
O nome da classe dessa instância, tal como "Button".
| UIComponent | |
![]() | constructor : Object
Uma referência ao objeto da classe ou função construtora para uma instância determinada de um objeto.
| Object | |
![]() | contentMouseX : Number
[leitura-somente]
Retorna a posição x do mouse, no sistema de coordenação do conteúdo.
| UIComponent | |
![]() | contentMouseY : Number
[leitura-somente]
Retorna a posição y do mouse, no sistema de coordenação do conteúdo.
| UIComponent | |
![]() | contextMenu : NativeMenu
Especifica o context menu associado a esse objeto.
| InteractiveObject | |
| cuePointManager : Object
[leitura-somente]
The instance of the CuePointManager class associated with
the VideoPlayer control.
| VideoDisplay | ||
| cuePointManagerClasse : Class
Cue point manager to use.
| VideoDisplay | ||
| cuePoints : Array
The Array of cue points associated with the control.
| VideoDisplay | ||
![]() | currentState : String
O atual estado de visão do componente.
| UIComponent | |
![]() | cursorManager : ICursorManager [leitura-somente]
Pega o CursorManager que controla o cursor para esse componente e seus semelhantes.
| UIComponent | |
![]() | descriptor : UIComponentDescriptor
Referência do UIComponentDescriptor, se houver, que foi usado pelo método createComponentFromDescriptor() para criar essa instância UIComponent.
| UIComponent | |
![]() | document : Object
Uma referência ao objeto de documento associado a esse UIComponent.
| UIComponent | |
![]() | doubleClickEnabled : Boolean
Especifica se o objeto UIComponent recebe eventos doubleClick.
| UIComponent | |
![]() | dropTarget : DisplayObject
[leitura-somente]
Especifica o objeto display sobre qual o sprite está sendo arrastado, ou sobre qual o sprite foi largado.
| Sprite | |
![]() | enabled : Boolean
Se o componente pode aceitar interação do usuário.
| UIComponent | |
![]() | errorString : String
O texto que será mostrado por uma dica de erro de um componente quando um componente for monitorado por um Validator e a validação falha.
| UIComponent | |
![]() | explicitHeight : Number
Número que especifica a altura explícita do componente, em pixels, na coordenada do componente.
| UIComponent | |
![]() | explicitMaxHeight : Number
Número que especifica a altura máxima do componente, em pixels, na coordenada do componente.
| UIComponent | |
![]() | explicitMaxWidth : Number
Número que especifica a largura máxima do componente, em pixels, na coordenada do componente.
| UIComponent | |
![]() | explicitMinHeight : Number
Número que especifica a altura mínima do componente, em pixels, na coordenadas do componente.
| UIComponent | |
![]() | explicitMinWidth : Number
Número que especifica a largura mínima do componente, em pixels, na coordenadas do componente.
| UIComponent | |
![]() | explicitWidth : Number
Número que especifica a largura explícita do componente, em pixels, na coordenadas do componente.
| UIComponent | |
![]() | filters : Array
Um array incluindo o índice que contém cada objeto de filtro atualmente associado ao objeto display.
| DisplayObject | |
![]() | flexContextMenu : IFlexContextMenu
O context menu para esse UIComponent.
| UIComponent | |
![]() | focusEnabled : Boolean
Indica se o componente pode receber foco utilizando a tecla Tab.
| UIComponent | |
![]() | focusManager : IFocusManager
Pega o FocusManager que controla o foco para esse componente e seus semelhantes.
| UIComponent | |
![]() | focusPane : Sprite
O painel de foco associado a esse objeto.
| UIComponent | |
![]() | focusRect : Object
Especifica se esse objeto mostra um retângulo de foco.
| InteractiveObject | |
![]() | graphics : Graphics
[leitura-somente]
Especifica o objeto Graphics que pertence a esse sprite onde comandos de desenho em vetor podem ocorrer.
| Sprite | |
![]() | height : Number
Número que especifica a altura do componente, em pixels, na coordenadas do parent.
| UIComponent | |
![]() | hitArea : Sprite
Designa outro sprite para servir como hit area para um sprite.
| Sprite | |
![]() | id : String
ID do componente.
| UIComponent | |
| idleTimeout : int
Specifies the amount of time, in milliseconds, that the connection is
idle (playing is paused or stopped) before the connection to the Flash
Media Server is stopped.
| VideoDisplay | ||
![]() | includeInLayout : Boolean
Especifica se esse componente está incluso no layout do parent container.
| UIComponent | |
![]() | inheritingStyles : Object
O início da corrente de estilos herdados da corrente desse componente.
| UIComponent | |
![]() | initialized : Boolean
Um indicador que determina se um objeto passou por todas as três fases do layout: commitment, measurement, e layout (provido que algum foi requerido).
| UIComponent | |
![]() | instanceIndex : int
[leitura-somente]
O índice do componente repetido.
| UIComponent | |
![]() | instanceIndices : Array
Um Array contendo os indices necessários para referenciar esse objeto UIComponent de seus documentos parent.
| UIComponent | |
![]() | isDocument : Boolean
[leitura-somente]
Determina se essa instância UIComponent é um objeto de documento, isso é, se está no topo da hierarquia de um aplicativo Flex, componente MXML, ou componente ActionScript.
| UIComponent | |
![]() | isPopUp : Boolean
Colocado para true pelo PopUpManager para indicar que aquele componente foi popped up.
| UIComponent | |
| live : Boolean
Specifies whether the control is streaming a live feed.
| VideoDisplay | ||
![]() | loaderInfo : LoaderInfo
[leitura-somente] Retorna um objeto LoaderInfo contendo informações sobre o carregamento de um arquivo para qual esse objeto display pertença.
| DisplayObject | |
| maintainAspectRatio : Boolean
Specifies whether the control should maintain the original aspect ratio
while resizing the video.
| VideoDisplay | ||
![]() | mask : DisplayObject
O objeto calling display é mascarado pelo especificado objeto de máscara.
| DisplayObject | |
![]() | maxHeight : Number
Número que especifica a altura máxima do componente, em pixels, na coordenada do componente.
| UIComponent | |
![]() | maxWidth : Number
Número que especifica a largura máxima do componente, em pixels, na coordenada do componente.
| UIComponent | |
![]() | measuredHeight : Number
A altura padrão do componente, em pixels.
| UIComponent | |
![]() | measuredMinHeight : Number
A altura mínima padrão do componente, em pixels.
| UIComponent | |
![]() | measuredMinWidth : Number
A largura mínima padrão do componente, em pixels.
| UIComponent | |
![]() | measuredWidth : Number
A largura padrão do componente, em pixels.
| UIComponent | |
| metadata : Object
[leitura-somente]
An object that contains a metadata information packet that is received from a call to
the NetSteam.onMetaData() callback method, if available.
| VideoDisplay | ||
![]() | minHeight : Number
Número que especifica a altura mínima do componente, em pixels, na coordenadas do componente.
| UIComponent | |
![]() | minWidth : Number
Número que especifica a largura mínima do componente, em pixels, na coordenadas do componente.
| UIComponent | |
![]() | moduleFactory : IFlexModuleFactory
O moduleFactory que é usado para criar TextFields no contexto SWF correto.
| UIComponent | |
![]() | mouseChildren : Boolean
Determina se os children do objeto são mouse permitidos.
| DisplayObjectContainer | |
![]() | mouseEnabled : Boolean
Especifica se esse objeto recebe mensagens de mouse.
| InteractiveObject | |
![]() | mouseFocusEnabled : Boolean
Se pode ou não receber foco quando clicado.
| UIComponent | |
![]() | mouseX : Number
[leitura-somente]
Indica a coordenada x da posição do mouse, em pixels.
| DisplayObject | |
![]() | mouseY : Number
[leitura-somente]
Indica a coordenada y da posição do mouse, em pixels.
| DisplayObject | |
![]() | name : String
Indica o nome da instância do DisplayObject.
| DisplayObject | |
![]() | nestLevel : int
Profundidade desse objeto na hierarquia do containment.
| UIComponent | |
![]() | nonInheritingStyles : Object
O começo da corrente do componente de estilos não herdados.
| UIComponent | |
![]() | numAutomationChildren : int
[leitura-somente]
O número de children de automatização que esse container tem.
| UIComponent | |
![]() | numChildren : int
[leitura-somente]
Retorna o número de children desse objeto.
| DisplayObjectContainer | |
![]() | opaqueBackground : Object
Especifica se o objeto display é opaco com uma cor determinada de fundo.
| DisplayObject | |
![]() | owner : DisplayObjectContainer
O dono desse UIComponent.
| UIComponent | |
![]() | parent : DisplayObjectContainer
[leitura-somente]
O container ou componente parent para esse componente.
| UIComponent | |
![]() | parentApplication : Object
[leitura-somente]
Uma referência ao objeto Application que contém essa instância UIComponent.
| UIComponent | |
![]() | parentDocument : Object
[leitura-somente]
Uma referência ao objeto de documento parent para esse UIComponent.
| UIComponent | |
![]() | percentHeight : Number
Número que especifica a altura de um componente como uma porcentagem do tamanho de seu parent.
| UIComponent | |
![]() | percentWidth : Number
Número que especifica a largura de um componente como porcentagem do tamanho do parent.
| UIComponent | |
| playheadTime : Number
Playhead position, measured in seconds, since the video starting
playing.
| VideoDisplay | ||
| playheadUpdateInterval : int
Specifies the amount of time, in milliseconds,
between each playheadUpdate event.
| VideoDisplay | ||
| playing : Boolean
[leitura-somente]
If true, the media is currently playing.
| VideoDisplay | ||
![]() | processedDescriptors : Boolean
Colocado para true após criação de child imediato ou atrasado, dependendo de qual aconteça.
| UIComponent | |
| progressInterval : int
Specifies the amount of time, in milliseconds,
between each progress event.
| VideoDisplay | ||
![]() | prototype : Object
[static]
Uma referência ao objeto protótipo de uma classe ou função de objeto.
| Object | |
![]() | repeater : IRepeater
[leitura-somente]
Uma referência ao objeto Repeater no documento parent que produziu esse UIComponent.
| UIComponent | |
![]() | repeaterIndex : int
[leitura-somente]
O indice do item no data provider do Repeater que produziu esse UIComponent.
| UIComponent | |
![]() | repeaterIndices : Array
Um Array contendo os índices dos itens no data provider dos Repeater no documento parent que produziu esse UIComponent.
| UIComponent | |
![]() | repeaters : Array
Um Array contendo referências aos objetos Repeater no documento parent que produziu esse UIComponent.
| UIComponent | |
![]() | root : DisplayObject
[leitura-somente]
Para um objeto display em um arquivo SWF carregado, a propriedade root é o objeto display no topo na porção da estrutura de tree do display list representado por aquele arquivo SWF.
| DisplayObject | |
![]() | rotation : Number
Indica a rotação da instância DisplayObject, em graus, de sua orientação original.
| DisplayObject | |
![]() | scale9Grid : Rectangle
O atual grid de escala que está em efeito.
| DisplayObject | |
![]() | scaleX : Number
Número que especifica o fator de escala horizontal.
| UIComponent | |
![]() | scaleY : Number
Número que especifica o fator de escala vertical.
| UIComponent | |
![]() | screen : Rectangle
[leitura-somente]
Retorna um objeto que contém o tamanho e posição da base da superfície de desenho para esse objeto.
| UIComponent | |
![]() | scrollRect : Rectangle
Os limites de área do retângulo scroll do objeto display.
| DisplayObject | |
![]() | showInAutomationHierarchy : Boolean
Um indicador que determina se um objeto de automatização mostra a hierarquia de automatização.
| UIComponent | |
![]() | soundTransform : SoundTransform
Controles de som dentro desse sprite.
| Sprite | |
| source : String
Relative path and filename of the FLV file to stream.
| VideoDisplay | ||
![]() | stage : Stage
[leitura-somente]
O Stage do objeto display.
| DisplayObject | |
| state : String
[leitura-somente]
The current state of the VideoDisplay control.
| VideoDisplay | ||
| stateResponsive : Boolean
[leitura-somente]
Specifies whether the VideoDisplay control is in a responsive state,
true, or in the unresponsive state, false.
| VideoDisplay | ||
![]() | states : Array
Os estados de visão que são definidos para esse componente.
| UIComponent | |
![]() | styleDeclaration : CSSStyleDeclaration
Armazenagem para os estilos de herança inline nesse objeto.
| UIComponent | |
![]() | styleName : Object
O estilo da classe usado por esse componente.
| UIComponent | |
![]() | systemManager : ISystemManager
Retorna o objeto SystemManager usado por esse componente.
| UIComponent | |
![]() | tabChildren : Boolean
Determina se os children do objeto permitem uso da tecla tab.
| DisplayObjectContainer | |
![]() | tabEnabled : Boolean
Especifica se esse objeto está na ordem tab.
| InteractiveObject | |
![]() | tabIndex : int
Especifica a a disposição tab de objetos em um arquivo SWF.
| InteractiveObject | |
![]() | textSnapshot : TextSnapshot
[leitura-somente]
Retorna um objeto TextSnapshot para essa instância DisplayObjectContainer.
| DisplayObjectContainer | |
![]() | toolTip : String
Texto a ser mostrado no ToolTip.
| UIComponent | |
| totalTime : Number
Total length of the media, in seconds.
| VideoDisplay | ||
![]() | transform : Transform
Um objeto com propriedades pertencentes a matriz do objeto display, transformação de cor, e fronteira de pixels.
| DisplayObject | |
![]() | transitions : Array
Um Array de objetos Transition, onde cada objeto Transition define um conjunto de efeitos a começarem quando ocorre uma mudança no estado de visão.
| UIComponent | |
![]() | tweeningProperties : Array
Array de propriedades que estão atualmente sofrendo tween nesse objeto.
| UIComponent | |
![]() | uid : String
Um identificador exclusivo para o objeto.
| UIComponent | |
![]() | updateCompletePendingFlag : Boolean
Um indicador que determina se um objeto passou por todas as três fases de validação de layout (provido que algum foi requerido).
| UIComponent | |
![]() | useHandCursor : Boolean
Um valor Boolean que indica se o ponteiro (hand cursor) aparece quando o mouse faz o roll over sobre um sprite no qual a propriedade buttonMode é colocado como true.
| Sprite | |
![]() | validationSubField : String
Usado por um validor para associar um subcampo a esse componente.
| UIComponent | |
| videoHeight : int
[leitura-somente]
Height of the loaded FLV file.
| VideoDisplay | ||
| videoWidth : int
[leitura-somente]
Width of the loaded FLV file.
| VideoDisplay | ||
![]() | visible : Boolean
Controla a visibilidade desse UIComponent.
| UIComponent | |
| volume : Number
The volume level, specified as an value between 0 and 1.
| VideoDisplay | ||
![]() | width : Number
Número que especifica a largura do componente, em pixels, na coordenadas do parent.
| UIComponent | |
![]() | x : Number
Número que especifica a posição horizontal do componente, em pixels, dentro de seu parent container.
| UIComponent | |
![]() | y : Number
Número que especifica a posição vertical do componente, em pixels, dentro de seu parent container.
| UIComponent | |
| Propriedade | Definido Por | ||
|---|---|---|---|
| border : IFlexDisplayObject
The border object for the control.
| VideoDisplay | ||
![]() | resourceManager : IResourceManager
[escrever-somente]
Uma referência ao objeto que gerencia todos os recursos localizados do aplicativo.
| UIComponent | |
![]() | unscaledHeight : Number
[leitura-somente]
Um método de conveniência para determinar a altura não redimensionada do componente.
| UIComponent | |
![]() | unscaledWidth : Number
[leitura-somente]
Um método de conveniência para determinar a largura não redimensionada de um componente. Todo desenho e child layout de um componente deveriam ser feitos dentro de um retângulo limite dessa largura, que também é passado como um argumento para updateDisplayList().
| UIComponent | |
| Método | Definido Por | ||
|---|---|---|---|
|
Constructor.
| VideoDisplay | ||
![]() |
Adiciona uma instância child DisplayObject a essa instância DisplayObjectContainer.
| DisplayObjectContainer | |
![]() |
Adiciona uma instância child DisplayObject a essa instância DisplayObjectContainer.
| DisplayObjectContainer | |
![]() |
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra um objeto event listener com um objeto do EventDispatcher para que o listener receba notificação de um evento.
| EventDispatcher | |
![]() |
Indica se as restrições de segurança causariam qualquer objeto display a ser omitido da lista retornada chamando o método DisplayObjectContainer.getObjectUnderPoint() com o point especificado.
| DisplayObjectContainer | |
|
Specifies to play a video stream from a camera.
| VideoDisplay | ||
![]() |
Coloca na fila uma função para ser chamada depois.
| UIComponent | |
![]() |
Deleta uma propriedade de estilo dessa instância de componente.
| UIComponent | |
|
Forces the close of an input stream and connection to Flash Media
Server.
| VideoDisplay | ||
![]() |
Determina se o objeto display especificado é um child da instânica DisplayObjectContainer ou a instância em si mesma.
| DisplayObjectContainer | |
![]() |
Converte um objeto Point das coordenadas do conteúdo para coordenadas global.
| UIComponent | |
![]() |
Converte um objeto Point de conteúdo para coordenadas locais.
| UIComponent | |
![]() |
Retorna um conjunto de propriedades que identificam o child dentro desse container.
| UIComponent | |
![]() |
Cria uma referência de id a esse objeto IUIComponent em seu objeto de documento parent.
| UIComponent | |
![]() |
Deleta a referência id para esse objeto IUIComponent em seu objeto de documento parent.
| UIComponent | |
![]() |
Retorna um objeto UITextFormat correspondendo aos estilos de texto para esse UIComponent.
| UIComponent | |
![]() |
Despacha um evento no fluxo de eventos.
| UIComponent | |
![]() |
Mostra ou esconde o indicador de foco em volta desse componente.
| UIComponent | |
![]() |
drawRoundRect(x:Number, y:Number, width:Number, height:Number, cornerRadius:Object = null, color:Object = null, alpha:Object = null, gradientMatrix:Matrix = null, gradientType:String = "linear", gradientRatios:Array = null, hole:Object = null):void
Programadamente desenha um retângulo para dentro desse objeto Graphics do skin.
| UIComponent | |
![]() |
Chamado pela instância de efeito quando pára a execução no componente.
| UIComponent | |
![]() |
Chamado pela instância de efeito quando começa a execução no componente.
| UIComponent | |
![]() |
Termina todos os efeitos atualmente em execução no componente.
| UIComponent | |
![]() |
Executa a união de dados para dentro desse objeto UIComponent.
| UIComponent | |
![]() |
Chamado depois que a impressão estiver completa.
| UIComponent | |
![]() |
Providencia o objeto de automatização no índice especificado.
| UIComponent | |
![]() |
Retorna um retângulo que define a área do objeto display relativo ao sistema de coordenadas do objeto targetCoordinateSpace.
| DisplayObject | |
![]() |
Retorna o objeto child display que existe no índice especificado.
| DisplayObjectContainer | |
![]() |
Retorna o objeto display child que existe com o nome especificado.
| DisplayObjectContainer | |
![]() |
Retorna a posição do índice de uma instância child DisplayObject.
| DisplayObjectContainer | |
![]() |
Acha os seletores de tipo para essa instância UIComponent.
| UIComponent | |
![]() |
Retorna um valor layout constraint, que é o mesmo que pegar o estilo contraint para esse componente.
| UIComponent | |
![]() |
Um método de conveniência para determinar usar a altura explícita ou medida.
| UIComponent | |
![]() |
Um método de conveniência para determinar usar a largura explícita ou medida.
| UIComponent | |
![]() |
Pega o objeto que atualmente tem o foco.
| UIComponent | |
![]() |
Retorna um array de objetos que ficam por baixo do point especificado e são children (ou grandchildren, e assim por diante) dessa instância DisplayObjectContainer.
| DisplayObjectContainer | |
![]() |
Retorna um retângulo que define os limites do objeto display, baseado no sistema de coordenadas definido pelo parâmetro targetCoordinateSpace, excluindo qualquer traço em formas.
| DisplayObject | |
![]() |
Retorna um item no dataProvider que foi usado pelo Repeater específico para produzir esse Repeater, ou null se esse Repeater não é repetido.
| UIComponent | |
![]() |
Pega uma propriedade de estilo que tem sido colocado em qualquer lugar na corrente lookup de estilo desse componente
| UIComponent | |
![]() |
Converte um objeto Point de coordenadas global a conteúdo.
| UIComponent | |
![]() |
Converte o objeto point das coordenadas Stage (global) para as coordenadas do objeto display (local).
| DisplayObject | |
![]() |
Verifica se o objeto do EventDispatcher tem listeners registrados para um tipo determinado de evento.
| EventDispatcher | |
![]() |
Indica se um objeto tem uma propriedade específica definida.
| Object | |
![]() |
Avalia o objeto display para ver se sobrepõe ou intersecta com o objeto obj display.
| DisplayObject | |
![]() |
Avalia o objeto display para ver se sobrepõe o intersecta com o ponto especificado pelos parâmetros x e y.
| DisplayObject | |
![]() |
Retorna um box Matrix que pode ser passado para o método drawRoundRect() como o parâmetro rot quando desenhando um gradiente horizontal.
| UIComponent | |
![]() |
Inicializa a estrutura interna desse componente.
| UIComponent | |
![]() |
Inicializa várias propriedades que ficam de olho em instância repetidas desse componente.
| UIComponent | |
![]() |
Marca um componente para que seu método updateDisplayList() seja chamado durante um atualização de tela tardia.
| UIComponent | |
![]() |
Marca um componente para que seu método commitProperties() seja chamado durante um atualização de tela tardia.
| UIComponent | |
![]() |
Marca um componente para que seu método measure() seja chamado durante um atualização de tela tardia.
| UIComponent | |
![]() |
Indica se uma instância da classe Object está na corrente do protótipo do objeto determinado como parâmetro.
| Object | |
|
Loads the media file without playing it.
| VideoDisplay | ||
![]() |
Converte um objeto Point de coordenadas local para conteúdo.
| UIComponent | |
![]() |
Converte o objeto point das coordenadas de um objeto display (local) para as coordenadas Stage (global).
| DisplayObject | |
![]() |
Mede o texto HTML especificado, que pode conter tags HTML tal como <font> e <b>, supondo que é mostrado em um UITextField de linha única usando um UITextFormat determinado pelos estilos desse UIComponent.
| UIComponent | |
![]() |
Mede o texto especificado, supondo que é mostrado em um UITextField de linha única usando um UITextFormat determinado pelos estilos desse UIComponent.
| UIComponent | |
![]() |
Move o componente para uma posição especificada dentro de seu parent.
| UIComponent | |
![]() |
Propaga mudança do estilo para os children.
| UIComponent | |
![]() |
Retornam true se a corrente de propriedades de posse apontam do child para esse UIComponent.
| UIComponent | |
![]() |
Chamado pelo Flex quando um objeto UIComponent é adicionado ou removido de um parent.
| UIComponent | |
|
Pauses playback without moving the playhead.
| VideoDisplay | ||
|
Plays the media file.
| VideoDisplay | ||
![]() |
Preparam um IFlexDisplayObject para imprimir.
| UIComponent | |
![]() |
Indica se a propriedade especificada existe e se é enumerável.
| Object | |
![]() |
Constrói ou reconstrói o cache do estilo CSS para esse componente e, se o parâmetro recursivo for true, assim também para todos os descendentes desse componente.
| UIComponent | |
![]() |
Para cada evento efeito, registra o EffectManager como um dos event listeners.
| UIComponent | |
![]() |
Remove a instância child DisplayObject especificado da lista child da instância DisplayObjectContainer.
| DisplayObjectContainer | |
![]() |
Remove um child DisplayObject da posição do índice especificada na lista child do DisplayObjectContainer.
| DisplayObjectContainer | |
![]() |
Remove um listener do objeto do EventDispatcher.
| EventDispatcher | |
![]() |
Faz o replay do evento específico.
| UIComponent | |
![]() |
Resolve um child usando o id providenciado.
| UIComponent | |
![]() |
[static]
Termina o processamento de fundo de métodos colocados em fila pelo callLater(), depois chama suspendBackgroundProcessing().
| UIComponent | |
![]() |
Coloca o tamanho do objeto.
| UIComponent | |
![]() |
Muda a posição de um child existente no container do objeto display.
| DisplayObjectContainer | |
![]() |
Coloca um valor de limitação do layout, que é o mesmo que colocar um estilo de limitação para esse componente.
| UIComponent | |
![]() |
Determina o estado atual.
| UIComponent | |
![]() |
Determina o foco para esse componente.
| UIComponent | |
![]() |
Determina a disponibilidade de uma propriedade dinâmica para operações em loop.
| Object | |
![]() |
Ajusta uma propriedade de estilo nessa instância do componente.
| UIComponent | |
![]() |
Chamado quando a propriedade de visibilidade muda.
| UIComponent | |
![]() |
Deixa o usuário arrastar o sprite especificado.
| Sprite | |
|
Stops playback.
| VideoDisplay | ||
![]() |
Finaliza o método startDrag().
| Sprite | |
![]() |
Detecta mudanças nas propriedades de estilo.
| UIComponent | |
![]() |
Flex chama o método stylesInitialized() quando os estilos para um componente são primeiramente inicializados.
| UIComponent | |
![]() |
[static]
Bloqueia o processamento de fundo de métodos colocados em fila pelo callLater(), até resumeBackgroundProcessing() ser chamado.
| UIComponent | |
![]() |
Troca a ordem z (ordem de frente para trás) de dois objetos child especificados.
| DisplayObjectContainer | |
![]() |
Troca a ordem z (ordem de frente para trás) dos objetos child em duas posições índice especificadas na lista child.
| DisplayObjectContainer | |
![]() |
Retorna um string indicando o local desse objeto dentro da hierarquia do DisplayObjects no Application.
| FlexSprite | |
![]() |
Valida a posição e tamanho de children e desenha outros visuais.
| UIComponent | |
![]() |
Validar e fazer o update de propriedades e layout desse objeto e redesenhá-lo, se necessário.
| UIComponent | |
![]() |
Usado pela lógica do layout para validar as propriedades de um componente chamando o método commitProperties().
| UIComponent | |
![]() |
Valida o tamanho medido do componente se o método LayoutManager.invalidateSize() for chamado com esse ILayoutManagerClient, depois o método validateSize é chamado quando é hora de fazer medidas.
| UIComponent | |
![]() |
Maneja os eventos válidos e inválidos de um validator designado a esse componente.
| UIComponent | |
![]() |
Retorna o valor primitivo de um objeto específico.
| Object | |
![]() |
Retorna um box Matrix que pode ser passado ao drawRoundRect() como o parâmetro rot quando desenhando um gradiente vertical.
| UIComponent | |
![]() |
Verifica se um event listener está registrado com esse objeto do EventDispatcher ou qualquer um de seus parents para o determinado tipo de evento.
| EventDispatcher | |
| Método | Definido Por | ||
|---|---|---|---|
![]() |
Ajusta o retângulo de foco.
| UIComponent | |
![]() |
Esse é um método interno usado pelo Flex framework para suportar o efeito Dissolve.
| UIComponent | |
![]() |
Executa qualquer processo final depois que objetos child forem criados.
| UIComponent | |
![]() |
Processa as propriedades determinadas no componente.
| UIComponent | |
|
Cria a borda para esse componente.
| VideoDisplay | ||
![]() |
Cria objetos child para o componente.
| UIComponent | |
![]() |
Cria um novo objeto usando um contexto baseado na fonte embeded sendo usada.
| UIComponent | |
![]() |
Cria o objeto usando um dado moduleFactory.
| UIComponent | |
![]() |
O event handler chamado quando um objeto UIComponent recebe foco.
| UIComponent | |
![]() |
O event handler chamado quando um objeto UIComponent perde foco.
| UIComponent | |
![]() |
Finaliza a inicialização desse componente.
| UIComponent | |
![]() |
Inicializa o código de acessabilidade desse componente.
| UIComponent | |
![]() |
Tipicamente anulado por componentes contendo objetos UITextField, onde os objetos UITextField recebem foco.
| UIComponent | |
![]() |
O event handler chamado para um evento keyDown.
| UIComponent | |
![]() |
Um event handler chamado para um evento keyUp.
| UIComponent | |
|
Responds to size changes by setting the positions and sizes of
the borders.
| VideoDisplay | ||
![]() |
Calcula o tamanho padrão, e opcionalmente o tamanho mínimo padrão do componente.
| UIComponent | |
![]() |
Esse método é chamado quando um UIComponent é construido, e de novo quando o ResourceManager despacha um evento "change" para indicar que os recursos localizados têm mudado de alguma forma.
| UIComponent | |
![]() |
Desenha o objeto e/ou tamanha e posiciona seus children.
| UIComponent | |
| Evento | Sumário | Definido Por | ||
|---|---|---|---|---|
![]() | Despachado quando o Flash Player ou um aplicativo AIR obtém foco do sistema operacional e se torna ativo. | EventDispatcher | ||
![]() | Despachado quando o componente é adicionado ao container como um child de conteúdo usando o método addChild() ou addChildAt(). | UIComponent | ||
![]() | Despachado quando um objeto display é adicionado à lista display. | DisplayObject | ||
![]() | Despachado quando um objeto display é adicionado à lista display do stage, de forma direta ou através da adição de um sub tree no qual o objeto display está contido. | DisplayObject | ||
![]() | Despachado quando o usuário pressiona e solta o principal botão do despositivo de apontamento do usuário sobre o mesmo InteractiveObject. | InteractiveObject | ||
| Dispatched when the NetConnection object is closed, whether by timing out or by calling the close() method. | VideoDisplay | |||
| Dispatched when the playhead reaches the end of the FLV file. | VideoDisplay | |||
![]() | Despachado quando o usuário seleciona o context menu associado a esse objeto interativo no aplicativo AIR. | InteractiveObject | ||
![]() | Despachado quando o componente terminou sua contrução, processamento de propriedade, medidas, layout e desenho. | UIComponent | ||
| Dispatched when the value of a cue point's time property is equal to the current playhead location. | VideoDisplay | |||
![]() | Despachado após a mudança do estado de visão. | UIComponent | ||
![]() | Despachado após a mudança da propriedade currentState, mas antes da mudança do estado de visão. | UIComponent | ||
![]() | Despachado quando o Flash Player ou um aplicativo AIR perde o foco do sistema operacional e está se tornando inativo. | EventDispatcher | ||
![]() | Despachado quando o usuário pressiona e libera duas vezes em sucessão rápida o principal botão de um dispositivo e apontamento sobre o mesmo InteractiveObject quando o indicador daquele objeto doubleClickEnabled foi ajustado para true. | InteractiveObject | ||
![]() | Despachado pelo iniciador de arrasto (o componente que é a fonte dos dados sendo arrastados) quando a operação de arrasto for completada, ou quando você largar os dados arrastados em um alvo onde o item será largado ou quando você termina a operação drag-and-drop sem fazer largar o item. | UIComponent | ||
![]() | Despachado pelo alvo onde o item será largado quando o usuário solta o mouse por cima dele. | UIComponent | ||
![]() | Despachado por um componente quando o usuário move o mouse sobre o componente durante uma operação de arrasto. | UIComponent | ||
![]() | Despachado pelo componente quando o usuário arrasta para fora do componente, mas não larga os dados no alvo. | UIComponent | ||
![]() | Despachado por um componente quando o usuário move o mouse enquanto sobre o componente durante uma operação de arrasto. | UIComponent | ||
![]() | Despachado por um iniciador de arrasto ao começar a operação de arrasto. | UIComponent | ||
![]() | Despachado após o término de um efeito. | UIComponent | ||
![]() | Despachado logo antes do início de um efeito. | UIComponent | ||
![]() | Despachado quando o playhead está entrando em um frame novo. | DisplayObject | ||
![]() | Despachado após o componente ter retornado ao estado de visão root. | UIComponent | ||
![]() | Despachado antes do componente sair do estado de visão root. | UIComponent | ||
![]() | Despachado após o objeto display receber foco. | InteractiveObject | ||
![]() | Despachado após um objeto display perder o foco. | InteractiveObject | ||
![]() | Despachado quando um estado do objeto muda de visível para invisível. | UIComponent | ||
![]() | Despachado quando o componente terminou sua construção e tem todas as propriedades de inicialização ajustadas. | UIComponent | ||
![]() | Despachado quando um componente é monitorado por um Validator e a validação falha. | UIComponent | ||
![]() | Despachado quando o usuário pressiona uma tecla. | InteractiveObject | ||
![]() | Despachado quando o usuário tenta mudar o foco usando a navegação do teclado. | InteractiveObject | ||
![]() | Despachado quando o usuário solta uma tecla. | InteractiveObject | ||
| Dispatched the first time metadata in the FLV file is reached. | VideoDisplay | |||
![]() | Despachado quando o usuário pressiona e solta o botão do meio de um dispositivo de apontamento sobre o mesmo InteractiveObject. | InteractiveObject | ||
![]() | Despachado quando o usuário pressionar o dispositivo de apontamento do meio sobre uma instância InteractivObject. | InteractiveObject | ||
![]() | Despachado quando o usuário solta o botão do dispositivo de apontamento sobre uma instância InteractiveObject. | InteractiveObject | ||
![]() | Despachado quando o usuário pressiona o dispositivo de apontamento sobre uma instância InteractiveObject. | InteractiveObject | ||
![]() | Despachado de um componente aberto usando o PopUpManager quando o usuário clica para fora dele. | UIComponent | ||
![]() | Despachado quando o usuário tenta mudar o foco usando um dispositivo de apontemento. | InteractiveObject | ||
![]() | Despachado quando o usuário move o dispositivo de apontemento enquanto está sobre um InteractiveObject. | InteractiveObject | ||
![]() | Despachado quando o usuário move um dispositivo de apontamento para longe de uma instância InteractiveObject. | InteractiveObject | ||
![]() | Despachado quando o usuário move um dispositivo de apontamento sobre a instância InteractiveObject. | InteractiveObject | ||
![]() | Despachado quando o usuário solta o botão do dispositivo de apontamento sobre uma instância InteractiveObject. | InteractiveObject | ||
![]() | Despachado quando a roda do mouse é girada sobre uma instância InteractiveObject. | InteractiveObject | ||
![]() | Despachado do componente aberto usando o PopUpManager quando o usuário faz o scroll na roda do mouse fora dele. | UIComponent | ||
![]() | Despachado quando o objeto se moveu. | UIComponent | ||
![]() | Despachado pelo iniciador de arrasto InteractiveObject quando o usuário solta o gesto de arrasto. | InteractiveObject | ||
![]() | Despachado pelo alvo InteractiveObject quando um objeto arrastado é largado nele este ato foi aceitado com uma chamada ao DragManager.acceptDragDrop(). | InteractiveObject | ||
![]() | Despachado por um InteractiveObject quando um gesto de arrasto adentra suas fronteiras. | InteractiveObject | ||
![]() | Despachado por um InteractiveObject quando um gesto de arrasto deixa suas fronteiras. | InteractiveObject | ||
![]() | Despachado por um InteractiveObject continuamente enquanto um gesto de arrasto permanece dentro de sua fronteira. | InteractiveObject | ||
![]() | Despachado no início de operação de arrasto pelo InteractiveObject que é especificado como aquele que começa o arrasto na chamada DragManager.doDrag(). | InteractiveObject | ||
![]() | Despachado durante uma operação de arrasto pelo InteractiveObject que é especificado como aquele que inica o arrasto na chamada DragManager.doDrag(). | InteractiveObject | ||
| Dispatched continuosly while the video is playing. | VideoDisplay | |||
![]() | Despachado no iníncio da seqência de inicialização do componente. | UIComponent | ||
| Dispatched continuously until the FLV file has downloaded completely. | VideoDisplay | |||
| Dispatched when the FLV file is loaded and ready to play. | VideoDisplay | |||
![]() | Despachado quando o componente é removido de um container como um child de conteúdo usando o método removeChild() ou removeChildAt(). | UIComponent | ||
![]() | Despachado quando um objeto display está prestes a ser removido da lista display. | DisplayObject | ||
![]() | Despachado quando um objeto display está prestes a ser removido da lista display, de forma direta ou através da remoção de um sub tree no qual o objeto display está contido. | DisplayObject | ||
![]() | Despachado quando a lista display está prestes a ser atualizada e representada. | DisplayObject | ||
![]() | Despachado quando o componente muda de tamanho. | UIComponent | ||
| Dispatched when the control autorewinds. | VideoDisplay | |||
![]() | Despachado quando o usuário pressiona e solta o botão direito de um dispositivo de apontamento do usuário sobre o mesmo InteractiveObject. | InteractiveObject | ||
![]() | Despachado quando o usuário pressiona o dispositivo de apontamento sobre uma instância InteractiveObject. | InteractiveObject | ||
![]() | Despachado quando o usuário solta o botão do dispositivo de apontamento sobre uma instância InteractiveObject. | InteractiveObject | ||
![]() | Despachado quando o usuário move um dispositivo de apontamento para longe de uma instância InteractiveObject. | InteractiveObject | ||
![]() | Despachado quando o usuário move um dispositivo de apontamento sobre a instância InteractiveObject. | InteractiveObject | ||
![]() | Despachado quando o estado de um objeto muda de invisível para visível. | UIComponent | ||
| Dispatched when the state of the control changes. | VideoDisplay | |||
![]() | Despachado quando o valor do indicador do objeto tabChildren muda. | InteractiveObject | ||
![]() | Despachado quando o indicador do objeto tabEnabled muda. | InteractiveObject | ||
![]() | Despachado quando o valor da propriedade do objeto tabIndex muda. | InteractiveObject | ||
![]() | Despachado pelo componente quando chega a hora de criar um ToolTip. | UIComponent | ||
![]() | Despachado pelo componente quando seu ToolTip foi ocultado e será logo descartado. | UIComponent | ||
![]() | Despachado pelo componente quando seu ToolTip está prestes a ser ocultado. | UIComponent | ||
![]() | Despachado pelo componente quando seu ToolTip está prestes a ser mostrado. | UIComponent | ||
![]() | Despachado pelo componente quando seu ToolTip foi mostrado. | UIComponent | ||
![]() | Despachado por um componente no qual a propriedade ToolTip é ajustada assim que o usuário passa o mouse por cima. | UIComponent | ||
![]() | Despachado quando um objeto teve seus métodos commitProperties(), measure(), e updateDisplayList() chamados (se necessário). | UIComponent | ||
![]() | Despachado quando um componente é monitorado por um Validator e a validação é um sucesso. | UIComponent | ||
![]() | Despachado quando valores mudam de forma programada ou pela interação do usuário. | UIComponent | ||
| Estilo | Descrição | Definido Por | ||
|---|---|---|---|---|
|
backgroundAlpha
| Tipo: Number Herança CSS: não Nível alpha da cor definida pela propriedade backgroundColor, da imagem ou arquivo SWF definido pelo estilo backgroundImage.
Valid values range from 0.0 to 1.0. For most controls, O valor padrão é 1.0,
but for ToolTip controls, O valor padrão é 0.95 and for Alert controls, O valor padrão é 0.9.
O valor padrão é 1.0. | VideoDisplay | ||
|
backgroundColor
| Tipo: uint Formato: Cor Herança CSS: não Cor do fundo de um componente. You can have both a backgroundColor and a
backgroundImage set.
Some components do not have a background.
The DataGrid control ignores this style.
O valor padrão é undefined, which means it is not set.
If both this style and the backgroundImage style
are undefined, the component has a transparent background.
For the Application container, this style specifies the background color while the application loads, and a background gradient while it is running. Flex calculates the gradient pattern between a color slightly darker than the specified color, and a color slightly lighter than the specified color. The default skins of most Flex controls are partially transparent. As a result, the background color of
a container partially "bleeds through" to controls that are in that container. You can avoid this by setting the
alpha values of the control's
<mx:Container backgroundColor="0x66CC66"/>
<mx:ControlName ... fillAlphas="[1,1]"/>
</mx:Container>
| VideoDisplay | ||
|
backgroundDisabledColor
| Tipo: uint Formato: Cor Herança CSS: sim Cor do fundo de um componente quando ele é desativado. O valor global padrão é undefined.
The default value for List controls is 0xDDDDDD (light gray).
If a container is disabled, the background is dimmed, and the degree of
dimming is controlled by the disabledOverlayAlpha style.
| VideoDisplay | ||
|
backgroundImage
| Tipo: Object Formato: Arquivo Herança CSS: não Imagem de fundo de um componente. This can be an absolute or relative URL or class. You can either have both a backgroundColor and a
backgroundImage set at the same time. The background image is displayed
on top of the background color.
O valor padrão é undefined, meaning "not set".
If this style and the backgroundColor style are undefined,
the component has a transparent background.
The default skins of most Flex controls are partially transparent. As a result, the background image of
a container partially "bleeds through" to controls that are in that container. You can avoid this by setting the
alpha values of the control's
<mx:Container backgroundColor="0x66CC66"/>
<mx:ControlName ... fillAlphas="[1,1]"/>
</mx:Container>
| VideoDisplay | ||
|
backgroundSize
| Tipo: String Herança CSS: não Ajusta o tamanho da imagem especificada pelo backgroundImage para diferentes porcentagens de tamanho.
A value of "100%" stretches the image
to fit the entire component.
To specify a percentage value, you must include the percent sign (%).
The default for the Application container is 100%.
The default value for all other containers is auto, which maintains
the original size of the image.
| VideoDisplay | ||
![]() | Tipo: String Herança CSS: não A distância vertical em pixels do canto superior da área de conteúdo á posição da base controle. | UIComponent | ||
|
borderColor
| Tipo: uint Formato: Cor Herança CSS: não Cor da borda. The default value depends on the component class; if not overridden for the class, O valor padrão é 0xB7BABC.
| VideoDisplay | ||
|
borderSides
| Tipo: String Herança CSS: não Laterais de limite da caixa. A space-delimited String that specifies the sides of the border to show. The String can contain "left", "top",
"right", and "bottom" in any order.
O valor padrão é "left top right bottom",
which shows all four sides.
This style is only used when borderStyle is "solid".
| VideoDisplay | ||
|
borderSkin
| Tipo: Class Herança CSS: não A classe border skin do componente. The mx.skins.halo.HaloBorder class is the default value for all components that do not explicitly set their own default. The Panel container has a default value of mx.skins.halo.PanelSkin. To determine the default value for a component, see the default.css file. O valor padrão é mx.skins.halo.HaloBorder. | VideoDisplay | ||
|
borderStyle
| Tipo: String Herança CSS: não Estilo das laterais da caixa. The possible values are "none", "solid",
"inset", and "outset".
The default value depends on the component class;
if not overridden for the class, O valor padrão é "inset".
The default value for most Containers is "none".
| VideoDisplay | ||
|
borderThickness
| Tipo: Number Formato: Comprimento Herança CSS: não A grossura das laterais da caixa. Only used when borderStyle is set to "solid".
O valor padrão é 1. | VideoDisplay | ||
![]() | Tipo: String Herança CSS: não A distância vertical em pixels do canto inferior do componente ao canto inferior de sua área de conteúdo. | UIComponent | ||
|
cornerRadius
| Tipo: Number Formato: Comprimento Herança CSS: não Raio dos cantos do componente. O valor padrão dessa classe depende na classe do componente; se não anulado para a classe, o valor padrão é 0. The default value for ApplicationControlBar is 5. | VideoDisplay | ||
|
dropShadowColor
| Tipo: uint Formato: Cor Herança CSS: sim Cor da sombra drop. O valor padrão é 0x000000. | VideoDisplay | ||
|
dropShadowEnabled
| Tipo: Boolean Herança CSS: não Propriedade boolean que especifica se o componente tem uma sombra drop visível. This style is used with borderStyle="solid".
O valor padrão é false.
Note: For drop shadows to appear on containers, set
| VideoDisplay | ||
![]() | Tipo: uint Formato: Cor Herança CSS: sim Cor do destaque do componente quando validação falha. | UIComponent | ||
![]() | Tipo: String Herança CSS: não Blend mode usado pelo retângulo de foco. | UIComponent | ||
![]() | Tipo: Class Herança CSS: não Skin usado para desenhar o retângulo de foco. | UIComponent | ||
![]() | Tipo: Number Formato: Comprimento Herança CSS: não Grossura, em pixels, do outline do retângulo de foco. | UIComponent | ||
![]() | Tipo: String Herança CSS: não A distância horizontal em pixels do centro da área de conteúdo do componente ao centro do componente. | UIComponent | ||
![]() | Tipo: String Herança CSS: não A distância horizontal em pixels da beirada esquerda da área de conteúdo do componente à beirada esquerda do componente. | UIComponent | ||
![]() | Tipo: String Herança CSS: não A distância horizontal em pixels da beirada direita do componente à beirada direita de sua área de conteúdo. | UIComponent | ||
|
shadowDirection
| Tipo: String Herança CSS: não Direção da sombra drop. Possible values are "left", "center",
and "right".
O valor padrão é "center". | VideoDisplay | ||
|
shadowDistance
| Tipo: Number Formato: Comprimento Herança CSS: não Distância da sombra drop. If the property is set to a negative value, the shadow appears above the component. O valor padrão é 2. | VideoDisplay | ||
![]() | Tipo: uint Formato: Cor Herança CSS: sim Cor do tema de um componente. | UIComponent | ||
![]() | Tipo: String Herança CSS: não A distância vertical em pixels da beirada superior da área de conteúdo do control à beirada superior do componente. | UIComponent | ||
![]() | Tipo: String Herança CSS: não A distância vertical em pixels do centro da área de conteúdo do componente ao centro do componente. | UIComponent | ||
| autoBandWidthDetection | propriedade |
autoBandWidthDetection:Boolean [ler-escrever]
Specifies whether the VideoDisplay control should use the built-in
automatic bandwidth detection feature.
When false, you do not require a main.asc file
on Flash Media Server (FMS) 2 to connect to FMS.
When true, you need to implement a main.asc
and store it in the directory structure of FMS.
The main.asc file must define the following functions:
application.onConnect = function(p_client, p_autoSenseBW)
{
//Add security code here.
this.acceptConnection(p_client);
if (p_autoSenseBW)
this.calculateClientBw(p_client);
else
p_client.call("onBWDone");
}
application.calculateClientBw = function(p_client)
{
// Add code to set the clients BandWidth.
// Use p_client.getStats() which returns bytes_in
// and bytes_Out and check your bandWidth using
// p_client.call("onBWCheck", result, p_client.payload).
p_client.call("onBWDone");
}
Client.prototype.getStreamLength = function(p_streamName)
{
return Stream.length(p_streamName);
}
O valor padrão é false.
Essa propriedade pode ser usada como a fonte para a união de dados.
public function get autoBandWidthDetection():Boolean
public function set autoBandWidthDetection(value:Boolean):void
| autoPlay | propriedade |
autoPlay:Boolean [ler-escrever]
Specifies whether the video should start playing immediately when the
source property is set.
If true, the video file immediately begins to buffer and
play.
Even if autoPlay is set to false, Flex
starts loading the video after the initialize() method is
called.
For Flash Media Server, this means creating the stream and loading
the first frame to display (and loading more if
autoSize or aspectRatio is set to
true).
In the case of an HTTP download, Flex starts downloading the stream
and shows the first frame.
O valor padrão é true.
public function get autoPlay():Boolean
public function set autoPlay(value:Boolean):void
| autoRewind | propriedade |
autoRewind:Boolean [ler-escrever]
Specifies whether the FLV file should be rewound to the first frame
when play stops, either by calling the stop() method or by
reaching the end of the stream.
This property has no effect for live streaming video.
O valor padrão é true.
Essa propriedade pode ser usada como a fonte para a união de dados.
public function get autoRewind():Boolean
public function set autoRewind(value:Boolean):void
| border | propriedade |
protected var border:IFlexDisplayObject
The border object for the control.
| borderMetrics | propriedade |
borderMetrics:EdgeMetrics [leitura-somente] Retorna um objeto EdgeMetrics que tem quatro propriedades: left, top, right, e bottom. The value of each property is equal to the thickness of one side of the border around the control, in pixels.
public function get borderMetrics():EdgeMetrics
| bufferTime | propriedade |
bufferTime:Number [ler-escrever] Number of seconds of video to buffer in memory before starting to play the video file. For slow connections streaming over RTMP, it is important to increase this property from the default.
O valor padrão é 0.1.
Essa propriedade pode ser usada como a fonte para a união de dados.
public function get bufferTime():Number
public function set bufferTime(value:Number):void
| bytesLoaded | propriedade |
bytesLoaded:int [leitura-somente] Number of bytes already loaded that are available for playing. The value is only useful for media loaded using HTTP.
Contains -1 when there is no input stream, when the stream is from Flash Media Server, or if the information is not yet available.
Essa propriedade pode ser usada como a fonte para a união de dados.
public function get bytesLoaded():int
| bytesTotal | propriedade |
bytesTotal:int [leitura-somente] Total number of bytes to load. The value is only useful for media loaded using HTTP.
Contains -1 when there is no input stream, when the stream is from Flash Media Server, or if the information is not yet available.
Essa propriedade pode ser usada como a fonte para a união de dados.
public function get bytesTotal():int
| cuePointManager | propriedade |
cuePointManager:Object [leitura-somente]
The instance of the CuePointManager class associated with
the VideoPlayer control.
You can use this object to control cue points, or use the
cuePoints property.
You use cue points to trigger cuePoint events when the
playback of your video reaches a specified location.
To set cue points, you use methods of the CuePointManager class.
Cue points embedded in the FLV are not available via cuePoints or
cuePointManager. In order to retrieve them, you can access the
metadata property or the metadataReceived event.
public function get cuePointManager():Object
Ver também
| cuePointManagerClass | propriedade |
cuePointManagerClass:Class [ler-escrever] Cue point manager to use. Set this to mx.controls.videoClasses.CuePointManager to enable cue point management.
public function get cuePointManagerClass():Class
public function set cuePointManagerClass(value:Class):void
Ver também
| cuePoints | propriedade |
cuePoints:Array [ler-escrever]
The Array of cue points associated with the control.
You can use this property to control cue points, or use the
cuePointManager property.
You use cue points to trigger cuePoint events when the
playback of your video reaches a specified location.
To set cue points, you pass an Array to the cuePoints
property.
Cue points embedded in the FLV are not available via cuePoints or
cuePointManager. In order to retrieve them, you can access the
metadata property or the metadataReceived event.
Each element of the Array contains two fields:
name field
contains an arbitrary name of the cue point.time field
contains the playhead location, in seconds, of the VideoDisplay
control with which the cue point is associated.Essa propriedade pode ser usada como a fonte para a união de dados.
public function get cuePoints():Array
public function set cuePoints(value:Array):void
| idleTimeout | propriedade |
idleTimeout:int [ler-escrever] Specifies the amount of time, in milliseconds, that the connection is idle (playing is paused or stopped) before the connection to the Flash Media Server is stopped. This property has no effect on the HTTP download of FLV files. If this property is set when the stream is already idle, it restarts the idle timeout with a new value.
O valor padrão é 300000 (five minutes).
public function get idleTimeout():int
public function set idleTimeout(value:int):void
| live | propriedade |
live:Boolean [ler-escrever]
Specifies whether the control is streaming a live feed.
Set this property to true when streaming a
live feed from Flash Media Server.
O valor padrão é false.
public function get live():Boolean
public function set live(value:Boolean):void
| maintainAspectRatio | propriedade |
maintainAspectRatio:Boolean [ler-escrever] Specifies whether the control should maintain the original aspect ratio while resizing the video.
O valor padrão é true.
Essa propriedade pode ser usada como a fonte para a união de dados.
public function get maintainAspectRatio():Boolean
public function set maintainAspectRatio(value:Boolean):void
| metadata | propriedade |
metadata:Object [leitura-somente]
An object that contains a metadata information packet that is received from a call to
the NetSteam.onMetaData() callback method, if available.
Ready when the metadataReceived event is dispatched.
If the FLV file is encoded with the Flash 8 encoder, the metadata
property contains the following information. Older FLV files contain
only the height, width, and duration values.
| Parameter | Description |
|---|---|
canSeekToEnd | A Boolean value that is true if the FLV file is encoded with a keyframe on the last frame that allows seeking to the end of a progressive download movie clip. It is false if the FLV file is not encoded with a keyframe on the last frame. |
cuePoints | An Array of objects, one for each cue point embedded in the FLV file. Value is undefined if the FLV file does not contain any cue points. Each object has the following properties:
|
audiocodecid | A Number that indicates the audio codec (code/decode technique) that was used. |
audiodelay | A Number that represents time 0 in the source file from which the FLV file was encoded.
Video content is delayed for the short period of time that is required to synchronize the audio. For example, if the Note that the VideoDisplay class compensates for this delay in its time settings. This means that you can continue to use the time settings that you used in your the source file. |
audiodatarate | A Number that is the kilobytes per second of audio. |
videocodecid | A Number that is the codec version that was used to encode the video. |
framerate | A Number that is the frame rate of the FLV file. |
videodatarate | A Number that is the video data rate of the FLV file. |
height | A Number that is the height of the FLV file. |
width | A Number that is the width of the FLV file. |
duration | A Number that specifies the duration of the FLV file in seconds. |
Essa propriedade pode ser usada como a fonte para a união de dados.
public function get metadata():Object
| playheadTime | propriedade |
playheadTime:Number [ler-escrever] Playhead position, measured in seconds, since the video starting playing. The event object for many of the VideoPlay events include the playhead position so that you can determine the location in the video file where the event occurred.
Setting this property to a value in seconds performs a seek operation. If the video is currently playing, it continues playing from the new playhead position. If the video is paused, it seeks to the new playhead position and remains paused. If the video is stopped, it seeks to the new playhead position and enters the paused state. Setting this property has no effect with live video streams.
If the new playhead position is less than 0 or NaN, the control throws an exception. If the new playhead position is past the end of the video, or past the amount of the video file downloaded so far, then the control still attempts the seek.
For an FLV file, setting the playheadTime property seeks
to the keyframe closest to the specified position, where
keyframes are specified in the FLV file at the time of encoding.
Therefore, you might not seek to the exact time if there
is no keyframe specified at that position.
If player is in an unresponsive state, it queues the request.
This property throws an exception if set when no stream is
connected. Use the stateChange event and the
connected property to determine when it is
safe to set this property.
O valor padrão é NaN.
Essa propriedade pode ser usada como a fonte para a união de dados.
public function get playheadTime():Number
public function set playheadTime(value:Number):void
| playheadUpdateInterval | propriedade |
playheadUpdateInterval:int [ler-escrever]
Specifies the amount of time, in milliseconds,
between each playheadUpdate event.
If you set this property when the video is playing,
the timer restarts at 0, and the next playheadUpdate
event occurs after the new time interval.
O valor padrão é 250.
public function get playheadUpdateInterval():int
public function set playheadUpdateInterval(value:int):void
| playing | propriedade |
playing:Boolean [leitura-somente]
If true, the media is currently playing.
Essa propriedade pode ser usada como a fonte para a união de dados.
public function get playing():Boolean
| progressInterval | propriedade |
progressInterval:int [ler-escrever]
Specifies the amount of time, in milliseconds,
between each progress event.
The progress event occurs continuously
until the video file downloads completely.
If you set this property when the video is downloading,
the timer restarts at 0, and the next progress
event occurs after the new time interval.
O valor padrão é 250.
public function get progressInterval():int
public function set progressInterval(value:int):void
| source | propriedade |
source:String [ler-escrever] Relative path and filename of the FLV file to stream.
Essa propriedade pode ser usada como a fonte para a união de dados.
public function get source():String
public function set source(value:String):void
| state | propriedade |
state:String [leitura-somente]
The current state of the VideoDisplay control.
You set this property by calls to the load(),
play(), stop(), and pause()
methods, and setting the playHeadTime property.
This property can have the following values defined in the
VideoEvent class:
VideoEvent.BUFFERING,
VideoEvent.CONNECTION_ERROR,
VideoEvent.DISCONNECTED,
VideoEvent.EXEC_QUEUED_CMD,
VideoEvent.LOADING, VideoEvent.PAUSED,
VideoEvent.PLAYING, VideoEvent.RESIZING,
VideoEvent.REWINDING, VideoEvent.SEEKING,
and VideoEvent.STOPPED.
O valor padrão é VideoEvent.DISCONNECTED.
Essa propriedade pode ser usada como a fonte para a união de dados.
public function get state():String
Ver também
| stateResponsive | propriedade |
stateResponsive:Boolean [leitura-somente]
Specifies whether the VideoDisplay control is in a responsive state,
true, or in the unresponsive state, false.
The control enters the unresponsive state when video is being loaded
or is rewinding.
The control is also in a responsive state when the
state property is:
VideoEvent.CONNECTION_ERROR,
VideoEvent.EXEC_QUEUED_CMD,
VideoEvent.RESIZING, or
VideoEvent.SEEKING.
If the control is unresponsive, calls to the
play(), load(), stop(),
and pause() methods are queued,
and then executed when the control changes to the responsive state.
Essa propriedade pode ser usada como a fonte para a união de dados.
public function get stateResponsive():Boolean
| totalTime | propriedade |
totalTime:Number [ler-escrever] Total length of the media, in seconds. For FLV 1.0 video files, you manually set this property. For FLV 1.1 and later, the control calculates this value automatically.
Essa propriedade pode ser usada como a fonte para a união de dados.
public function get totalTime():Number
public function set totalTime(value:Number):void
| videoHeight | propriedade |
videoHeight:int [leitura-somente]
Height of the loaded FLV file.
-1 if no FLV file loaded yet.
Essa propriedade pode ser usada como a fonte para a união de dados.
public function get videoHeight():int
| videoWidth | propriedade |
videoWidth:int [leitura-somente]
Width of the loaded FLV file.
-1 if no FLV file loaded yet.
Essa propriedade pode ser usada como a fonte para a união de dados.
public function get videoWidth():int
| volume | propriedade |
volume:Number [ler-escrever] The volume level, specified as an value between 0 and 1.
O valor padrão é 0.75.
Essa propriedade pode ser usada como a fonte para a união de dados.
public function get volume():Number
public function set volume(value:Number):void
| VideoDisplay | () | Construtor |
public function VideoDisplay()
Constructor.
| attachCamera | () | método |
public function attachCamera(camera:Camera):void
Specifies to play a video stream from a camera.
The video is displayed within the boundaries of the
control in the application window.
Do not call the play() method when displaying a stream from a camera.
Parâmetros
camera:Camera — A Camera object that
is capturing video data.
|
| close | () | método |
public function close():void
Forces the close of an input stream and connection to Flash Media
Server.
Calling this method dispatches the close event.
Typically calling this method directly is not necessary
because the connection is automatically closed when the idle period
times out, as defined by the idleTimeout property.
| createBorder | () | método |
protected function createBorder():void
Cria a borda para esse componente.
Normally the border is determined by the
borderStyle and borderSkin styles.
It must set the border property to the instance of the border.
| layoutChrome | () | método |
protected function layoutChrome(unscaledWidth:Number, unscaledHeight:Number):void
Responds to size changes by setting the positions and sizes of the borders.
The VideoDisplay.layoutChrome() method sets the
position and size of the VideoDisplay's border.
In every subclass of VideoDisplay, the subclass's
layoutChrome() method should call the
super.layoutChrome() method, so that the border is
positioned properly.
Parâmetros
unscaledWidth:Number — Especifica a largura do componente, em pixels, nas coordenadas do componente, independente do valor da propriedade scaleX do componente. |
|
unscaledHeight:Number — Especifica a altura do componente, em pixels, nas coordenadas do componente, independente do valor da propriedade scaleY do componente. |
| load | () | método |
public function load():void
Loads the media file without playing it.
This method is similar to the play() method,
but it causes the file to be loaded without
playing. Autoresizing will occur if appropriate.
After the load and autoresize, the state of the control is set to
VideoEvent.PAUSED.
| pause | () | método |
public function pause():void
Pauses playback without moving the playhead. If playback is already is paused or is stopped, this method has no effect.
To start playback again, call the play() method.
If the control is in an unresponsive state, the request is queued.
| play | () | método |
public function play():void
Plays the media file. If the file has not been loaded, it loads it. You can call this method while playback is paused, stopped, or while the control is playing.
If the control is in an unresponsive state, the request is queued.
To stream video from a camera, call the attachCamera() method,
instead of the play() method.
| stop | () | método |
public function stop():void
Stops playback.
If the autoRewind property is set to
true, rewind to the first frame.
To start playback again, call the play() method.
If playback is already stopped, this method has no effect. If the control is in an unresponsive state, the request is queued.
| close | Evento |
mx.events.VideoEvent
mx.events.VideoEvent.CLOSE
Dispatched when the NetConnection object is closed, whether by timing
out or by calling the close() method.
You use this event when working with Flash Media Server.
VideoEvent.CLOSE constant defines the value of the
type property of the event object for a close event.
As propriedades do objeto de evento tem os seguintes valores:
| Propriedade | Valor |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | O Object que define o event listener que cuida do evento. Por exemplo, se você usar o myButton.addEventListener() para registrar um event listener, myButton é o valor do currentTarget. |
playheadTime | The location of the playhead when the event occurs. |
state | The value of the
VideoDisplay.state property when the event occurs. |
stateResponsive | The value of the
VideoDisplay.stateResponsive property
when the event occurs. |
target | O Object que despachou o evento; nem sempre é o Object que escuta pelo evento. Use a propriedade currentTarget para sempre acessar o Objeto que faz a escuta pelo evento. |
| complete | Evento |
mx.events.VideoEvent
mx.events.VideoEvent.COMPLETE
Dispatched when the playhead reaches the end of the FLV file.
TheVideoEvent.COMPLETE constant defines the value of the
type property of the event object for a complete event.
As propriedades do objeto de evento tem os seguintes valores:
| Propriedade | Valor |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | O Object que define o event listener que cuida do evento. Por exemplo, se você usar o myButton.addEventListener() para registrar um event listener, myButton é o valor do currentTarget. |
playheadTime | The location of the playhead when the event occurs. |
state | The value of the
VideoDisplay.state property when the event occurs. |
stateResponsive | The value of the
VideoDisplay.stateResponsive property
when the event occurs. |
target | O Object que despachou o evento; nem sempre é o Object que escuta pelo evento. Use a propriedade currentTarget para sempre acessar o Objeto que faz a escuta pelo evento. |
| cuePoint | Evento |
mx.events.CuePointEvent
mx.events.CuePointEvent.CUE_POINT
Dispatched when the value of a cue point's time property
is equal to the current playhead location.
CuePointEvent.CUE_POINT constant defines the value of the
type property of the event object for a cuePoint event.
As propriedades do objeto de evento tem os seguintes valores:
| Propriedade | Valor |
|---|---|
bubbles | false |
cancelable | false |
cuePointName | O nome do cue point. |
cuePointTime | The time of the cue point, in seconds. |
cuePointType | The string
"actionscript". |
currentTarget | O Object que define o event listener que cuida do evento. Por exemplo, se você usar o myButton.addEventListener() para registrar um event listener, myButton é o valor do currentTarget. |
target | O Object que despachou o evento; nem sempre é o Object que escuta pelo evento. Use a propriedade currentTarget para sempre acessar o Objeto que faz a escuta pelo evento. |
| metadataReceived | Evento |
mx.events.MetadataEvent
mx.events.MetadataEvent.METADATA_RECEIVED
Dispatched the first time metadata in the FLV file is reached.
The MetadataEvent.METADATA_RECEIVED constant defines the value of thetype property for a metadataReceived event.
This event has the following properties:
| Propriedade | Valor |
|---|---|
bubbles | false |
cancelable | false;
there is no default behavior to cancel. |
currentTarget | O Object que define o event listener que cuida do evento. Por exemplo, se você usar o myButton.addEventListener() para registrar um event listener, myButton é o valor do currentTarget. |
info | An object describing the FLV
file, including any cue points. This property contains the same information
as the VideoDisplay.metadata property.
See the VideoDisplay.metadata property for more information. |
target | O Object que despachou o evento; nem sempre é o Object que escuta pelo evento. Use a propriedade currentTarget para sempre acessar o Objeto que faz a escuta pelo evento. |
vp | The index of the VideoPlayer object. |
| playheadUpdate | Evento |
mx.events.VideoEvent
mx.events.VideoEvent.PLAYHEAD_UPDATE
Dispatched continuosly while the video is playing.
The interval between events, in milliseconds, is specified by the
playheadUpdateInterval property, which defaults to 250 ms.
This event is not dispatched when the video is in a paused or stopped
state.
VideoEvent.PLAYHEAD_UPDATE constant defines the value of the
type property of the event object for a playheadUpdate event.
As propriedades do objeto de evento tem os seguintes valores:
| Propriedade | Valor |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | O Object que define o event listener que cuida do evento. Por exemplo, se você usar o myButton.addEventListener() para registrar um event listener, myButton é o valor do currentTarget. |
playheadTime | The location of the playhead when the event occurs. |
state | The value of the
VideoDisplay.state property when the event occurs. |
stateResponsive | The value of the
VideoDisplay.stateResponsive property
when the event occurs. |
target | O Object que despachou o evento; nem sempre é o Object que escuta pelo evento. Use a propriedade currentTarget para sempre acessar o Objeto que faz a escuta pelo evento. |
| progress | Evento |
flash.events.ProgressEvent
flash.events.ProgressEvent.PROGRESS
Dispatched continuously until the FLV file has downloaded completely.
You can use this event to check the number of bytes loaded
or the number of bytes in the buffer.
This event starts getting dispatched when the load() or
play() method is called first and ends when all bytes are
loaded or if there is a network error.
type property of a progress event object.
This event has the following properties:
| Propriedade | Valor |
|---|---|
bubbles | false |
bytesLoaded | The number of items or bytes loaded at the time the listener processes the event. |
bytesTotal | The total number of items or bytes that ultimately will be loaded if the loading process succeeds. |
cancelable | false; there is no default behavior to cancel. |
currentTarget | O objeto que está ativamente processando o objeto Event com um event listener. |
target | The object reporting progress. |
| ready | Evento |
mx.events.VideoEvent
mx.events.VideoEvent.READY
Dispatched when the FLV file is loaded and ready to play.
This event is dispatched the first time the VideoDisplay control
enters a responsive state after a new FLV file is loaded by the
load() or play() method.
It is dispatched only once for each FLV file loaded.
VideoEvent.READY constant defines the value of the
type property of the event object for a ready event.
As propriedades do objeto de evento tem os seguintes valores:
| Propriedade | Valor |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | O Object que define o event listener que cuida do evento. Por exemplo, se você usar o myButton.addEventListener() para registrar um event listener, myButton é o valor do currentTarget. |
playheadTime | The location of the playhead when the event occurs. |
state | The value of the
VideoDisplay.state property when the event occurs. |
stateResponsive | The value of the
VideoDisplay.stateResponsive property
when the event occurs. |
target | O Object que despachou o evento; nem sempre é o Object que escuta pelo evento. Use a propriedade currentTarget para sempre acessar o Objeto que faz a escuta pelo evento. |
| rewind | Evento |
mx.events.VideoEvent
mx.events.VideoEvent.REWIND
Dispatched when the control autorewinds.
TheVideoEvent.REWIND constant defines the value of the
type property of the event object for a rewind event.
As propriedades do objeto de evento tem os seguintes valores:
| Propriedade | Valor |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | O Object que define o event listener que cuida do evento. Por exemplo, se você usar o myButton.addEventListener() para registrar um event listener, myButton é o valor do currentTarget. |
playheadTime | The location of the playhead when the event occurs. |
state | The value of the
VideoDisplay.state property when the event occurs. |
stateResponsive | The value of the
VideoDisplay.stateResponsive property
when the event occurs. |
target | O Object que despachou o evento; nem sempre é o Object que escuta pelo evento. Use a propriedade currentTarget para sempre acessar o Objeto que faz a escuta pelo evento. |
Ver também
| stateChange | Evento |
mx.events.VideoEvent
mx.events.VideoEvent.STATE_CHANGE
Dispatched when the state of the control changes.
You can use this event to track when playback enters and leaves
the unresponsive state (for example, in the middle of connecting,
resizing, or rewinding), during which time calls to the
play(), pause(), and stop() methods
and writes to the playHeadTime property are queued, and then
executed when the player enters the responsive state.
VideoEvent.STATE_CHANGE constant defines the value of the
type property of the event object for a stateChange event.
As propriedades do objeto de evento tem os seguintes valores:
| Propriedade | Valor |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | O Object que define o event listener que cuida do evento. Por exemplo, se você usar o myButton.addEventListener() para registrar um event listener, myButton é o valor do currentTarget. |
playheadTime | The location of the playhead when the event occurs. |
state | The value of the
VideoDisplay.state property when the event occurs. |
stateResponsive | The value of the
VideoDisplay.stateResponsive property
when the event occurs. |
target | O Object que despachou o evento; nem sempre é o Object que escuta pelo evento. Use a propriedade currentTarget para sempre acessar o Objeto que faz a escuta pelo evento. |
<?xml version="1.0"?>
<!-- Simple example to demonstrate the VideoDisplay control. -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Panel title="VideoDisplay Control Example" height="75%" width="75%"
horizontalAlign="center"
paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
<mx:Text width="75%" color="blue"
text="Use the buttons to control the video. The Stop button resets the video to the beginning."/>
<mx:VideoDisplay id="myVid" height="158" width="211" source="assets/phone.flv" autoPlay="false"/>
<mx:HBox>
<mx:Button label="Play" click="myVid.play();"/>
<mx:Button label="Pause" click="myVid.pause();"/>
<mx:Button label="Stop" click="myVid.stop();"/>
</mx:HBox>
</mx:Panel>
</mx:Application>