A display object that supports validation. Display objects of this type will delay updating after property changes until just before OpenFL renders the display list to avoid running redundant code.

Available since

1.0.0

.

Variables

@:flash.propertyread onlydepth:Int

The component's depth in the display list, relative to the stage. If the component isn't on the stage, its depth will be -1.

Used by the validation system to validate components from the top down.

Available since

1.0.0

.

Methods

validateNow():Void

Immediately validates the display object, if it is invalid. The validation system exists to postpone updating a display object after properties are changed until until the last possible moment the display object is rendered. This allows multiple properties to be changed at a time without requiring a full update every time.

Available since

1.0.0

.