ComponentMixins.initComponent()

Availability

Flash Player 6 (6.0.79.0).

Edition

Flash MX Professional 2004.

Usage

mx.data.binding.ComponentMixins.initComponent(componentInstance)

Parameters

componentInstance A reference to a component instance.

Returns

Nothing.

Description

Method (static); adds all the ComponentMixins methods to the component specified by componentInstance. This method is called automatically for all components involved in a data binding. To make the ComponentMixins methods available for a component that is not involved in a data binding, you must explicitly call this method for that component.

Example

The following code makes the ComponentMixins methods available to a DataSet component:

mx.data.binding.ComponentMixins.initComponent(_root.myDataSet);

Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00002687.html