This chapter will describe the nuts and bolts of the framework and highlight each subsystem to provide a high-level understanding of the Scaleform CLIK component architecture.
Figure 60: Scaleform CLIK class hierarchy.
The Prebuilt Components chapter described the classes used by the concrete components bundled with Scaleform CLIK. All of these components inherit core functionality from the UIComponent class (gfx.core.UIComponent). This class is the foundation of all CLIK components, and Scaleform recommends custom components be subclassed from UIComponent.
The UIComponent class itself derives from the Flash 8 MovieClip class, and thus inherits all properties and methods of a standard Flash MovieClip. Several custom read/write properties are supported by the UIComponent class:
UIComponent has several empty methods that are meant to be implemented by subclasses. These include:
The UIComponent mixes in the EventDispatcher class to support event subscribing and dispatching. Therefore, all subclasses support event subscribing and dispatching. For more information, see the Event Model section.
Initialization
This class performs the following initialization steps inside an onLoad() event handler: