| Pacote | mx.flash |
| Classe | public dynamic class UIMovieClip |
| Herança | UIMovieClip MovieClip Sprite DisplayObjectContainer InteractiveObject DisplayObject EventDispatcher Object |
| Implementações | IDeferredInstantiationUIComponent, IToolTipManagerClient, IStateClient, IFocusManagerComponent, IConstraintClient, IAutomationObject, IVisualElement, ILayoutElement, IFlexModule |
| Subclasses | ContainerMovieClip |
| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The following procedure describes the basic process for creating a Flex component in Flash Professional:
- Install the Adobe Flash Component Kit for Flex.
- Create symbols for your dynamic assets in the FLA file.
- Run Commands > Make Flex Component to convert your symbol to a subclass of the UIMovieClip class, and to configure the Flash Professional publishing settings for use with Flex.
- Publish your FLA file as a SWC file.
- Reference the class name of your symbols in your Flex application as you would any class.
- Include the SWC file in your
library-pathwhen you compile your Flex application.
For more information, see the documentation that ships with the Flex/Flash Integration Kit at http://www.adobe.com/go/flex3_cs3_swfkit.
| Propriedade | Definido por | ||
|---|---|---|---|
![]() | accessibilityImplementation : AccessibilityImplementation
A implementação de acessibilidade atual (AccessibilityImplementation) para esta instância do InteractiveObject. | InteractiveObject | |
![]() | accessibilityProperties : AccessibilityProperties
As opções de acessibilidade atuais para este objeto de exibição. | DisplayObject | |
![]() | alpha : Number
Indica o valor de transparência alfa do objeto especificado. | DisplayObject | |
| automationDelegate : Object
The delegate object that handles the automation-related functionality. | UIMovieClip | ||
| automationEnabled : Boolean [somente leitura]
True if this component is enabled for automation, false
otherwise. | UIMovieClip | ||
| automationName : String
Name that can be used as an identifier for this object. | UIMovieClip | ||
| automationOwner : DisplayObjectContainer [somente leitura]
The owner of this component for automation purposes. | UIMovieClip | ||
| automationParent : DisplayObjectContainer [somente leitura]
The parent of this component for automation purposes. | UIMovieClip | ||
| automationTabularData : Object [somente leitura]
An implementation of the IAutomationTabularData interface, which
can be used to retrieve the data. | UIMovieClip | ||
| automationValue : Array [somente leitura]
This value generally corresponds to the rendered appearance of the
object and should be usable for correlating the identifier with
the object as it appears visually within the application. | UIMovieClip | ||
| automationVisible : Boolean [somente leitura]
True if this component is visible for automation, false
otherwise. | UIMovieClip | ||
| autoUpdateCurrentState : Boolean
Whether we should actively watch changes to the label of the flash object. | UIMovieClip | ||
| autoUpdateMeasuredSize : Boolean
Whether we should actively watch changes to the size of the flash object. | UIMovieClip | ||
| baseline : Object
The vertical distance in pixels from the top edge of the content area
to the component's baseline position. | UIMovieClip | ||
| baselinePosition : Number [somente leitura]
The y-coordinate of the baseline
of the first line of text of the component. | UIMovieClip | ||
![]() | blendMode : String
Um valor a partir da classe BlendMode que especifica o modo de mesclagem a ser usado. | DisplayObject | |
![]() | blendShader : Shader [somente gravação]
Define um shader usado para mesclar o primeiro plano e o segundo plano. | DisplayObject | |
| bottom : Object
The vertical distance, in pixels, from the lower edge of the component
to the lower edge of its content area. | UIMovieClip | ||
| boundingBoxName : String = "boundingBox"
Name of the object to use as the bounding box. | UIMovieClip | ||
![]() | buttonMode : Boolean
Especifica o modo de botão desta entidade gráfica. | Sprite | |
![]() | cacheAsBitmap : Boolean
Se definido como true, tempo de execução do Flash armazenará em cachê uma representação interna em bitmap do objeto de exibição. | DisplayObject | |
![]() | cacheAsBitmapMatrix : Matrix
Se não nulo, este objeto Matrix definirá como um objeto exibição será renderizado quando cacheAsBitmap for definido como verdadeiro. | DisplayObject | |
| cacheHeuristic : Boolean [somente gravação]
Used by Flex to suggest bitmap caching for the object. | UIMovieClip | ||
| cachePolicy : String [somente leitura]
Specifies the bitmap caching policy for this object. | UIMovieClip | ||
![]() | constructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto. | Object | |
![]() | contextMenu : NativeMenu
Especifica o menu de contexto associado a este objeto. | InteractiveObject | |
![]() | currentFrame : int [somente leitura]
Especifica o número do quadro no qual o indicador de reprodução está localizado na linha do tempo da ocorrência de MovieClip. | MovieClip | |
![]() | currentFrameLabel : String [somente leitura]
O rótulo do quadro atual na linha de tempo da ocorrência de MovieClip. | MovieClip | |
![]() | currentLabel : String [somente leitura]
O rótulo atual no qual o indicador de reprodução está localizado na linha do tempo da ocorrência de MovieClip. | MovieClip | |
![]() | currentLabels : Array [somente leitura]
Retorna uma matriz de objetos FrameLabel a partir da cena atual. | MovieClip | |
![]() | currentScene : Scene [somente leitura]
A cena atual na qual o indicador de reprodução está localizado na linha do tempo da ocorrência de MovieClip. | MovieClip | |
| currentState : String
The current state of this component. | UIMovieClip | ||
| depth : Number
Determines the order in which items inside of containers
are rendered. | UIMovieClip | ||
| descriptor : UIComponentDescriptor
Reference to the UIComponentDescriptor, if any, that was used
by the createComponentFromDescriptor() method to create this
UIComponent instance. | UIMovieClip | ||
| designLayer : DesignLayer
Specifies the optional DesignLayer instance associated with this visual
element. | UIMovieClip | ||
| document : Object
A reference to the document object associated with this component. | UIMovieClip | ||
![]() | doubleClickEnabled : Boolean
Especifica se o objeto recebe eventos doubleClick. | InteractiveObject | |
![]() | dropTarget : DisplayObject [somente leitura]
Especifica o objeto de exibição sobre o qual a entidade gráfica está sendo arrastada ou no qual a entidade gráfica foi solta. | Sprite | |
![]() | enabled : Boolean
Um valor booliano que indica se um clipe de filme está ativado. | MovieClip | |
| explicitHeight : Number
The explicitly specified height for the component,
in pixels, as the component's coordinates. | UIMovieClip | ||
| explicitMaxHeight : Number
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | UIMovieClip | ||
| explicitMaxWidth : Number
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | UIMovieClip | ||
| explicitMinHeight : Number
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | UIMovieClip | ||
| explicitMinWidth : Number
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates. | UIMovieClip | ||
| explicitWidth : Number
The explicitly specified width for the component,
in pixels, as the component's coordinates. | UIMovieClip | ||
![]() | filters : Array
Uma matriz indexada que contém cada objeto de filtro atualmente associado ao objeto de exibição. | DisplayObject | |
| focusEnabled : Boolean
A flag that indicates whether the component can receive focus when selected. | UIMovieClip | ||
| focusPane : Sprite
A single Sprite object that is shared among components
and used as an overlay for drawing focus. | UIMovieClip | ||
![]() | focusRect : Object
Especifica se este objeto exibe um retângulo de foco. | InteractiveObject | |
![]() | framesLoaded : int [somente leitura]
O número de quadros carregados a partir de um arquivo SWF de fluxo. | MovieClip | |
![]() | graphics : Graphics [somente leitura]
Especifica o objeto Graphics pertencente a esta entidade gráfica em que comandos de desenho de vetor podem ocorrer. | Sprite | |
| hasFocusableChildren : Boolean
A flag that indicates whether child objects can receive focus. | UIMovieClip | ||
| hasLayoutMatrix3D : Boolean [somente leitura]
Contains true if the element has 3D Matrix. | UIMovieClip | ||
| height : Number [substituir]
The height of this object, in pixels. | UIMovieClip | ||
![]() | hitArea : Sprite
Designa outra entidade gráfica para atuar como área de ocorrência para uma entidade gráfica. | Sprite | |
| horizontalCenter : Object
The horizontal distance in pixels from the center of the
component's content area to the center of the component. | UIMovieClip | ||
| id : String
ID of the component. | UIMovieClip | ||
| includeInLayout : Boolean
Specifies whether this component is included in the layout of the
parent container. | UIMovieClip | ||
| is3D : Boolean [somente leitura]
Contains true when the element is in 3D. | UIMovieClip | ||
![]() | isPlaying : Boolean [somente leitura]
Valor booliano que indica se um clipe de filme está sendo reproduzido. | MovieClip | |
| isPopUp : Boolean
Set to true by the PopUpManager to indicate
that component has been popped up. | UIMovieClip | ||
| layoutDirection : String
Specifies the desired layout direction for an element: one of LayoutDirection.LTR
(left to right), LayoutDirection.RTL (right to left), or null (inherit). | UIMovieClip | ||
| left : Object
The horizontal distance, in pixels, from the left edge of the component's
content area to the left edge of the component. | UIMovieClip | ||
![]() | loaderInfo : LoaderInfo [somente leitura]
Retorna um objeto LoaderInfo contendo informações sobre o carregamento do arquivo ao qual esse objeto de exibição pertence. | DisplayObject | |
| maintainProjectionCenter : Boolean
When true, the component will keep its projection matrix centered on the
middle of its bounding box. | UIMovieClip | ||
![]() | mask : DisplayObject
O objeto de exibição de chamada é mascarado pelo objeto "mask" especificado. | DisplayObject | |
| maxHeight : Number
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | UIMovieClip | ||
| maxWidth : Number
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | UIMovieClip | ||
| measuredHeight : Number [somente leitura]
The measured height of this object. | UIMovieClip | ||
| measuredMinHeight : Number
The default minimum height of the component, in pixels. | UIMovieClip | ||
| measuredMinWidth : Number
The default minimum width of the component, in pixels. | UIMovieClip | ||
| measuredWidth : Number [somente leitura]
The measured width of this object. | UIMovieClip | ||
![]() | metaData : Object
Obtém o objeto de metadados da instância DisplayObject se os metadados forem armazenados juntamente com a instância desse DisplayObject no arquivo SWF por uma marca PlaceObject4. | DisplayObject | |
| minHeight : Number
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | UIMovieClip | ||
| minWidth : Number
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates. | UIMovieClip | ||
| moduleFactory : IFlexModuleFactory
A module factory is used as context for using embeded fonts and for
finding the style manager that controls the styles for this
component. | UIMovieClip | ||
![]() | mouseChildren : Boolean
Determina se os filhos do objeto são ou não ativados pelo mouse, ou dispositivo de entrada do usuário. | DisplayObjectContainer | |
![]() | mouseEnabled : Boolean
Especifica se este objeto recebe mensagens de mouse, ou de outras entradas de usuários. | InteractiveObject | |
| mouseFocusEnabled : Boolean [somente leitura]
A flag that indicates whether the component can receive focus
when selected with the mouse. | UIMovieClip | ||
![]() | mouseX : Number [somente leitura]
Indica a coordenada x da posição do dispositivo do mouse ou de entrada do usuário, em pixels. | DisplayObject | |
![]() | mouseY : Number [somente leitura]
Indica a coordenada y da posição do dispositivo do mouse ou de entrada do usuário, em pixels. | DisplayObject | |
![]() | name : String
Indica o nome da ocorrência de DisplayObject. | DisplayObject | |
![]() | needsSoftKeyboard : Boolean
Especifica se um teclado virtual (teclado de software, na tela) deve ser exibido quando esta instância InteractiveObject recebe foco. | InteractiveObject | |
| numAutomationChildren : int [somente leitura]
The number of automation children this container has. | UIMovieClip | ||
![]() | numChildren : int [somente leitura]
Retorna o número de filhos deste objeto. | DisplayObjectContainer | |
![]() | opaqueBackground : Object
Especifica se o objeto de exibição é opaco com uma certa cor de plano de fundo. | DisplayObject | |
| owner : DisplayObjectContainer
Typically the parent container of this component. | UIMovieClip | ||
![]() | parent : DisplayObjectContainer [somente leitura]
Indica o objeto DisplayObjectContainer que contém esse objeto de exibição. | DisplayObject | |
| parentDocument : Object [somente leitura]
The document containing this component. | UIMovieClip | ||
| percentHeight : Number
Number that specifies the height of a component as a
percentage of its parent's size. | UIMovieClip | ||
| percentWidth : Number
Number that specifies the width of a component as a
percentage of its parent's size. | UIMovieClip | ||
| postLayoutTransformOffsets : mx.geom:TransformOffsets
Defines a set of adjustments that can be applied to the component's transform in a way that is
invisible to the component's parent's layout. | UIMovieClip | ||
| right : Object
The horizontal distance, in pixels, from the right edge of the component
to the right edge of its content area. | UIMovieClip | ||
![]() | root : DisplayObject [somente leitura]
Para um objeto de exibição em um arquivo SWF carregado, a propriedade "root" é o objeto de exibição na extremidade superior, na parte da estrutura em árvore da lista de exibição representada por esse arquivo SWF. | DisplayObject | |
| rotation : Number [substituir]
Indica o giro da ocorrência de DisplayObject, em graus, a partir da sua orientação original. | UIMovieClip | ||
| rotationX : Number [substituir]
Indicates the x-axis rotation of the DisplayObject instance, in degrees,
from its original orientation relative to the 3D parent container. | UIMovieClip | ||
| rotationY : Number [substituir]
Indicates the y-axis rotation of the DisplayObject instance, in degrees,
from its original orientation relative to the 3D parent container. | UIMovieClip | ||
| rotationZ : Number [substituir]
Indicates the z-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container. | UIMovieClip | ||
![]() | scale9Grid : Rectangle
A grade de dimensionamento atual que está em vigor. | DisplayObject | |
| scaleX : Number [substituir]
Number that specifies the horizontal scaling factor. | UIMovieClip | ||
| scaleY : Number [substituir]
Number that specifies the vertical scaling factor. | UIMovieClip | ||
| scaleZ : Number [substituir]
Number that specifies the scaling factor along the z axis. | UIMovieClip | ||
![]() | scenes : Array [somente leitura]
Uma matriz de objetos Scene, cada um listando o nome, o número de quadros e os rótulos de quadro para uma cena na ocorrência de MovieClip. | MovieClip | |
![]() | scrollRect : Rectangle
Os limites do retângulo de rolagem do objeto de exibição. | DisplayObject | |
| showInAutomationHierarchy : Boolean
A flag that determines if an automation object
shows in the automation hierarchy. | UIMovieClip | ||
![]() | softKeyboard : String
Controla a aparência do teclado suave. | InteractiveObject | |
![]() | softKeyboardInputAreaOfInterest : Rectangle
Define a área que deve permanecer na tela quando um teclado virtual for exibido (não disponível no iOS) | InteractiveObject | |
![]() | soundTransform : flash.media:SoundTransform
Controla o som nesta entidade gráfica. | Sprite | |
![]() | stage : Stage [somente leitura]
O Palco do objeto de exibição. | DisplayObject | |
| systemManager : ISystemManager
A reference to the SystemManager object for this component. | UIMovieClip | ||
![]() | tabChildren : Boolean
Determina se os filhos do objeto estão ativados para tabulação. | DisplayObjectContainer | |
![]() | tabEnabled : Boolean
Especifica se este objeto está na ordem de tabulação. | InteractiveObject | |
| tabFocusEnabled : Boolean
A flag that indicates whether child objects can receive focus
This is similar to the tabEnabled property
used by the Flash Player.
This is usually true for components that
handle keyboard input, but some components in controlbars
have them set to false because they should not steal
focus from another component like an editor. | UIMovieClip | ||
![]() | tabIndex : int
Especifica a ordem de tabulação de objetos em um arquivo SWF. | InteractiveObject | |
![]() | textSnapshot : flash.text:TextSnapshot [somente leitura]
Retorna um objeto TextSnapshot para essa ocorrência de DisplayObjectContainer. | DisplayObjectContainer | |
| toolTip : String
Text to display in the ToolTip. | UIMovieClip | ||
| top : Object
The vertical distance, in pixels, from the top edge of the control's content area
to the top edge of the component. | UIMovieClip | ||
![]() | totalFrames : int [somente leitura]
O número total de quadros na ocorrência de MovieClip. | MovieClip | |
![]() | trackAsMenu : Boolean
Indica se outros objetos da tela que são objetos de MovieClip ou SimpleButton podem receber eventos de liberação de mouse ou outros eventos de liberação de entrada do usuário. | MovieClip | |
![]() | transform : flash.geom:Transform
Um objeto com propriedades relacionadas aos limites de pixels, matriz e transformação de cores de um objeto de exibição. | DisplayObject | |
| transformX : Number
Sets the x coordinate for the transform center of the component. | UIMovieClip | ||
| transformY : Number
Sets the y coordinate for the transform center of the component. | UIMovieClip | ||
| transformZ : Number
Sets the z coordinate for the transform center of the component. | UIMovieClip | ||
| tweeningProperties : Array
Used by EffectManager. | UIMovieClip | ||
![]() | useHandCursor : Boolean
Um valor booliano que indica se a mão que aponta (cursor de mão) aparece quando o ponteiro passa sobre uma entidade gráfica em que a propriedade buttonMode esteja definida como "true". | Sprite | |
| verticalCenter : Object
The vertical distance in pixels from the center of the component's content area
to the center of the component. | UIMovieClip | ||
| visible : Boolean [substituir]
Whether or not the display object is visible. | UIMovieClip | ||
| width : Number [substituir]
The width of this object, in pixels. | UIMovieClip | ||
| x : Number [substituir]
Number that specifies the component's horizontal position,
in pixels, within its parent container. | UIMovieClip | ||
| y : Number [substituir]
Number that specifies the component's vertical position,
in pixels, within its parent container. | UIMovieClip | ||
| z : Number [substituir]
Indicates the z coordinate position along the z-axis of the DisplayObject
instance relative to the 3D parent container. | UIMovieClip | ||
| Propriedade | Definido por | ||
|---|---|---|---|
| bounds : Rectangle [somente leitura]
The unscaled bounds of the content. | UIMovieClip | ||
| initialized : Boolean = false
A flag that determines if an object has been through all three phases
of layout: commitment, measurement, and layout (provided that any were required). | UIMovieClip | ||
| Método | Definido por | ||
|---|---|---|---|
Constructor. | UIMovieClip | ||
![]() |
Adiciona uma ocorrência-filho de DisplayObject a essa ocorrência de DisplayObjectContainer. | DisplayObjectContainer | |
![]() |
Adiciona uma ocorrência-filho de DisplayObject a essa ocorrência de DisplayObjectContainer. | DisplayObjectContainer | |
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra um objeto de ouvinte de evento em um objeto EventDispatcher, de forma que o ouvinte receba a notificação de um evento. | EventDispatcher | |
![]() |
Indica se restrições de segurança fariam com que qualquer objeto de exibição fosse omitido da lista retornada com a chamada do método DisplayObjectContainer.getObjectsUnderPoint() junto com o ponto especificado. | DisplayObjectContainer | |
![]() |
Determina se o objeto de exibição especificado é um filho da ocorrência de DisplayObjectContainer ou se é a própria ocorrência. | DisplayObjectContainer | |
Returns a set of properties that identify the child within
this container. | UIMovieClip | ||
Returns a set of properties that identify the child within
this container. | UIMovieClip | ||
Creates an id reference to this IUIComponent object
on its parent document object. | UIMovieClip | ||
Deletes the id reference to this IUIComponent object
on its parent document object. | UIMovieClip | ||
![]() |
Envia um evento para o fluxo de eventos. | EventDispatcher | |
Called by the FocusManager when the component receives focus. | UIMovieClip | ||
Executes the data bindings into this UIComponent object. | UIMovieClip | ||
Provides the automation object at the specified index. | UIMovieClip | ||
Provides the automation object list . | UIMovieClip | ||
![]() |
Retorna um retângulo que define a área do objeto de exibição com relação ao sistema de coordenadas do objeto targetCoordinateSpace. | DisplayObject | |
Returns the x coordinate of the element's bounds at the specified element size. | UIMovieClip | ||
Returns the y coordinate of the element's bounds at the specified element size. | UIMovieClip | ||
![]() |
Retorna a ocorrência do objeto de exibição-filho que existe no índice especificado. | DisplayObjectContainer | |
![]() |
Retorna o objeto de exibição-filho que existe com o nome especificado. | DisplayObjectContainer | |
![]() |
Retorna a posição de índice de uma ocorrência-filho de DisplayObject. | DisplayObjectContainer | |
Returns the specified constraint value. | UIMovieClip | ||
A convenience method for determining whether to use the
explicit or measured height
| UIMovieClip | ||
A convenience method for determining whether to use the
explicit or measured width
| UIMovieClip | ||
Returns the element's layout height. | UIMovieClip | ||
Returns the element's layout width. | UIMovieClip | ||
Returns the x coordinate that the element uses to draw on screen. | UIMovieClip | ||
Returns the y coordinate that the element uses to draw on screen. | UIMovieClip | ||
Returns the transform matrix that is used to calculate the component's
layout relative to its siblings. | UIMovieClip | ||
Returns the layout transform Matrix3D for this element. | UIMovieClip | ||
Returns the element's maximum height. | UIMovieClip | ||
Returns the element's maximum width. | UIMovieClip | ||
Returns the element's minimum height. | UIMovieClip | ||
Returns the element's minimum width. | UIMovieClip | ||
![]() |
Retorna uma matriz de objetos que estão dispostos no ponto especificado e são filhos (ou netos e assim por diante) desta ocorrência de DisplayObjectContainer. | DisplayObjectContainer | |
Returns the element's preferred height. | UIMovieClip | ||
Returns the element's preferred width. | UIMovieClip | ||
![]() |
Retorna um retângulo que define o limite do objeto de exibição, com base no sistema de coordenadas definido pelo parâmetro espaçoCoordenadasDestino, excluindo quaisquer traçados em formas. | DisplayObject | |
![]() |
Converte o objeto de ponto a partir de coordenadas de Palco (globais) em coordenadas do objeto de exibição (locais). | DisplayObject | |
![]() |
Converte um ponto bidimensional das coordenadas do Palco (globais) em coordenadas do objeto de exibição tridimensional (locais). | DisplayObject | |
![]() |
Inicia a reprodução do arquivo SWF no quadro especificado. | MovieClip | |
![]() |
Traz o indicador de reprodução para o quadro especificado do clipe de filme e o interrompe nesse local. | MovieClip | |
![]() |
Verifica se o objeto EventDispatcher tem ouvintes registrados para um tipo específico de evento. | EventDispatcher | |
![]() |
Indica se um objeto tem uma propriedade especificada definida. | Object | |
![]() |
Avalia a caixa delimitadora do objeto de exibição para ver se ela sobrepõe ou faz interseção com a caixa delimitadora do objeto de exibição obj. | DisplayObject | |
![]() |
Avalia o objeto de exibição para ver se ele sobrepõe ou faz interseção com o ponto especificado pelos parâmetros x e y. | DisplayObject | |
Initialize the object. | UIMovieClip | ||
An element must call this method when its layoutDirection changes or
when its parent's layoutDirection changes. | UIMovieClip | ||
![]() |
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro. | Object | |
![]() |
Converte um ponto tridimensional das coordenadas (locais) do objeto de exibição tridimensional em ponto bidimensional das coordenadas (globais) do Palco. | DisplayObject | |
![]() |
Converte o objeto de ponto a partir das coordenadas do objeto de exibição (locais) em coordenadas do Palco (globais). | DisplayObject | |
Moves this object to the specified x and y coordinates. | UIMovieClip | ||
![]() |
Envia o indicador de reprodução ao próximo quadro e o interrompe. | MovieClip | |
![]() |
Move o indicador de reprodução para a cena seguinte da ocorrência de MovieClip. | MovieClip | |
Returns true if the chain of owner properties
points from child to this UIComponent. | UIMovieClip | ||
Called by Flex when a UIComponent object is added to or removed from a parent. | UIMovieClip | ||
![]() |
Move o indicador de reprodução na linha do tempo do clipe de filme. | MovieClip | |
![]() |
Envia o indicador de reprodução ao quando anterior e o interrompe. | MovieClip | |
![]() |
Move o indicador de reprodução para a cena anterior da ocorrência de MovieClip. | MovieClip | |
![]() |
Indica se a propriedade especificada existe e é enumerável. | Object | |
For each effect event, register the EffectManager
as one of the event listeners. | UIMovieClip | ||
![]() |
Remove uma ocorrência-filho de DisplayObject especificada da lista de filhos da ocorrência de DisplayObjectContainer. | DisplayObjectContainer | |
![]() |
Remove um DisplayObject filho da posição de índice especificada na lista de filhos de DisplayObjectContainer. | DisplayObjectContainer | |
![]() |
Remove todas as instâncias filho DisplayObject especificadas da lista de filhos da instância DisplayObjectContainer. | DisplayObjectContainer | |
![]() |
Remove um ouvinte do objeto EventDispatcher. | EventDispatcher | |
Replays the specified event. | UIMovieClip | ||
![]() |
Ativa um teclado virtual. | InteractiveObject | |
Resolves a child by using the id provided. | UIMovieClip | ||
Sets the actual size of this object. | UIMovieClip | ||
![]() |
Altera a posição de um filho existente no contêiner de objetos de exibição. | DisplayObjectContainer | |
Sets the specified constraint value. | UIMovieClip | ||
Called by the FocusManager when the component receives focus. | UIMovieClip | ||
Sets the coordinates that the element uses to draw on screen. | UIMovieClip | ||
Sets the layout size of the element. | UIMovieClip | ||
Sets the transform Matrix that is used to calculate the component's layout
size and position relative to its siblings. | UIMovieClip | ||
Sets the transform Matrix3D that is used to calculate the component's layout
size and position relative to its siblings. | UIMovieClip | ||
![]() |
Define a disponibilidade de uma propriedade dinâmica para operações de repetição. | Object | |
Called when the visible property changes. | UIMovieClip | ||
![]() |
Permite ao usuário arrastar a entidade gráfica especificada. | Sprite | |
![]() |
Deixa o usuário arrastar o sprite especificado em um dispositivo ativado pelo toque. | Sprite | |
![]() |
Para o indicador de reprodução no clipe de filme. | MovieClip | |
![]() |
Interrompe repetitivamente a execução da linha de tempo de todos os MovieClips enraizados neste objeto. | DisplayObjectContainer | |
![]() |
Finaliza o método startDrag(). | Sprite | |
![]() |
Termina o método startTouchDrag() para o uso com dispositivos ativados pelo toque. | Sprite | |
![]() |
Alterna a ordem z (ordem da frente para trás) dos dois objetos filhos especificados. | DisplayObjectContainer | |
![]() |
Alterna a ordem z (ordem da frente para trás) dos objetos-filho nas duas posições de índice especificadas na lista de filhos. | DisplayObjectContainer | |
![]() |
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade. | Object | |
![]() |
Retorna a representação de string do objeto especificado. | Object | |
transformAround(transformCenter:Vector3D, scale:Vector3D = null, rotation:Vector3D = null, translation:Vector3D = null, postLayoutScale:Vector3D = null, postLayoutRotation:Vector3D = null, postLayoutTranslation:Vector3D = null, invalidateLayout:Boolean = true):void
A utility method to update the rotation, scale, and translation of the
transform while keeping a particular point, specified in the component's
own coordinate space, fixed in the parent's coordinate space. | UIMovieClip | ||
A utility method to transform a point specified in the local
coordinates of this object to its location in the object's parent's
coordinates. | UIMovieClip | ||
![]() |
Retorna o valor primitivo do objeto especificado. | Object | |
![]() |
Verifica se um ouvinte de evento está registrado nesse objeto EventDispatcher ou em qualquer um de seus ancestrais para o tipo de evento especificado. | EventDispatcher | |
| Método | Definido por | ||
|---|---|---|---|
This enter frame handler is used when our width, height, x, or y
value changes. | UIMovieClip | ||
Recursively finds all children that have tabEnabled=true and adds them
to the focusableObjects array. | UIMovieClip | ||
Called when focus is entering any of our children. | UIMovieClip | ||
Helper method to invalidate parent size and display list if
this object affects its layout (includeInLayout is true). | UIMovieClip | ||
Notify our parent that our size has changed. | UIMovieClip | ||
This enter frame handler progresses through transitions. | UIMovieClip | ||
| Evento | Resumo | Definido por | ||
|---|---|---|---|---|
![]() | [transmissão de evento] Despachado quando o Flash Player ou o aplicativo do AIR ganha o foco do sistema operacional e está se tornando inativo. | EventDispatcher | ||
| Dispatched when the component is added to a container as a content child by using the addChild() or addChildAt() method. | UIMovieClip | |||
![]() | Despachado quando um objeto de exibição é adicionado à lista de exibição. | DisplayObject | ||
![]() | Despachado quando um objeto de exibição é adicionado à lista de exibição no palco, seja diretamente ou através da adição de uma subárvore na qual esse objeto de exibição está contido. | DisplayObject | ||
![]() | Despachado quando o usuário seleciona "Clear" (ou "Delete") no menu de contexto do texto. | InteractiveObject | ||
![]() | Despachado quando um usuário pressiona e solta o botão principal do dispositivo apontador sobre o mesmo InteractiveObject. | InteractiveObject | ||
![]() | Despachado quando uma ação do usuário seleciona o menu de contexto associado a esse objeto interativo em um aplicativo do AIR. | InteractiveObject | ||
![]() | Despachado quando o usuário ativa a combinação de teclas do acelerador específica da plataforma para uma operação de copiar ou seleciona "Copy" no menu de contexto do texto. | InteractiveObject | ||
| Dispatched when the component has finished its construction. | UIMovieClip | |||
| Dispatched after the view state has changed. | UIMovieClip | |||
| Dispatched after the currentState property changes, but before the view state changes. | UIMovieClip | |||
![]() | Despachado quando o usuário ativa a combinação de teclas do acelerador específica da plataforma para uma operação de cortar ou seleciona "Cut" no menu de contexto do texto. | InteractiveObject | ||
![]() | [transmissão de evento] Despachado quando o Flash Player ou o aplicativo do AIR perde o foco do sistema operacional e está se tornando inativo. | EventDispatcher | ||
![]() | Despachado quando um usuário pressiona e solta o botão principal de um dispositivo apontador duas vezes em rápida sucessão sobre o mesmo InteractiveObject quando o sinalizador doubleClickEnabled desse objeto está definido como "true". | InteractiveObject | ||
| Dispatched by the drag initiator (the component that is the source of the data being dragged) when the drag operation completes, either when you drop the dragged data onto a drop target or when you end the drag-and-drop operation without performing a drop. | UIMovieClip | |||
| Dispatched by the drop target when the user releases the mouse over it. | UIMovieClip | |||
| Dispatched by a component when the user moves the mouse over the component during a drag operation. | UIMovieClip | |||
| Dispatched by the component when the user drags outside the component, but does not drop the data onto the target. | UIMovieClip | |||
| Dispatched by a component when the user moves the mouse while over the component during a drag operation. | UIMovieClip | |||
![]() | [evento de transmissão] Despachado quando o indicador de reprodução está entrando em um novo quadro. | DisplayObject | ||
![]() | [evento de transmissão] Despachado quando o indicador de reprodução está deixando o quadro atual. | DisplayObject | ||
![]() | Despachado depois que um objeto de exibição ganha foco. | InteractiveObject | ||
![]() | Despachado depois que um objeto de exibição perde o foco. | InteractiveObject | ||
![]() | [evento de transmissão] Despachado depois que são executados os construtores dos objetos de exibição de quadro, mas antes dos scripts. | DisplayObject | ||
![]() | Enviado quando um usuário cria um ponto de contato na borda da superfície de toque com uma instância InteractiveObject (como tocar na borda da superfície de toque no Siri Remote da Apple TV). Alguns dispositivos também podem interpretar esse contato como uma combinação de vários eventos de toque. | InteractiveObject | ||
![]() | Despachado quando o usuário aperta dois pontos de contato na mesma instância InteractiveObject em um dispositivo ativado pelo toque (como pressionar e soltar dois dedos em um objeto da tela em um celular ou tablet com uma tela sensível ao toque). | InteractiveObject | ||
![]() | Despachado quando o usuário move um ponto de contato em uma instância InteractiveObject em um dispositivo ativado pelo toque (como mover os dedos da esquerda para a direita em um objeto da tela em um celular ou tablet com uma tela sensível ao toque). | InteractiveObject | ||
![]() | Despachado quando o usuário executa uma rotação em um ponto do contato com uma instância InteractiveObject (como tocar com dois dedos e rodá-los em cima de um objeto da tela em um celular ou tablet com uma tela sensível ao toque). | InteractiveObject | ||
![]() | Despachado quando o usuário executa um gesto de arrastar em um ponto de contato com uma instância InteractiveObject (como tocar três dedos em uma tela e depois movê-los em paralelo sobre um objeto de exposição em um celular ou tablet com uma tela sensível ao toque). | InteractiveObject | ||
![]() | Despachado quando o usuário cria um ponto do contato com uma instância InteractiveObject, depois toca com um dispositivo ativado pelo toque (como colocar vários dedos em um objeto da tela para abrir um menu e depois toca com um dedo para selecionar um item do menu em um celular ou tablet com tela sensível ao toque). | InteractiveObject | ||
![]() | Despachado quando o usuário executa um zoom em um ponto do contato com uma instância InteractiveObject (como tocar dois dedos em uma tela e depois abrir os dedos por cima de um objeto de exposição em um celular ou tablet com uma tela de toque). | InteractiveObject | ||
| Dispatched when an object's state changes from visible to invisible. | UIMovieClip | |||
![]() | Este evento é despachado para qualquer aplicativo cliente que suporte a entrada incorporada com um IME | InteractiveObject | ||
| Dispatched when the component has finished its construction and has all initialization properties set. | UIMovieClip | |||
![]() | Despachado quando o usuário pressiona uma tecla. | InteractiveObject | ||
![]() | Despachado quando o usuário tenta alterar o foco usando a navegação pelo teclado. | InteractiveObject | ||
![]() | Despachado quando o usuário solta uma tecla. | InteractiveObject | ||
![]() | Despachado quando um usuário pressiona e libera o botão do meio do dispositivo apontador sobre o mesmo InteractiveObject. | InteractiveObject | ||
![]() | Despachado quando o usuário pressiona o botão do meio do dispositivo apontador sobre uma ocorrência InteractiveObject. | InteractiveObject | ||
![]() | Despachado quando o usuário libera o botão do dispositivo apontador sobre uma ocorrência InteractiveObject. | InteractiveObject | ||
![]() | Despachado quando o usuário pressiona o botão do dispositivo apontador sobre uma ocorrência InteractiveObject. | InteractiveObject | ||
| Dispatched from a component opened using the PopUpManager when the user clicks outside it. | UIMovieClip | |||
![]() | Despachado quando o usuário tenta alterar o foco usando um dispositivo apontador. | InteractiveObject | ||
![]() | Despachado quando um usuário move o dispositivo apontador enquanto ele está sobre InteractiveObject. | InteractiveObject | ||
![]() | Despachado quando o usuário move um dispositivo apontador para longe de uma ocorrência de InteractiveObject. | InteractiveObject | ||
![]() | Despachado quando o usuário move um dispositivo apontador sobre uma ocorrência InteractiveObject. | InteractiveObject | ||
![]() | Despachado quando o usuário libera o botão do dispositivo apontador sobre uma ocorrência InteractiveObject. | InteractiveObject | ||
![]() | Despachado quando a roda do mouse rola sobre uma ocorrência InteractiveObject. | InteractiveObject | ||
| Dispatched from a component opened using the PopUpManager when the user scrolls the mouse wheel outside it. | UIMovieClip | |||
| Dispatched when the object has moved. | UIMovieClip | |||
![]() | Despachado pelo iniciador de arrasto InteractiveObject quando o usuário libera o gesto de arrastar. | InteractiveObject | ||
![]() | Despachado pelo InteractiveObject de destino quando um objeto arrastado é solto nele e a liberação tiver sido aceita com uma chamada para DragManager.acceptDragDrop(). | InteractiveObject | ||
![]() | Despachado por um InteractiveObject quando o gesto de arrasto entra no respectivo limite. | InteractiveObject | ||
![]() | Despachado por um InteractiveObject quando o gesto de arrasto deixa o respectivo limite. | InteractiveObject | ||
![]() | Despachado continuamente por um InteractiveObject enquanto o gesto de arrasto permanecer dentro do respectivo limite. | InteractiveObject | ||
![]() | Despachado no início de uma operação de arrasto pelo InteractiveObject, que é especificado como o iniciador de arrasto na chamada DragManager.doDrag(). | InteractiveObject | ||
![]() | Despachado durante uma operação de arrasto pelo InteractiveObject, que é especificado como o iniciador de arrasto na chamada DragManager.doDrag(). | InteractiveObject | ||
![]() | Despachado quando o usuário ativa a combinação de teclas do acelerador específica da plataforma para uma operação de colar ou seleciona "Paste" no menu de contexto do texto. | InteractiveObject | ||
| Dispatched at the beginning of the component initialization sequence. | UIMovieClip | |||
![]() | Despachado quando o usuário abaixa um estilo ativo para além do limite de detecção de proximidade da tela. | InteractiveObject | ||
![]() | Despachado quando o usuário levanta um estilo ativo acima do limite de detecção de proximidade da tela. | InteractiveObject | ||
![]() | Despachado quando o usuário move um estilo ativo sobre a tela enquanto permanece dentro do limite de detecção de proximidade. | InteractiveObject | ||
![]() | Despachado quando o usuário move um estilo ativo diretamente acima deste InteractiveObject enquanto permanece dentro do limite de detecção de proximidade da tela. | InteractiveObject | ||
![]() | Despachado quando o usuário move um estilo ativo diretamente acima deste InteractiveObject enquanto permanece dentro do limite de detecção de proximidade da tela. | InteractiveObject | ||
![]() | Despachado quando o usuário move um estilo ativo deste InteractiveObject e algum de seus filhos enquanto permanece dentro do limite de detecção de proximidade da tela. | InteractiveObject | ||
![]() | Despachado quando o usuário move um estilo ativo sobre este InteractiveObject do exterior da árvore do objeto de descendentes na lista de exibição (enquanto permanece dentro do limite de detecção de proximidade da tela). | InteractiveObject | ||
![]() | Enviado quando um usuário solta o botão no dispositivo apontador depois que o usuário primeiro pressionou o botão sobre uma instância de InteractiveObject e moveu o dispositivo apontador de da instância para fora do InteractiveObject. | InteractiveObject | ||
| Dispatched when the component is removed from a container as a content child by using the removeChild() or removeChildAt() method. | UIMovieClip | |||
![]() | Despachado quando um objeto de exibição está prestes a ser removido da lista de exibição. | DisplayObject | ||
![]() | Despachado quando um objeto de exibição está prestes a ser removido da lista de exibição, seja diretamente ou através da remoção de uma subárvore na qual esse objeto de exibição está contido. | DisplayObject | ||
![]() | [evento de transmissão] Despachado quando a lista de exibição está prestes a ser atualizada e renderizada. | DisplayObject | ||
| Dispatched when the component is resized. | UIMovieClip | |||
![]() | Despachado quando um usuário pressiona e libera o botão direito do dispositivo apontador sobre o mesmo InteractiveObject. | InteractiveObject | ||
![]() | Despachado quando o usuário pressiona o botão do dispositivo apontador sobre uma ocorrência InteractiveObject. | InteractiveObject | ||
![]() | Despachado quando o usuário libera o botão do dispositivo apontador sobre uma ocorrência InteractiveObject. | InteractiveObject | ||
![]() | Despachado quando o usuário move um dispositivo apontador para longe de uma ocorrência de InteractiveObject. | InteractiveObject | ||
![]() | Despachado quando o usuário move um dispositivo apontador sobre uma ocorrência InteractiveObject. | InteractiveObject | ||
![]() | Despachado quando o usuário ativa a combinação de teclas do acelerador específica da plataforma para uma operação de selecionar tudo ou seleciona "Select All" no menu de contexto do texto. | InteractiveObject | ||
| Dispatched when an object's state changes from invisible to visible. | UIMovieClip | |||
![]() | Despachado imediatamente depois que o teclado virtual é elevado. | InteractiveObject | ||
![]() | Despachado imediatamente antes de o teclado virtual ser elevado. | InteractiveObject | ||
![]() | Despachado imediatamente depois que o teclado virtual é baixado. | InteractiveObject | ||
![]() | Despachado quando o valor do sinalizador tabChildren do objeto é alterado. | InteractiveObject | ||
![]() | Despachado quando o sinalizador tabEnabled do objeto é alterado. | InteractiveObject | ||
![]() | Despachado quando o valor da propriedade tabIndex do objeto é alterado. | InteractiveObject | ||
![]() | Despachado quando um usuário introduz um ou vários caracteres do texto. | InteractiveObject | ||
| Dispatched by the component when it is time to create a ToolTip. | UIMovieClip | |||
| Dispatched by the component when its ToolTip has been hidden and will be discarded soon. | UIMovieClip | |||
| Dispatched by the component when its ToolTip is about to be hidden. | UIMovieClip | |||
| Dispatched by the component when its ToolTip is about to be shown. | UIMovieClip | |||
| Dispatched by the component when its ToolTip has been shown. | UIMovieClip | |||
| Dispatched by a component whose toolTip property is set, as soon as the user moves the mouse over it. | UIMovieClip | |||
![]() | Despachado quando o usuário entra em contato pela primeira vez com um dispositivo ativado pelo toque (como tocar com um dedo um celular ou tablet com uma tela sensível toque). | InteractiveObject | ||
![]() | Despachado quando o usuário remove o contato com um dispositivo ativado pelo toque (como retirar o dedo de um celular ou tablet com uma tela de toque). | InteractiveObject | ||
![]() | Despachado quando o usuário toca o dispositivo, e é despachado continuamente até que o ponto contato seja removido. | InteractiveObject | ||
![]() | Despachado quando o usuário move o ponto do contato longe da instância InteractiveObject em um dispositivo ativado pelo toque (como arrastar um dedo de um objeto da tela para outro em um celular ou tablet com uma tela sensível ao toque). | InteractiveObject | ||
![]() | Despachado quando o usuário move o ponto do contato em uma instância InteractiveObject em um dispositivo ativado pelo toque (como arrastar um dedo de um ponto fora de um objeto da tela a um ponto em um objeto da tela em um celular ou tablet com uma tela sensível ao toque). | InteractiveObject | ||
![]() | Despachado quando o usuário move o ponto do contato longe de uma instância InteractiveObject em um dispositivo ativado pelo toque (como arrastar um dedo de um objeto da tela para um ponto fora do objeto da tela em um celular ou tablet com uma tela sensível toque). | InteractiveObject | ||
![]() | Despachado quando o usuário move o ponto do contato em uma instância InteractiveObject em um dispositivo ativado pelo toque (como arrastar um dedo de um ponto fora de um objeto da tela a um ponto em um objeto da tela em um celular ou tablet com uma tela sensível ao toque). | InteractiveObject | ||
![]() | Despachado quando o usuário levanta o ponto do contato na mesma instância InteractiveObject em que o contato foi iniciado em um dispositivo ativado pelo toque (como pressionar e soltar com o dedo um ponto único em um objeto da tela em um celular ou tablet com uma tela sensível ao toque). | InteractiveObject | ||
automationDelegate | propriedade |
automationDelegate:Object| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The delegate object that handles the automation-related functionality.
Implementação
public function get automationDelegate():Object public function set automationDelegate(value:Object):voidautomationEnabled | propriedade |
automationName | propriedade |
automationOwner | propriedade |
automationOwner:DisplayObjectContainer [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The owner of this component for automation purposes.
Implementação
public function get automationOwner():DisplayObjectContainerautomationParent | propriedade |
automationParent:DisplayObjectContainer [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The parent of this component for automation purposes.
Implementação
public function get automationParent():DisplayObjectContainerautomationTabularData | propriedade |
automationTabularData:Object [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
An implementation of the IAutomationTabularData interface, which
can be used to retrieve the data.
Implementação
public function get automationTabularData():ObjectautomationValue | propriedade |
automationValue:Array [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
This value generally corresponds to the rendered appearance of the object and should be usable for correlating the identifier with the object as it appears visually within the application.
Implementação
public function get automationValue():ArrayautomationVisible | propriedade |
autoUpdateCurrentState | propriedade |
autoUpdateCurrentState:Boolean| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Whether we should actively watch changes to the label of the flash object.
The Flex currentState property depends on this flash label.
If this is set to true, then every frame, the label of the flash
obejct will be quieried. If the label has changed, that will become the new
currentState for the Flex object.
Note: Setting this property to true may be expensive because
we now are asking the flash object for is current label every single frame.
O valor padrão é false.
Implementação
public function get autoUpdateCurrentState():Boolean public function set autoUpdateCurrentState(value:Boolean):voidautoUpdateMeasuredSize | propriedade |
autoUpdateMeasuredSize:Boolean| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Whether we should actively watch changes to the size of the flash object.
If this is set to true, then every frame, the size of the flash
object will be determined. If the size has changed, then the flash object
will scale appropriately to fit its explicit bounds (or it will resize and
notify its parent if there is no explicit sizing).
Note: Setting this property to true may be expensive because
we now are asking the flash object its current size every single frame.
O valor padrão é false.
Implementação
public function get autoUpdateMeasuredSize():Boolean public function set autoUpdateMeasuredSize(value:Boolean):voidbaseline | propriedade |
baseline:Object| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The vertical distance in pixels from the top edge of the content area to the component's baseline position. If this property is set, the baseline of the component is anchored to the top edge of its content area; when its container is resized, the two edges maintain their separation.
This property only has an effect when used on a component in a Canvas container,
or when used on a component in a Panel or Application container
that has the layout property set to absolute.
The default value is undefined, which means it is not set.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get baseline():Object public function set baseline(value:Object):voidbaselinePosition | propriedade |
bottom | propriedade |
bottom:Object| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The vertical distance, in pixels, from the lower edge of the component to the lower edge of its content area. If this property is set, the lower edge of the component is anchored to the bottom edge of its content area; when its container is resized, the two edges maintain their separation.
This property only has an effect when used on a component in a Canvas container,
or when used on a component in a Panel or Application container
that has the layout property set to absolute.
The default value is undefined, which means it is not set.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get bottom():Object public function set bottom(value:Object):voidboundingBoxName | propriedade |
public var boundingBoxName:String = "boundingBox"| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Name of the object to use as the bounding box.
The bounding box is an object that is used by Flex to determine the size of the component. The actual content can be larger or smaller than the bounding box, but Flex uses the size of the bounding box when laying out the component. This object is optional. If omitted, the actual content size of the component is used instead.
O valor padrão é "boundingBox".
bounds | propriedade |
cacheHeuristic | propriedade |
cacheHeuristic:Boolean [somente gravação] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Used by Flex to suggest bitmap caching for the object.
If cachePolicy is UIComponentCachePolicy.AUTO,
then cacheHeuristic
is used to control the object's cacheAsBitmap property.
Implementação
public function set cacheHeuristic(value:Boolean):voidcachePolicy | propriedade |
cachePolicy:String [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Specifies the bitmap caching policy for this object.
Possible values in MXML are "on",
"off" and
"auto" (default).
Possible values in ActionScript are UIComponentCachePolicy.ON,
UIComponentCachePolicy.OFF and
UIComponentCachePolicy.AUTO (default).
- A value of
UIComponentCachePolicy.ONmeans that the object is always cached as a bitmap. - A value of
UIComponentCachePolicy.OFFmeans that the object is never cached as a bitmap. - A value of
UIComponentCachePolicy.AUTOmeans that the framework uses heuristics to decide whether the object should be cached as a bitmap.
O valor padrão é UIComponentCachePolicy.AUTO.
Implementação
public function get cachePolicy():StringcurrentState | propriedade |
currentState:String| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The current state of this component. For UIMovieClip, the value of the
currentState property is the current frame label.
Implementação
public function get currentState():String public function set currentState(value:String):voiddepth | propriedade |
depth:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Determines the order in which items inside of containers
are rendered.
Spark containers order their items based on their
depth property, with the lowest depth in the back,
and the higher in the front.
Items with the same depth value appear in the order
they are added to the container.
Implementação
public function get depth():Number public function set depth(value:Number):voiddescriptor | propriedade |
descriptor:UIComponentDescriptor| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Reference to the UIComponentDescriptor, if any, that was used
by the createComponentFromDescriptor() method to create this
UIComponent instance. If this UIComponent instance
was not created from a descriptor, this property is null.
Implementação
public function get descriptor():UIComponentDescriptor public function set descriptor(value:UIComponentDescriptor):voidElementos da API relacionados
designLayer | propriedade |
designLayer:DesignLayer| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Specifies the optional DesignLayer instance associated with this visual element.
When a DesignLayer is assigned, a visual element must consider the visibility and alpha of its parent layer when ultimately committing its own effective visibility or alpha to its backing DisplayObject (if applicable).
A visual element must listen for layerPropertyChange
notifications from the associated layer parent. When the
effectiveAlpha or effectiveVisibility of the
layer changes, the element must then compute its own effective visibility
(or alpha) and apply it accordingly.
This property should not be set within MXML directly.
The designLayer property is not used for z-order control,
please see depth.
Implementação
public function get designLayer():DesignLayer public function set designLayer(value:DesignLayer):voiddocument | propriedade |
document:Object| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
A reference to the document object associated with this component. A document object is an Object at the top of the hierarchy of a Flex application, MXML component, or ActionScript component.
Implementação
public function get document():Object public function set document(value:Object):voidexplicitHeight | propriedade |
explicitHeight:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The explicitly specified height for the component,
in pixels, as the component's coordinates.
If no height is explicitly specified, the value is NaN.
Implementação
public function get explicitHeight():Number public function set explicitHeight(value:Number):voidElementos da API relacionados
explicitMaxHeight | propriedade |
explicitMaxHeight:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the maximum height of the component, in pixels, as the component's coordinates.
Implementação
public function get explicitMaxHeight():Number public function set explicitMaxHeight(value:Number):voidElementos da API relacionados
explicitMaxWidth | propriedade |
explicitMaxWidth:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the maximum width of the component, in pixels, as the component's coordinates.
Implementação
public function get explicitMaxWidth():Number public function set explicitMaxWidth(value:Number):voidElementos da API relacionados
explicitMinHeight | propriedade |
explicitMinHeight:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the minimum height of the component, in pixels, as the component's coordinates.
Implementação
public function get explicitMinHeight():Number public function set explicitMinHeight(value:Number):voidElementos da API relacionados
explicitMinWidth | propriedade |
explicitMinWidth:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the minimum width of the component, in pixels, as the component's coordinates.
Implementação
public function get explicitMinWidth():Number public function set explicitMinWidth(value:Number):voidElementos da API relacionados
explicitWidth | propriedade |
explicitWidth:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The explicitly specified width for the component,
in pixels, as the component's coordinates.
If no width is explicitly specified, the value is NaN.
Implementação
public function get explicitWidth():Number public function set explicitWidth(value:Number):voidElementos da API relacionados
focusEnabled | propriedade |
focusEnabled:Boolean| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
A flag that indicates whether the component can receive focus when selected.
As an optimization, if a child component in your component
implements the IFocusManagerComponent interface, and you
never want it to receive focus,
you can set focusEnabled
to false before calling addChild()
on the child component.
This will cause the FocusManager to ignore this component
and not monitor it for changes to the tabFocusEnabled,
tabChildren, and mouseFocusEnabled properties.
This also means you cannot change this value after
addChild() and expect the FocusManager to notice.
Note: It does not mean that you cannot give this object focus
programmatically in your setFocus() method;
it just tells the FocusManager to ignore this IFocusManagerComponent
component in the Tab and mouse searches.
Implementação
public function get focusEnabled():Boolean public function set focusEnabled(value:Boolean):voidfocusPane | propriedade |
focusPane:Sprite| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
A single Sprite object that is shared among components and used as an overlay for drawing focus. Components share this object if their parent is a focused component, not if the component implements the IFocusManagerComponent interface.
Implementação
public function get focusPane():Sprite public function set focusPane(value:Sprite):voidElementos da API relacionados
hasFocusableChildren | propriedade |
hasFocusableChildren:Boolean| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
A flag that indicates whether child objects can receive focus.
Note: This property is similar to the tabChildren property
used by Flash Player.
Use the hasFocusableChildren property with Flex applications.
Do not use the tabChildren property.
This property is usually false because most components
either receive focus themselves or delegate focus to a single
internal sub-component and appear as if the component has
received focus.
For example, a TextInput control contains a focusable
child RichEditableText control, but while the RichEditableText
sub-component actually receives focus, it appears as if the
TextInput has focus. TextInput sets hasFocusableChildren
to false because TextInput is considered the
component that has focus. Its internal structure is an
abstraction.
Usually only navigator components, such as TabNavigator and
Accordion, have this flag set to true because they
receive focus on Tab but focus goes to components in the child
containers on further Tabs.
The default value is false, except for the
spark.components.Scroller component.
For that component, the default value is true.
O valor padrão é true.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento hasFocusableChildrenChange .
Implementação
public function get hasFocusableChildren():Boolean public function set hasFocusableChildren(value:Boolean):voidhasLayoutMatrix3D | propriedade |
hasLayoutMatrix3D:Boolean [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Contains true if the element has 3D Matrix.
Use hasLayoutMatrix3D instead of calling and examining the
return value of getLayoutMatrix3D() because that method returns a valid
matrix even when the element is in 2D.
Implementação
public function get hasLayoutMatrix3D():Booleanheight | propriedade |
horizontalCenter | propriedade |
horizontalCenter:Object| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The horizontal distance in pixels from the center of the component's content area to the center of the component. If this property is set, the center of the component will be anchored to the center of its content area; when its container is resized, the two centers maintain their horizontal separation.
This property only has an effect when used on a component in a Canvas container,
or when used on a component in a Panel or Application container
that has the layout property set to absolute.
The default value is undefined, which means it is not set.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get horizontalCenter():Object public function set horizontalCenter(value:Object):voidid | propriedade |
id:String| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
ID of the component. This value becomes the instance name of the object and should not contain any white space or special characters. Each component throughout an application should have a unique id.
If your application is going to be tested by third party tools, give each component a meaningful id. Testing tools use ids to represent the control in their scripts and having a meaningful name can make scripts more readable. For example, set the value of a button to submit_button rather than b1 or button1.
Implementação
public function get id():String public function set id(value:String):voidincludeInLayout | propriedade |
includeInLayout:Boolean| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Specifies whether this component is included in the layout of the
parent container.
If true, the object is included in its parent container's
layout. If false, the object is positioned by its parent
container as per its layout rules, but it is ignored for the purpose of
computing the position of the next child.
O valor padrão é true.
Implementação
public function get includeInLayout():Boolean public function set includeInLayout(value:Boolean):voidinitialized | propriedade |
protected var initialized:Boolean = false| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
A flag that determines if an object has been through all three phases of layout: commitment, measurement, and layout (provided that any were required).
is3D | propriedade |
is3D:Boolean [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Contains true when the element is in 3D.
The element can be in 3D either because
it has 3D transform properties or it has 3D post layout transform offsets or both.
Implementação
public function get is3D():BooleanisPopUp | propriedade |
layoutDirection | propriedade |
layoutDirection:String| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Specifies the desired layout direction for an element: one of LayoutDirection.LTR (left to right), LayoutDirection.RTL (right to left), or null (inherit). This property is typically backed by an inheriting style. If null, the layoutDirection style will be set to undefined. Classes like GraphicElement, which implement ILayoutDirectionElement but do not support styles, must additionally support a null value for this property which means the layoutDirection must be inherited from its parent.
Implementação
public function get layoutDirection():String public function set layoutDirection(value:String):voidleft | propriedade |
left:Object| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The horizontal distance, in pixels, from the left edge of the component's content area to the left edge of the component. If this property is set, the left edge of the component is anchored to the left edge of its content area; when its container is resized, the two edges maintain their separation.
This property only has an effect when used on a component in a Canvas container,
or when used on a component in a Panel or Application container
that has the layout property set to absolute.
The default value is undefined, which means it is not set.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get left():Object public function set left(value:Object):voidmaintainProjectionCenter | propriedade |
maintainProjectionCenter:Boolean| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
When true, the component will keep its projection matrix centered on the middle of its bounding box. If no projection matrix is defined on the component, one will be added automatically.
Implementação
public function get maintainProjectionCenter():Boolean public function set maintainProjectionCenter(value:Boolean):voidmaxHeight | propriedade |
maxHeight:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the maximum height of the component, in pixels, as the component's coordinates.
Implementação
public function get maxHeight():Number public function set maxHeight(value:Number):voidElementos da API relacionados
maxWidth | propriedade |
maxWidth:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the maximum width of the component, in pixels, as the component's coordinates.
Implementação
public function get maxWidth():Number public function set maxWidth(value:Number):voidElementos da API relacionados
measuredHeight | propriedade |
measuredHeight:Number [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The measured height of this object.
This is typically hard-coded for graphical skins
because this number is simply the number of pixels in the graphic.
For code skins, it can also be hard-coded
if you expect to be drawn at a certain size.
If your size can change based on properties, you may want
to also be an ILayoutManagerClient so a measure()
method will be called at an appropriate time,
giving you an opportunity to compute a measuredHeight.
Implementação
public function get measuredHeight():NumbermeasuredMinHeight | propriedade |
measuredMinHeight:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The default minimum height of the component, in pixels.
This value is set by the measure() method.
Implementação
public function get measuredMinHeight():Number public function set measuredMinHeight(value:Number):voidmeasuredMinWidth | propriedade |
measuredMinWidth:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The default minimum width of the component, in pixels.
This value is set by the measure() method.
Implementação
public function get measuredMinWidth():Number public function set measuredMinWidth(value:Number):voidmeasuredWidth | propriedade |
measuredWidth:Number [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The measured width of this object.
This is typically hard-coded for graphical skins
because this number is simply the number of pixels in the graphic.
For code skins, it can also be hard-coded
if you expect to be drawn at a certain size.
If your size can change based on properties, you may want
to also be an ILayoutManagerClient so a measure()
method will be called at an appropriate time,
giving you an opportunity to compute a measuredHeight.
Implementação
public function get measuredWidth():NumberminHeight | propriedade |
minHeight:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the minimum height of the component, in pixels, as the component's coordinates.
Implementação
public function get minHeight():Number public function set minHeight(value:Number):voidElementos da API relacionados
minWidth | propriedade |
minWidth:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the minimum width of the component, in pixels, as the component's coordinates.
Implementação
public function get minWidth():Number public function set minWidth(value:Number):voidElementos da API relacionados
moduleFactory | propriedade |
moduleFactory:IFlexModuleFactory| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
A module factory is used as context for using embeded fonts and for finding the style manager that controls the styles for this component.
Implementação
public function get moduleFactory():IFlexModuleFactory public function set moduleFactory(value:IFlexModuleFactory):voidmouseFocusEnabled | propriedade |
mouseFocusEnabled:Boolean [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
A flag that indicates whether the component can receive focus
when selected with the mouse.
If false, focus will be transferred to
the first parent that is mouseFocusEnabled.
Implementação
public function get mouseFocusEnabled():BooleannumAutomationChildren | propriedade |
numAutomationChildren:int [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The number of automation children this container has. This sum should not include any composite children, though it does include those children not significant within the automation hierarchy.
Implementação
public function get numAutomationChildren():intowner | propriedade |
owner:DisplayObjectContainer| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Typically the parent container of this component. However, if this is a popup component, the owner is the component that popped it up. For example, the owner of a dropdown list of a ComboBox control is the ComboBox control itself. This property is not managed by Flex, but by each component. Therefore, if you popup a component, you should set this property accordingly.
Implementação
public function get owner():DisplayObjectContainer public function set owner(value:DisplayObjectContainer):voidparentDocument | propriedade |
percentHeight | propriedade |
percentHeight:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the height of a component as a percentage of its parent's size. Allowed values are 0 to 100.
Implementação
public function get percentHeight():Number public function set percentHeight(value:Number):voidpercentWidth | propriedade |
percentWidth:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the width of a component as a percentage of its parent's size. Allowed values are 0 to 100.
Implementação
public function get percentWidth():Number public function set percentWidth(value:Number):voidpostLayoutTransformOffsets | propriedade |
postLayoutTransformOffsets:mx.geom:TransformOffsets| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Defines a set of adjustments that can be applied to the component's transform in a way that is
invisible to the component's parent's layout. For example, if you want a layout to adjust
for a component that will be rotated 90 degrees, you set the component's rotation property.
If you want the layout to not adjust for the component being rotated, you set its postLayoutTransformOffsets.rotationZ
property.
Implementação
public function get postLayoutTransformOffsets():mx.geom:TransformOffsets public function set postLayoutTransformOffsets(value:mx.geom:TransformOffsets):voidright | propriedade |
right:Object| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The horizontal distance, in pixels, from the right edge of the component to the right edge of its content area. If this property is set, the right edge of the component is anchored to the right edge of its content area; when its container is resized, the two edges maintain their separation.
This property only has an effect when used on a component in a Canvas container,
or when used on a component in a Panel or Application container
that has the layout property set to absolute.
The default value is undefined, which means it is not set.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get right():Object public function set right(value:Object):voidrotation | propriedade |
rotation:Number[substituir] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Indica o giro da ocorrência de DisplayObject, em graus, a partir da sua orientação original. Os valores de 0 a 180 representam o giro em sentido horário, enquanto os valores de 0 a -180 representam o giro em sentido anti-horário. Os valores fora dessa faixa são adicionados a ou subtraídos de 360 para obter um valor dentro da faixa. Por exemplo, a instrução my_video.rotation = 450 equivale a my_video.rotation = 90.
Implementação
override public function get rotation():Number override public function set rotation(value:Number):voidrotationX | propriedade |
rotationX:Number[substituir] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Indicates the x-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container. Values from 0 to 180 represent clockwise rotation; values from 0 to -180 represent counterclockwise rotation. Values outside this range are added to or subtracted from 360 to obtain a value within the range. This property is ignored during calculation by any of Flex's 2D layouts.
Implementação
override public function get rotationX():Number override public function set rotationX(value:Number):voidrotationY | propriedade |
rotationY:Number[substituir] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Indicates the y-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container. Values from 0 to 180 represent clockwise rotation; values from 0 to -180 represent counterclockwise rotation. Values outside this range are added to or subtracted from 360 to obtain a value within the range. This property is ignored during calculation by any of Flex's 2D layouts.
Implementação
override public function get rotationY():Number override public function set rotationY(value:Number):voidrotationZ | propriedade |
rotationZ:Number[substituir] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Indicates the z-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container. Values from 0 to 180 represent clockwise rotation; values from 0 to -180 represent counterclockwise rotation. Values outside this range are added to or subtracted from 360 to obtain a value within the range.
Implementação
override public function get rotationZ():Number override public function set rotationZ(value:Number):voidscaleX | propriedade |
scaleX:Number[substituir] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the horizontal scaling factor.
The default value is 1.0, which means that the object
is not scaled.
A scaleX of 2.0 means the object has been
magnified by a factor of 2, and a scaleX of 0.5
means the object has been reduced by a factor of 2.
A value of 0.0 is an invalid value.
Rather than setting it to 0.0, set it to a small value, or set
the visible property to false to hide the component.
O valor padrão é 1.0.
Implementação
override public function get scaleX():Number override public function set scaleX(value:Number):voidscaleY | propriedade |
scaleY:Number[substituir] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the vertical scaling factor.
The default value is 1.0, which means that the object
is not scaled.
A scaleY of 2.0 means the object has been
magnified by a factor of 2, and a scaleY of 0.5
means the object has been reduced by a factor of 2.
A value of 0.0 is an invalid value.
Rather than setting it to 0.0, set it to a small value, or set
the visible property to false to hide the component.
O valor padrão é 1.0.
Implementação
override public function get scaleY():Number override public function set scaleY(value:Number):voidscaleZ | propriedade |
scaleZ:Number[substituir] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 10, AIR 1.1 |
Number that specifies the scaling factor along the z axis.
A scaling along the z axis will not affect a typical component, which lies flat in the z=0 plane. components with children that have 3D transforms applied, or components with a non-zero transformZ, will be affected.
The default value is 1.0, which means that the object is not scaled.
This property is ignored during calculation by any of Flex's 2D layouts.
O valor padrão é 1.0.
Implementação
override public function get scaleZ():Number override public function set scaleZ(value:Number):voidshowInAutomationHierarchy | propriedade |
showInAutomationHierarchy:Boolean| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
A flag that determines if an automation object shows in the automation hierarchy. Children of containers that are not visible in the hierarchy appear as children of the next highest visible parent. Typically containers used for layout, such as boxes and Canvas, do not appear in the hierarchy.
Some controls force their children to appear
in the hierarchy when appropriate.
For example a List will always force item renderers,
including boxes, to appear in the hierarchy.
Implementers must support setting this property
to true.
Implementação
public function get showInAutomationHierarchy():Boolean public function set showInAutomationHierarchy(value:Boolean):voidsystemManager | propriedade |
systemManager:ISystemManager| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
A reference to the SystemManager object for this component.
Implementação
public function get systemManager():ISystemManager public function set systemManager(value:ISystemManager):voidtabFocusEnabled | propriedade |
tabFocusEnabled:Boolean| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
A flag that indicates whether child objects can receive focus
This is similar to the tabEnabled property
used by the Flash Player.
This is usually true for components that
handle keyboard input, but some components in controlbars
have them set to false because they should not steal
focus from another component like an editor.
O valor padrão é true.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento tabFocusEnabledChange .
Implementação
public function get tabFocusEnabled():Boolean public function set tabFocusEnabled(value:Boolean):voidtoolTip | propriedade |
top | propriedade |
top:Object| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The vertical distance, in pixels, from the top edge of the control's content area to the top edge of the component. If this property is set, the top edge of the component is anchored to the top edge of its content area; when its container is resized, the two edges maintain their separation.
This property only has an effect when used on a component in a Canvas container,
or when used on a component in a Panel or Application container
that has the layout property set to absolute.
The default value is undefined, which means it is not set.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get top():Object public function set top(value:Object):voidtransformX | propriedade |
transformX:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Sets the x coordinate for the transform center of the component.
When this component is the target of a Spark transform effect,
you can override this property by setting
the AnimateTransform.autoCenterTransform property.
If autoCenterTransform is false, the transform
center is determined by the transformX,
transformY, and transformZ properties
of the effect target.
If autoCenterTransform is true,
the effect occurs around the center of the target,
(width/2, height/2).
Setting this property on the Spark effect class overrides the setting on the target component.
Implementação
public function get transformX():Number public function set transformX(value:Number):voidtransformY | propriedade |
transformY:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Sets the y coordinate for the transform center of the component.
When this component is the target of a Spark transform effect,
you can override this property by setting
the AnimateTransform.autoCenterTransform property.
If autoCenterTransform is false, the transform
center is determined by the transformX,
transformY, and transformZ properties
of the effect target.
If autoCenterTransform is true,
the effect occurs around the center of the target,
(width/2, height/2).
Seeting this property on the Spark effect class overrides the setting on the target component.
Implementação
public function get transformY():Number public function set transformY(value:Number):voidtransformZ | propriedade |
transformZ:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Sets the z coordinate for the transform center of the component.
When this component is the target of a Spark transform effect,
you can override this property by setting
the AnimateTransform.autoCenterTransform property.
If autoCenterTransform is false, the transform
center is determined by the transformX,
transformY, and transformZ properties
of the effect target.
If autoCenterTransform is true,
the effect occurs around the center of the target,
(width/2, height/2).
Seeting this property on the Spark effect class overrides the setting on the target component.
Implementação
public function get transformZ():Number public function set transformZ(value:Number):voidtweeningProperties | propriedade |
tweeningProperties:Array| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Used by EffectManager. Returns non-null if a component is not using the EffectManager to execute a Tween.
Implementação
public function get tweeningProperties():Array public function set tweeningProperties(value:Array):voidverticalCenter | propriedade |
verticalCenter:Object| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The vertical distance in pixels from the center of the component's content area to the center of the component. If this property is set, the center of the component is anchored to the center of its content area; when its container is resized, the two centers maintain their vertical separation.
This property only has an effect when used on a component in a Canvas container,
or when used on a component in a Panel or Application container
that has the layout property set to absolute.
The default value is undefined, which means it is not set.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get verticalCenter():Object public function set verticalCenter(value:Object):voidvisible | propriedade |
visible:Boolean[substituir] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Whether or not the display object is visible.
Display objects that are not visible are disabled.
For example, if visible=false for an InteractiveObject instance,
it cannot be clicked.
When setting to true, the object dispatches
a show event.
When setting to false, the object dispatches
a hide event.
In either case the children of the object does not emit a
show or hide event unless the object
has specifically written an implementation to do so.
Implementação
override public function get visible():Boolean override public function set visible(value:Boolean):voidwidth | propriedade |
x | propriedade |
x:Number[substituir] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the component's horizontal position, in pixels, within its parent container.
Setting this property directly or calling move()
will have no effect -- or only a temporary effect -- if the
component is parented by a layout container such as HBox, Grid,
or Form, because the layout calculations of those containers
set the x position to the results of the calculation.
However, the x property must almost always be set
when the parent is a Canvas or other absolute-positioning
container because the default value is 0.
O valor padrão é 0.
Implementação
override public function get x():Number override public function set x(value:Number):voidy | propriedade |
y:Number[substituir] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the component's vertical position, in pixels, within its parent container.
Setting this property directly or calling move()
will have no effect -- or only a temporary effect -- if the
component is parented by a layout container such as HBox, Grid,
or Form, because the layout calculations of those containers
set the x position to the results of the calculation.
However, the x property must almost always be set
when the parent is a Canvas or other absolute-positioning
container because the default value is 0.
O valor padrão é 0.
Implementação
override public function get y():Number override public function set y(value:Number):voidz | propriedade |
z:Number[substituir] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Indicates the z coordinate position along the z-axis of the DisplayObject instance relative to the 3D parent container. The z property is used for 3D coordinates, not screen or pixel coordinates.
When you set a z property for a display object to something other than the default
value of 0, a corresponding Matrix3D object is automatically created. for adjusting a
display object's position and orientation
in three dimensions. When working with the z-axis,
the existing behavior of x and y properties changes from screen or pixel coordinates to
positions relative to the 3D parent container.
For example, a child of the _root at position x = 100, y = 100, z = 200
is not drawn at pixel location (100,100). The child is drawn wherever the 3D projection
calculation puts it. The calculation is:
(x*cameraFocalLength/cameraRelativeZPosition, y*cameraFocalLength/cameraRelativeZPosition)
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento zChanged .
Implementação
override public function get z():Number override public function set z(value:Number):voidUIMovieClip | () | Construtor |
public function UIMovieClip()| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Constructor.
createAutomationIDPart | () | método |
public function createAutomationIDPart(child:IAutomationObject):Object| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Returns a set of properties that identify the child within this container. These values should not change during the lifespan of the application.
Parâmetros
child:IAutomationObject — Child for which to provide the id.
|
Object — Sets of properties describing the child which can
later be used to resolve the component.
|
createAutomationIDPartWithRequiredProperties | () | método |
public function createAutomationIDPartWithRequiredProperties(child:IAutomationObject, properties:Array):Object| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Returns a set of properties that identify the child within this container. These values should not change during the lifespan of the application.
Parâmetros
child:IAutomationObject — Child for which to provide the id.
| |
properties:Array |
Object — Sets of properties describing the child which can
later be used to resolve the component.
|
createReferenceOnParentDocument | () | método |
public function createReferenceOnParentDocument(parentDocument:IFlexDisplayObject):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Creates an id reference to this IUIComponent object
on its parent document object.
This function can create multidimensional references
such as b[2][4] for objects inside one or more repeaters.
If the indices are null, it creates a simple non-Array reference.
Parâmetros
parentDocument:IFlexDisplayObject — The parent of this IUIComponent object.
|
deleteReferenceOnParentDocument | () | método |
public function deleteReferenceOnParentDocument(parentDocument:IFlexDisplayObject):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Deletes the id reference to this IUIComponent object
on its parent document object.
This function can delete from multidimensional references
such as b[2][4] for objects inside one or more Repeaters.
If the indices are null, it deletes the simple non-Array reference.
Parâmetros
parentDocument:IFlexDisplayObject — The parent of this IUIComponent object.
|
drawFocus | () | método |
public function drawFocus(isFocused:Boolean):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Called by the FocusManager when the component receives focus. The component should draw or hide a graphic that indicates that the component has focus.
Parâmetros
isFocused:Boolean — If true, draw the focus indicator,
otherwise hide it.
|
enterFrameHandler | () | método |
protected function enterFrameHandler(event:Event):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
This enter frame handler is used when our width, height, x, or y value changes. This is so the change can be delayed so that setting x and y at the same time only results in one change event.
Parâmetros
event:Event |
executeBindings | () | método |
public function executeBindings(recurse:Boolean = false):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Executes the data bindings into this UIComponent object.
Parâmetros
recurse:Boolean (default = false) — Recursively execute bindings for children of this component.
|
findFocusCandidates | () | método |
protected function findFocusCandidates(obj:DisplayObjectContainer):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Recursively finds all children that have tabEnabled=true and adds them to the focusableObjects array.
Parâmetros
obj:DisplayObjectContainer |
focusInHandler | () | método |
protected function focusInHandler(event:FocusEvent):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Called when focus is entering any of our children. Make sure our focus event handlers are called so we can take control from the Flex focus manager.
Parâmetros
event:FocusEvent |
getAutomationChildAt | () | método |
public function getAutomationChildAt(index:int):IAutomationObject| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Provides the automation object at the specified index. This list should not include any children that are composites.
Parâmetros
index:int — The index of the child to return
|
IAutomationObject — The child at the specified index.
|
getAutomationChildren | () | método |
getBoundsXAtSize | () | método |
public function getBoundsXAtSize(width:Number, height:Number, postLayoutTransform:Boolean = true):Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Returns the x coordinate of the element's bounds at the specified element size.
This method is typically used by layouts during a call to the
measure() method to predict what
the element position will be, if the element is resized to particular dimensions.
Parâmetros
width:Number — The element's bounds width, or NaN to use the preferred width.
| |
height:Number — The element's bounds height, or NaN to use the preferred height.
| |
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns
x coordinate of the element's bounding box top-left corner.
The bounding box is in element's parent coordinate space and is calculated
from the specified bounds size, layout position and layout transform matrix.
|
Number — The x coordinate of the element's bounds at the specified element size.
|
getBoundsYAtSize | () | método |
public function getBoundsYAtSize(width:Number, height:Number, postLayoutTransform:Boolean = true):Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Returns the y coordinate of the element's bounds at the specified element size.
This method is typically used by layouts during a call to
the measure() to predict what
the element position will be, if the element is resized to particular dimensions.
Parâmetros
width:Number — The element's bounds width, or NaN to use the preferred width.
| |
height:Number — The element's bounds height, or NaN to use the preferred height.
| |
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns
the y coordinate of the element's bounding box top-left corner.
The bounding box is in element's parent coordinate space and is calculated
from the specified bounds size, layout position and layout transform matrix.
|
Number — The y coordinate of the element's bounds at the specified element size.
|
getConstraintValue | () | método |
public function getConstraintValue(constraintName:String):*| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Returns the specified constraint value.
Parâmetros
constraintName:String — name of the constraint value. Constraint parameters are
"baseline", "bottom", "horizontalCenter",
"left", "right", "top", and
"verticalCenter".
For more information about these parameters, see the Canvas and Panel containers and Styles Metadata AnchorStyles. |
* — The constraint value, or null if it is not defined.
|
getExplicitOrMeasuredHeight | () | método |
public function getExplicitOrMeasuredHeight():Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
A convenience method for determining whether to use the explicit or measured height
RetornaNumber — A Number which is explicitHeight if defined
or measuredHeight if not.
|
getExplicitOrMeasuredWidth | () | método |
public function getExplicitOrMeasuredWidth():Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
A convenience method for determining whether to use the explicit or measured width
RetornaNumber — A Number which is explicitWidth if defined
or measuredWidth if not.
|
getLayoutBoundsHeight | () | método |
public function getLayoutBoundsHeight(postLayoutTransform:Boolean = true):Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Returns the element's layout height. This is the size that the element uses to draw on screen.
Parâmetros
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns
the element's bounding box width. The bounding box is in the element's parent
coordinate space and is calculated from the element's layout size and
layout transform matrix.
|
Number — The element's layout height.
|
getLayoutBoundsWidth | () | método |
public function getLayoutBoundsWidth(postLayoutTransform:Boolean = true):Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Returns the element's layout width. This is the size that the element uses to draw on screen.
Parâmetros
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns
the element's bounding box width. The bounding box is in element's parent
coordinate space and is calculated from the element's layout size and
layout transform matrix.
|
Number — The element's layout width.
|
getLayoutBoundsX | () | método |
public function getLayoutBoundsX(postLayoutTransform:Boolean = true):Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Returns the x coordinate that the element uses to draw on screen.
Parâmetros
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns
x coordinate of the element's bounding box top-left corner.
The bounding box is in the element's parent coordinate space and is calculated
from the element's layout size, layout position and layout transform matrix.
|
Number — The x coordinate that the element uses to draw on screen.
|
getLayoutBoundsY | () | método |
public function getLayoutBoundsY(postLayoutTransform:Boolean = true):Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Returns the y coordinate that the element uses to draw on screen.
Parâmetros
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns
y coordinate of the element's bounding box top-left corner.
The bounding box is in the element's parent coordinate space and is calculated
from the element's layout size, layout position, and layout transform matrix.
|
Number — The y coordinate that the element uses to draw on screen.
|
getLayoutMatrix | () | método |
public function getLayoutMatrix():Matrix| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Returns the transform matrix that is used to calculate the component's layout relative to its siblings.
This matrix is typically defined by the
component's 2D properties such as x, y,
rotation, scaleX, scaleY,
transformX, and transformY.
Some components may have additional transform properties that
are applied on top of the layout matrix to determine the final,
computed matrix. For example UIComponent
defines the offsets property.
Matrix — The layout transform Matrix for this element.
Do not directly modify the return value; call the setLayoutMatrix() method instead.
|
getLayoutMatrix3D | () | método |
public function getLayoutMatrix3D():Matrix3D| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Returns the layout transform Matrix3D for this element.
This matrix is typically defined by the
component's transform properties such as x, y,
z, rotationX, rotationY,
rotationZ, scaleX, scaleY,
scaleZ, transformX, and transformY.
Some components may have additional transform properties that
are applied on top of the layout matrix to determine the final,
computed matrix. For example UIComponent
defines the offsets property.
Matrix3D — The layout transform Matrix3D for this element.
Do not directly modify the return value but call the setLayoutMatrix() method instead.
|
getMaxBoundsHeight | () | método |
public function getMaxBoundsHeight(postLayoutTransform:Boolean = true):Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Returns the element's maximum height.
Parâmetros
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns
the element's bounding box height. The bounding box is in the element's parent
coordinate space and is calculated from the element's maximum size and
layout transform matrix.
|
Number — The element's maximum height.
|
getMaxBoundsWidth | () | método |
public function getMaxBoundsWidth(postLayoutTransform:Boolean = true):Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Returns the element's maximum width.
Parâmetros
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns
the element's bounding box width. The bounding box is in the element's parent
coordinate space and is calculated from the element's maximum size and
layout transform matrix.
|
Number — The element's maximum width.
|
getMinBoundsHeight | () | método |
public function getMinBoundsHeight(postLayoutTransform:Boolean = true):Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Returns the element's minimum height.
Parâmetros
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true,
the method returns the element's bounding box height.
The bounding box is in the element's parent
coordinate space and is calculated from the element's minimum size and
layout transform matrix.
|
Number — The element's maximum height.
|
getMinBoundsWidth | () | método |
public function getMinBoundsWidth(postLayoutTransform:Boolean = true):Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Returns the element's minimum width.
Parâmetros
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true,
the method returns the element's bounding box width.
The bounding box is in the element's parent
coordinate space and is calculated from the element's minimum size and
layout transform matrix.
|
Number — The element's maximum width.
|
getPreferredBoundsHeight | () | método |
public function getPreferredBoundsHeight(postLayoutTransform:Boolean = true):Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Returns the element's preferred height.
Parâmetros
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true,
the method returns the element's bounding box height.
The bounding box is in the element's parent
coordinate space and is calculated from the element's preferred size and
layout transform matrix.
|
Number — Returns the element's preferred height. Preferred height is
usually based on the default element size and any explicit overrides.
For UIComponent this is the same value as returned by
the getExplicitOrMeasuredHeight() method.
|
getPreferredBoundsWidth | () | método |
public function getPreferredBoundsWidth(postLayoutTransform:Boolean = true):Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Returns the element's preferred width.
Parâmetros
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true,
the method returns the element's bounding box width.
The bounding box is in the element's parent
coordinate space and is calculated from the element's preferred size and
layout transform matrix.
|
Number — Returns the element's preferred width. Preferred width is
usually based on the default element size and any explicit overrides.
For UIComponent this is the same value as returned by
the getExplicitOrMeasuredWidth() method.
|
initialize | () | método |
public function initialize():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Initialize the object.
Elementos da API relacionados
invalidateLayoutDirection | () | método |
public function invalidateLayoutDirection():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
An element must call this method when its layoutDirection changes or when its parent's layoutDirection changes. If they differ, this method is responsible for mirroring the element’s contents and for updating the element’s post-layout transform so that descendants inherit a mirrored coordinate system. IVisualElements typically implement mirroring by using postLayoutTransformOffsets to scale the X axis by -1 and to translate the x coordinate of the origin by the element's width. The net effect of this "mirror" transform is to reverse the direction in which the X axis increases without changing the element's location relative to its parent's origin.
invalidateParentSizeAndDisplayList | () | método |
protected function invalidateParentSizeAndDisplayList():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Helper method to invalidate parent size and display list if this object affects its layout (includeInLayout is true).
move | () | método |
public function move(x:Number, y:Number):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Moves this object to the specified x and y coordinates.
Parâmetros
x:Number — The new x-position for this object.
| |
y:Number — The new y-position for this object.
|
notifySizeChanged | () | método |
protected function notifySizeChanged():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Notify our parent that our size has changed.
owns | () | método |
public function owns(displayObject:DisplayObject):Boolean| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Returns true if the chain of owner properties
points from child to this UIComponent.
Parâmetros
displayObject:DisplayObject — A UIComponent.
|
Boolean — true if the child is parented or owned by this UIComponent.
|
parentChanged | () | método |
public function parentChanged(p:DisplayObjectContainer):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Called by Flex when a UIComponent object is added to or removed from a parent. Developers typically never need to call this method.
Parâmetros
p:DisplayObjectContainer — The parent of this UIComponent object.
|
registerEffects | () | método |
public function registerEffects(effects:Array):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
For each effect event, register the EffectManager as one of the event listeners.
Parâmetros
effects:Array — An Array of strings of effect names.
|
replayAutomatableEvent | () | método |
public function replayAutomatableEvent(event:Event):Boolean| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Replays the specified event. A component author should probably call super.replayAutomatableEvent in case default replay behavior has been defined in a superclass.
Parâmetros
event:Event — The event to replay.
|
Boolean — true if a replay was successful.
|
resolveAutomationIDPart | () | método |
public function resolveAutomationIDPart(criteria:Object):Array| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Resolves a child by using the id provided. The id is a set
of properties as provided by the createAutomationIDPart() method.
Parâmetros
criteria:Object — Set of properties describing the child.
The criteria can contain regular expression values
resulting in multiple children being matched.
|
Array — Array of children that matched the criteria
or null if no children could not be resolved.
|
setActualSize | () | método |
public function setActualSize(newWidth:Number, newHeight:Number):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Sets the actual size of this object.
This method is mainly for use in implementing the
updateDisplayList() method, which is where
you compute this object's actual size based on
its explicit size, parent-relative (percent) size,
and measured size.
You then apply this actual size to the object
by calling setActualSize().
In other situations, you should be setting properties
such as width, height,
percentWidth, or percentHeight
rather than calling this method.
Parâmetros
newWidth:Number — The new width for this object.
| |
newHeight:Number — The new height for this object.
|
setConstraintValue | () | método |
public function setConstraintValue(constraintName:String, value:*):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Sets the specified constraint value.
Parâmetros
constraintName:String — name of the constraint value. Constraint parameters are
"baseline", "bottom", "horizontalCenter",
"left", "right", "top", and
"verticalCenter".
For more information about these parameters, see the Canvas and Panel containers and Styles Metadata AnchorStyles. | |
value:* — The new value for the constraint.
|
setFocus | () | método |
public function setFocus():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Called by the FocusManager when the component receives focus. The component may in turn set focus to an internal component.
setLayoutBoundsPosition | () | método |
public function setLayoutBoundsPosition(x:Number, y:Number, postLayoutTransform:Boolean = true):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Sets the coordinates that the element uses to draw on screen.
Note that calls to the setLayoutBoundSize() method can affect the layout position, so
call setLayoutBoundPosition() after calling setLayoutBoundSize().
Parâmetros
x:Number — The x-coordinate of the top-left corner of the bounding box.
| |
y:Number — The y-coordinate of the top-left corner of the bounding box.
| |
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true,
the element is positioned in such a way that the top-left corner of its bounding box is (x, y).
The bounding box is in the element's parent coordinate space and is calculated
from the element's layout size, layout position and layout transform matrix.
|
setLayoutBoundsSize | () | método |
public function setLayoutBoundsSize(width:Number, height:Number, postLayoutTransform:Boolean = true):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Sets the layout size of the element. This is the size that the element uses to draw on screen.
If the width and/or height parameters are left unspecified (NaN),
Flex sets the element's layout size to its preferred width and/or preferred height.
Note that calls to the setLayoutBoundSize() method can affect the layout position, so
call setLayoutBoundPosition() after calling setLayoutBoundSize().
Parâmetros
width:Number — The element's layout width.
| |
height:Number — The element's layout height.
| |
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the specified sizes
are those of the element's bounding box.
The bounding box is in the element's parent coordinate space and is calculated
from the element's layout size, layout position, and layout transform matrix.
|
setLayoutMatrix | () | método |
public function setLayoutMatrix(value:Matrix, invalidateLayout:Boolean):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Sets the transform Matrix that is used to calculate the component's layout size and position relative to its siblings.
The matrix is typically defined by the
component's 2D properties such as x, y,
rotation, scaleX, scaleY,
transformX, and transformY.
Some components may have additional transform properties that
are applied on top of the layout matrix to determine the final,
computed matrix. For example UIComponent
defines the offsets.
Note that layout Matrix is factored in the getPreferredSize(),
getMinSize(), getMaxSize(), getLayoutSize()
methods when computed in parent coordinates
as well as in getLayoutPosition() in both parent and child coordinates.
Layouts that calculate the transform matrix explicitly typically call
this method and work with sizes in child coordinates.
Layouts calling this method pass false
to the invalidateLayout() method so that a subsequent layout pass is not
triggered.
Parâmetros
value:Matrix — The matrix.
| |
invalidateLayout:Boolean — true to cause the parent container
to re-layout its children. You typically pass true
to the invalidateLayout() method.
|
setLayoutMatrix3D | () | método |
public function setLayoutMatrix3D(value:Matrix3D, invalidateLayout:Boolean):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Sets the transform Matrix3D that is used to calculate the component's layout size and position relative to its siblings.
This matrix is typically defined by the
component's transform properties such as x, y,
z, rotationX, rotationY,
rotationZ, scaleX, scaleY,
scaleZ, transformX, and transformY.
Some components may have additional transform properties that
are applied on top of the layout matrix to determine the final,
computed matrix. For example UIComponent
defines the offsets property.
Note that layout Matrix3D is factored in the getPreferredSize(),
getMinSize(), getMaxSize(), getLayoutSize()
when computed in parent coordinates
as well as in getLayoutPosition() in both parent and child coordinates.
Layouts that calculate the transform matrix explicitly typically call
this method and work with sizes in child coordinates.
Layouts calling this method pass false
to the invalidateLayout() method so that a subsequent layout pass is not
triggered.
Parâmetros
value:Matrix3D — The matrix.
| |
invalidateLayout:Boolean — true to cause the parent container
to re-layout its children. You typically pass true
to the invalidateLayout() method.
|
setVisible | () | método |
public function setVisible(value:Boolean, noEvent:Boolean = false):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Called when the visible property changes.
You should set the visible property to show or hide
a component instead of calling this method directly.
Parâmetros
value:Boolean — The new value of the visible property.
Specify true to show the component, and false to hide it.
| |
noEvent:Boolean (default = false) — If true, do not dispatch an event.
If false, dispatch a show event when
the component becomes visible, and a hide event when
the component becomes invisible.
|
transformAround | () | método |
public function transformAround(transformCenter:Vector3D, scale:Vector3D = null, rotation:Vector3D = null, translation:Vector3D = null, postLayoutScale:Vector3D = null, postLayoutRotation:Vector3D = null, postLayoutTranslation:Vector3D = null, invalidateLayout:Boolean = true):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
A utility method to update the rotation, scale, and translation of the transform while keeping a particular point, specified in the component's own coordinate space, fixed in the parent's coordinate space. This function will assign the rotation, scale, and translation values provided, then update the x/y/z properties as necessary to keep the transform center fixed.
Parâmetros
transformCenter:Vector3D — The point, in the component's own coordinates, to keep fixed relative to its parent.
| |
scale:Vector3D (default = null) — The new values for the scale of the transform
| |
rotation:Vector3D (default = null) — The new values for the rotation of the transform
| |
translation:Vector3D (default = null) — The new values for the translation of the transform
| |
postLayoutScale:Vector3D (default = null) | |
postLayoutRotation:Vector3D (default = null) | |
postLayoutTranslation:Vector3D (default = null) | |
invalidateLayout:Boolean (default = true) |
transformPointToParent | () | método |
public function transformPointToParent(localPosition:Vector3D, position:Vector3D, postLayoutPosition:Vector3D):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
A utility method to transform a point specified in the local
coordinates of this object to its location in the object's parent's
coordinates. The pre-layout and post-layout result will be set on
the position and postLayoutPosition
parameters, if they are non-null.
Parâmetros
localPosition:Vector3D — The point to be transformed, specified in the
local coordinates of the object.
| |
position:Vector3D | |
postLayoutPosition:Vector3D |
transitionEnterFrameHandler | () | método |
add | Evento |
mx.events.FlexEventpropriedade FlexEvent.type =
mx.events.FlexEvent.ADD| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched when the component is added to a container as a content child
by using the addChild() or addChildAt() method.
If the component is added to the container as a noncontent child by
using the rawChildren.addChild() or
rawChildren.addChildAt() method, the event is not dispatched.
FlexEvent.ADD constant defines the value of the
type property of the event object for an add event.
This event will only be dispatched when there are one or more relevant listeners attached to the dispatching object.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
creationComplete | Evento |
mx.events.FlexEventpropriedade FlexEvent.type =
mx.events.FlexEvent.CREATION_COMPLETE| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched when the component has finished its construction.
For Flash-based components, this is the same time as the
initialize event.
FlexEvent.CREATION_COMPLETE constant defines the value of the
type property of the event object for a creationComplete event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
currentStateChange | Evento |
mx.events.StateChangeEventpropriedade StateChangeEvent.type =
mx.events.StateChangeEvent.CURRENT_STATE_CHANGE| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched after the view state has changed.
The StateChangeEvent.CURRENT_STATE_CHANGE constant defines the value of thetype property of the event that is dispatched
when the view state has changed.
The value of this constant is "currentStateChange".
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
newState | The name of the view state that was entered. |
oldState | The name of the view state that was exited. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | StateChangeEvent.CURRENT_STATE_CHANGE |
currentStateChanging | Evento |
mx.events.StateChangeEventpropriedade StateChangeEvent.type =
mx.events.StateChangeEvent.CURRENT_STATE_CHANGING| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched after the currentState property changes,
but before the view state changes.
type property of the event that is dispatched
when the view state is about to change.
The value of this constant is "currentStateChanging".
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
newState | The name of the view state that is being entered. |
oldState | The name of the view state that is being exited. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | StateChangeEvent.CURRENT_STATE_CHANGING |
dragComplete | Evento |
mx.events.DragEventpropriedade DragEvent.type =
mx.events.DragEvent.DRAG_COMPLETE| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched by the drag initiator (the component that is the source of the data being dragged) when the drag operation completes, either when you drop the dragged data onto a drop target or when you end the drag-and-drop operation without performing a drop.
You can use this event to perform any final cleanup of the drag-and-drop operation. For example, if you drag a List control item from one list to another, you can delete the List control item from the source if you no longer need it.
If you call Event.preventDefault() in the event handler
for the dragComplete event for
a Tree control when dragging data from one Tree control to another,
it prevents the drop.
DragEvent.DRAG_COMPLETE constant defines the value of the
type property of the event object for a dragComplete event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
action | The action that caused the event:
DragManager.COPY, DragManager.LINK,
DragManager.MOVE, or DragManager.NONE. |
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
dragInitiator | The component that initiated the drag. |
dragSource | The DragSource object containing the data being dragged. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
dragDrop | Evento |
mx.events.DragEventpropriedade DragEvent.type =
mx.events.DragEvent.DRAG_DROP| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched by the drop target when the user releases the mouse over it.
You use this event handler to add the drag data to the drop target.
If you call Event.preventDefault() in the event handler
for the dragDrop event for
a Tree control when dragging data from one Tree control to another,
it prevents the drop.
DragEvent.DRAG_DROP constant defines the value of the
type property of the event object for a dragDrop event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
action | The action that caused the event:
DragManager.COPY, DragManager.LINK,
DragManager.MOVE, or DragManager.NONE. |
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
dragInitiator | The component that initiated the drag. |
dragSource | The DragSource object containing the data being dragged. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
dragEnter | Evento |
mx.events.DragEventpropriedade DragEvent.type =
mx.events.DragEvent.DRAG_ENTER| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched by a component when the user moves the mouse over the component during a drag operation.
In order to be a valid drop target, you must define a handler for this event. In the handler, you can change the appearance of the drop target to provide visual feedback to the user that the component can accept the drag. For example, you could draw a border around the drop target, or give focus to the drop target.
If you want to accept the drag, you must call the
DragManager.acceptDragDrop() method. If you don't
call acceptDragDrop(), you will not get any of the
other drag events.
The value of the action property is always
DragManager.MOVE, even if you are doing a copy.
This is because the dragEnter event occurs before
the control recognizes that the Control key is pressed to signal a copy.
The action property of the event object for the
dragOver event does contain a value that signifies the type of
drag operation.
You may change the type of drag action by calling the
DragManager.showFeedback() method.
DragEvent.DRAG_ENTER constant defines the value of the
type property of the event object for a dragEnter event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
action | The action that caused the event, which is always
DragManager.MOVE. |
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
dragInitiator | The component that initiated the drag. |
dragSource | The DragSource object containing the data being dragged. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
Elementos da API relacionados
dragExit | Evento |
mx.events.DragEventpropriedade DragEvent.type =
mx.events.DragEvent.DRAG_EXIT| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched by the component when the user drags outside the component, but does not drop the data onto the target.
You use this event to restore the drop target to its normal appearance
if you modified its appearance as part of handling the
dragEnter or dragOver event.
DragEvent.DRAG_EXIT constant defines the value of the
type property of the event object for a dragExit event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
action | The action that caused the event:
DragManager.COPY, DragManager.LINK,
DragManager.MOVE, or DragManager.NONE. |
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
dragInitiator | The component that initiated the drag. |
dragSource | The DragSource object containing the data being dragged. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
dragOver | Evento |
mx.events.DragEventpropriedade DragEvent.type =
mx.events.DragEvent.DRAG_OVER| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched by a component when the user moves the mouse while over the component during a drag operation.
In the handler, you can change the appearance of the drop target to provide visual feedback to the user that the component can accept the drag. For example, you could draw a border around the drop target, or give focus to the drop target.
You should handle this event to perform additional logic before allowing the drop, such as dropping data to various locations in the drop target, reading keyboard input to determine if the drag-and-drop action is a move or copy of the drag data, or providing different types of visual feedback based on the type of drag-and-drop action.
You may also change the type of drag action by changing the
DragManager.showFeedback() method.
The default value of the action property is
DragManager.MOVE.
DragEvent.DRAG_OVER constant defines the value of the
type property of the event object for a dragOver event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
action | The action that caused the event:
DragManager.COPY, DragManager.LINK,
DragManager.MOVE, or DragManager.NONE. |
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
dragInitiator | The component that initiated the drag. |
dragSource | The DragSource object containing the data being dragged. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
Elementos da API relacionados
hide | Evento |
mx.events.FlexEventpropriedade FlexEvent.type =
mx.events.FlexEvent.HIDE| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched when an object's state changes from visible to invisible.
TheFlexEvent.HIDE constant defines the value of the
type property of the event object for a hide event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
initialize | Evento |
mx.events.FlexEventpropriedade FlexEvent.type =
mx.events.FlexEvent.INITIALIZE| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched when the component has finished its construction and has all initialization properties set.
TheFlexEvent.INITIALIZE constant defines the value of the
type property of the event object for a initialize event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
mouseDownOutside | Evento |
mx.events.FlexMouseEventpropriedade FlexMouseEvent.type =
mx.events.FlexMouseEvent.MOUSE_DOWN_OUTSIDE| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched from a component opened using the PopUpManager when the user clicks outside it.
TheFlexMouseEvent.MOUSE_DOWN_OUTSIDE constant defines the value of the
type property of the event object for a mouseDownOutside
event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
altKey | Indicates whether the Alt key is down
(true) or not (false). |
bubbles | false |
buttonDown | Indicates whether the main mouse button is down
(true) or not (false). |
cancelable | false |
ctrlKey | Indicates whether the Control key is down
(true) or not (false). |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget.
For PopUpManager events, the object is the pop-up window. |
delta | Indicates how many lines should be scrolled for each notch the user scrolls the mouse wheel. For PopUpManager events this value is 0. |
localX | The horizontal position at which the event occurred. For PopUpManager events, the value is relative to the pop-up control. |
localY | The vertical position at which the event occurred. For PopUpManager events, the value is relative to the pop-up control. |
relatedObject | A reference to a display list object that is related to the event. For PopUpManager events, the object is the container over which the mouse pointer is located. |
shiftKey | Indicates whether the Shift key is down
(true) or not (false). |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event.
For PopUpManager events, the object is the pop-up window. |
mouseWheelOutside | Evento |
mx.events.FlexMouseEventpropriedade FlexMouseEvent.type =
mx.events.FlexMouseEvent.MOUSE_WHEEL_OUTSIDE| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched from a component opened using the PopUpManager when the user scrolls the mouse wheel outside it.
TheFlexMouseEvent.MOUSE_WHEEL_OUTSIDE constant defines the value of the
type property of the event object for a mouseWheelOutside
event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
altKey | Indicates whether the Alt key is down
(true) or not (false). |
bubbles | false |
buttonDown | Indicates whether the main mouse button is down
(true) or not (false). |
cancelable | false |
ctrlKey | Indicates whether the Control key is down
(true) or not (false). |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget.
For PopUpManager events, the object is the pop-up window. |
delta | Indicates how many lines should be scrolled for each notch the user scrolls the mouse wheel. For PopUpManager events this value is 0. |
localX | The horizontal position at which the event occurred. For PopUpManager events, the value is relative to the pop-up control. |
localY | The vertical position at which the event occurred. For PopUpManager events, the value is relative to the pop-up control. |
relatedObject | A reference to a display list object that is related to the event. For PopUpManager events, the object is the container over which the mouse pointer is located. |
shiftKey | Indicates whether the Shift key is down
(true) or not (false). |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event.
For PopUpManager events, the object is the pop-up window. |
move | Evento |
mx.events.MoveEventpropriedade MoveEvent.type =
mx.events.MoveEvent.MOVE| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched when the object has moved.
You can move the component by setting the x
or y properties, by calling the move()
method, by setting one
of the following properties either on the component or on other
components such that the LayoutManager needs to change the
x or y properties of the component:
minWidthminHeightmaxWidthmaxHeightexplicitWidthexplicitHeight
When you call the move() method, the move
event is dispatched before the method returns.
In all other situations, the move event is not dispatched
until after the property changes.
MoveEvent.MOVE constant defines the value of the
type property of the event object for a move event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
oldX | The previous x coordinate of the object, in pixels. |
oldY | The previous y coordinate of the object, in pixels. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
preinitialize | Evento |
mx.events.FlexEventpropriedade FlexEvent.type =
mx.events.FlexEvent.PREINITIALIZE| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched at the beginning of the component initialization sequence.
The component is in a very raw state when this event is dispatched.
Many components, such as the Button control, create internal child
components to implement functionality; for example, the Button control
creates an internal UITextField component to represent its label text.
When Flex dispatches the preinitialize event,
the children, including the internal children, of a component
have not yet been created.
FlexEvent.PREINITIALIZE constant defines the value of the
type property of the event object for a preinitialize event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
remove | Evento |
mx.events.FlexEventpropriedade FlexEvent.type =
mx.events.FlexEvent.REMOVE| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched when the component is removed from a container as a content child
by using the removeChild() or removeChildAt() method.
If the component is removed from the container as a noncontent child by
using the rawChildren.removeChild() or
rawChildren.removeChildAt() method, the event is not dispatched.
FlexEvent.REMOVE constant defines the value of the
type property of the event object for an remove event.
This event will only be dispatched when there are one or more relevant listeners attached to the dispatching object.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
resize | Evento |
mx.events.ResizeEventpropriedade ResizeEvent.type =
mx.events.ResizeEvent.RESIZE| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched when the component is resized.
You can resize the component by setting the width or
height property, by calling the setActualSize()
method, or by setting one of
the following properties either on the component or on other components
such that the LayoutManager needs to change the width or
height properties of the component:
minWidthminHeightmaxWidthmaxHeightexplicitWidthexplicitHeight
The resize event is not
dispatched until after the property changes.
ResizeEvent.RESIZE constant defines the value of the
type property of the event object for a resize event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
oldHeight | The previous height of the object, in pixels. |
oldWidth | The previous width of the object, in pixels. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
show | Evento |
mx.events.FlexEventpropriedade FlexEvent.type =
mx.events.FlexEvent.SHOW| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched when an object's state changes from invisible to visible.
TheFlexEvent.SHOW constant defines the value of the
type property of the event object for a show event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
toolTipCreate | Evento |
mx.events.ToolTipEventpropriedade ToolTipEvent.type =
mx.events.ToolTipEvent.TOOL_TIP_CREATE| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched by the component when it is time to create a ToolTip.
If you create your own IToolTip object and place a reference
to it in the toolTip property of the event object
that is passed to your toolTipCreate handler,
the ToolTipManager displays your custom ToolTip.
Otherwise, the ToolTipManager creates an instance of
ToolTipManager.toolTipClass to display.
The sequence of ToolTip events is toolTipStart,
toolTipCreate, toolTipShow,
toolTipShown, toolTipHide,
and toolTipEnd.
ToolTipEvent.TOOL_TIP_CREATE constant defines the value of the
type property of the event object for a toolTipCreate event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
tooltip | The ToolTip object to which this event applies. |
toolTipEnd | Evento |
mx.events.ToolTipEventpropriedade ToolTipEvent.type =
mx.events.ToolTipEvent.TOOL_TIP_END| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched by the component when its ToolTip has been hidden and will be discarded soon.
If you specify an effect using the
ToolTipManager.hideEffect property,
this event is dispatched after the effect stops playing.
The sequence of ToolTip events is toolTipStart,
toolTipCreate, toolTipShow,
toolTipShown, toolTipHide,
and toolTipEnd.
ToolTipEvent.TOOL_TIP_END constant defines the value of the
type property of the event object for a toolTipEnd event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
tooltip | The ToolTip object to which this event applies. |
toolTipHide | Evento |
mx.events.ToolTipEventpropriedade ToolTipEvent.type =
mx.events.ToolTipEvent.TOOL_TIP_HIDE| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched by the component when its ToolTip is about to be hidden.
If you specify an effect using the
ToolTipManager.hideEffect property,
this event is dispatched before the effect starts playing.
The sequence of ToolTip events is toolTipStart,
toolTipCreate, toolTipShow,
toolTipShown, toolTipHide,
and toolTipEnd.
ToolTipEvent.TOOL_TIP_HIDE constant defines the value of the
type property of the event object for a toolTipHide event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
tooltip | The ToolTip object to which this event applies. |
toolTipShow | Evento |
mx.events.ToolTipEventpropriedade ToolTipEvent.type =
mx.events.ToolTipEvent.TOOL_TIP_SHOW| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched by the component when its ToolTip is about to be shown.
If you specify an effect using the
ToolTipManager.showEffect property,
this event is dispatched before the effect starts playing.
You can use this event to modify the ToolTip before it appears.
The sequence of ToolTip events is toolTipStart,
toolTipCreate, toolTipShow,
toolTipShown, toolTipHide,
and toolTipEnd.
ToolTipEvent.TOOL_TIP_SHOW constant defines the value of the
type property of the event object for a toolTipShow event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
tooltip | The ToolTip object to which this event applies. |
toolTipShown | Evento |
mx.events.ToolTipEventpropriedade ToolTipEvent.type =
mx.events.ToolTipEvent.TOOL_TIP_SHOWN| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched by the component when its ToolTip has been shown.
If you specify an effect using the
ToolTipManager.showEffect property,
this event is dispatched after the effect stops playing.
The sequence of ToolTip events is toolTipStart,
toolTipCreate, toolTipShow,
toolTipShown, toolTipHide,
and toolTipEnd.
ToolTipEvent.TOOL_TIP_SHOWN constant defines the value of the
type property of the event object for a toolTipShown event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
tooltip | The ToolTip object to which this event applies. |
toolTipStart | Evento |
mx.events.ToolTipEventpropriedade ToolTipEvent.type =
mx.events.ToolTipEvent.TOOL_TIP_START| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched by a component whose toolTip property is set,
as soon as the user moves the mouse over it.
The sequence of ToolTip events is toolTipStart,
toolTipCreate, toolTipShow,
toolTipShown, toolTipHide,
and toolTipEnd.
ToolTipEvent.TOOL_TIP_START constant defines the value of the
type property of the event object for a toolTipStart event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
tooltip | The ToolTip object to which this event applies. |
Wed Jun 13 2018, 11:10 AM Z
Ocultar propriedades públicas herdadas
Mostrar propriedades públicas herdadas