ComponentMixins class (Flash Professional only)

ActionScript Class Name mx.data.binding.ComponentMixins

The ComponentMixins class defines properties and methods that are automatically added to any object that is the source or destination of a binding, or to any component that's the target of a ComponentMixins.initComponent() method call. These properties and methods do not affect normal component functionality; rather, they add functionality that is useful with data binding.

NOTE

 

To make this class available at runtime, you must include the data binding classes in your FLA file. For more information, see Making data binding classes available at runtime (Flash Professional only).

For an overview of the classes in the mx.data.binding package, see Classes in the mx.data.binding package (Flash Professional only).

Method summary for the ComponentMixins class

The following table lists the methods of the ComponentMixins class.

Method

Description

ComponentMixins.getField()

Returns an object for getting and setting the value of a field at a specific location in a component property.

ComponentMixins.initComponent()

Adds the ComponentMixins methods to a component.

ComponentMixins.refreshDestinations()

Executes all the bindings that have this object as the source endpoint.

ComponentMixins.refreshFromSources()

Executes all bindings that have this component as the destination endpoint.

ComponentMixins.validateProperty()

Checks to see if the data in the indicated property is valid.


Version 8

 

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

Current page: http://livedocs.adobe.com/flash/8/main/00003221.html