ComponentMixins class

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. 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.

NOTE

 

The ComponentMixins class is supported only if you are working in a document that specifies ActionScript 2.0 in its Publish Settings.

For an overview of the classes in the mx.data.binding package, see Classes in the mx.data.binding package.

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.


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/00002685.html