fl.core

# InvalidationType - AS3 Flash

Package | fl.core
Class | public class InvalidationType
Inheritance | InvalidationType Object

Language Version: | ActionScript 3.0

Product Version: | Flash CS3

Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0

The InvalidationType class defines `InvalidationType` constants that are used by the `type` property of an event object that is dispatched after a component is invalidated. These constants are used by component developers to specify the portion of the component that is to be redrawn after the component is invalidated.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | constructor : Object A reference to the class object or constructor function for a given object instance. | Object

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | hasOwnProperty(name:String):Boolean Indicates whether an object has a specified property defined. | Object
|  | isPrototypeOf(theClass:Object):Boolean Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter. | Object
|  | propertyIsEnumerable(name:String):Boolean Indicates whether the specified property exists and is enumerable. | Object
|  | setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void Sets the availability of a dynamic property for loop operations. | Object
|  | toLocaleString():String Returns the string representation of this object, formatted according to locale-specific conventions. | Object
|  | toString():String Returns the string representation of the specified object. | Object
|  | valueOf():Object Returns the primitive value of the specified object. | Object

Public Constants

| Constant | Defined By
--- | --- | ---
|  | ALL : String = "all" [static] The InvalidationType.ALL constant defines the value of the type property of the event object that is dispatched to indicate that the component should redraw itself entirely. | InvalidationType
|  | DATA : String = "data" [static] The InvalidationType.DATA constant defines the value of the type property of the event object that is dispatched to indicate that the data that belongs to a component is invalid. | InvalidationType
|  | RENDERER_STYLES : String = "rendererStyles" [static] The InvalidationType.RENDERER_STYLES constant defines the value of the type property of the event object that is dispatched to indicate that the renderer styles of the component are invalid. | InvalidationType
|  | SCROLL : String = "scroll" [static] The InvalidationType.SCROLL constant defines the value of the type property of the event object that is dispatched to indicate that the scroll position of the component is invalid. | InvalidationType
|  | SELECTED : String = "selected" [static] The InvalidationType.SELECTED constant defines the value of the type property of the event object that is dispatched to indicate that the selected property of the component is invalid. | InvalidationType
|  | SIZE : String = "size" [static] The InvalidationType.SIZE constant defines the value of the type property of the event object that is dispatched to indicate that the screen dimensions of the component are invalid. | InvalidationType
|  | STATE : String = "state" [static] The InvalidationType.STATE constant defines the value of the type property of the event object that is dispatched to indicate that the state of the component is invalid. | InvalidationType
|  | STYLES : String = "styles" [static] The InvalidationType.STYLES constant defines the value of the type property of the event object that is dispatched to indicate that the styles of the component are invalid. | InvalidationType

Constant Detail

### ALL

Constant

`public static const ALL:String = "all"`

Language Version: | ActionScript 3.0

Product Version: | Flash CS3

Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0

The `InvalidationType.ALL` constant defines the value of the `type` property of the event object that is dispatched to indicate that the component should redraw itself entirely.

### DATA

Constant

`public static const DATA:String = "data"`

Language Version: | ActionScript 3.0

Product Version: | Flash CS3

Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0

The `InvalidationType.DATA` constant defines the value of the `type` property of the event object that is dispatched to indicate that the data that belongs to a component is invalid.

### RENDERER_STYLES

Constant

`public static const RENDERER_STYLES:String = "rendererStyles"`

Language Version: | ActionScript 3.0

Product Version: | Flash CS3

Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0

The `InvalidationType.RENDERER_STYLES` constant defines the value of the `type` property of the event object that is dispatched to indicate that the renderer styles of the component are invalid.

### SCROLL

Constant

`public static const SCROLL:String = "scroll"`

Language Version: | ActionScript 3.0

Product Version: | Flash CS3

Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0

The `InvalidationType.SCROLL` constant defines the value of the `type` property of the event object that is dispatched to indicate that the scroll position of the component is invalid.

### SELECTED

Constant

`public static const SELECTED:String = "selected"`

Language Version: | ActionScript 3.0

Product Version: | Flash CS3

Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0

The `InvalidationType.SELECTED` constant defines the value of the `type` property of the event object that is dispatched to indicate that the `selected` property of the component is invalid.

### SIZE

Constant

`public static const SIZE:String = "size"`

Language Version: | ActionScript 3.0

Product Version: | Flash CS3

Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0

The `InvalidationType.SIZE` constant defines the value of the `type` property of the event object that is dispatched to indicate that the screen dimensions of the component are invalid.

### STATE

Constant

`public static const STATE:String = "state"`

Language Version: | ActionScript 3.0

Product Version: | Flash CS3

Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0

The `InvalidationType.STATE` constant defines the value of the `type` property of the event object that is dispatched to indicate that the state of the component is invalid. For example, this constant is used when the `enabled` state of a component is no longer valid.

### STYLES

Constant

`public static const STYLES:String = "styles"`

Language Version: | ActionScript 3.0

Product Version: | Flash CS3

Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0

The `InvalidationType.STYLES` constant defines the value of the `type` property of the event object that is dispatched to indicate that the styles of the component are invalid.

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00