spark.core

# ISharedDisplayObject - AS3 Flex

Package | spark.core
Interface | public interface ISharedDisplayObject
Implementors | Group, IconItemRenderer

Language Version: | ActionScript 3.0

Product Version: | Flex 4

Runtime Versions: | Flash Player 10, AIR 1.5

The ISharedDisplayObject interface defines the minimum requirements that a DisplayObject must implement to be shared between `IGraphicElement` objects. The Group class uses the ISharedDisplayObject interface to manage invalidation and redrawing of sequences of IGraphicElement objects that share a DisplayObject.

Typically, when implementing a custom IGraphicElement class, you also implement this interface for the DisplayObject that the custom IGraphicElement creates.

Public Properties

| Property | Defined By
--- | --- | ---
|  | redrawRequested : Boolean Contains true when any of the IGraphicElement objects that share this DisplayObject need to redraw. | ISharedDisplayObject

Property Detail

### redrawRequested

property

`redrawRequested:Boolean`

Language Version: | ActionScript 3.0

Product Version: | Flex 4

Runtime Versions: | Flash Player 10, AIR 1.5

Contains `true` when any of the IGraphicElement objects that share this DisplayObject need to redraw. This property is used internally by the Group class and you do not typically use it. The Group class sets and reads back this property to determine which graphic elements to validate.

Implementation
`public function get redrawRequested():Boolean`
`public function set redrawRequested(value:Boolean):void`

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