MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 229

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

Description
Property; specifies a property name of the component instance specified by
EndPoint.component
Note:
EndPoint.component
property combination.
Example
This example binds the
property in another TextInput component (
var sourceEndPoint = {component:text_1, property:"text"};
var destEndPoint = {component:text_2, property:"text"};
new Binding(sourceEndPoint, destEndPoint);
ComponentMixins class (Flash Professional only)
ActionScript Class Name
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()
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
document.
For an overview of the classes in the mx.data.binding package, see
package (Flash Professional only)" on page
Method summary for the ComponentMixins class
The following table lists the methods of the ComponentMixins class.
Method
ComponentMixins.getField()
ComponentMixins.initComponent()
ComponentMixins.refreshDestinations()
ComponentMixins.refreshFromSources()
ComponentMixins.validateProperty()
that contains the bindable data.
and
EndPoint.property
property of one TextInput component (
text
text_2
mx.data.binding.ComponentMixins
method call. These properties and methods do not affect
213.
Description
Returns an object for getting and setting the value of a
field at a specific location in a component property.
Adds the ComponentMixins methods to a component.
Executes all the bindings that have this object as the
source endpoint.
Executes all bindings that have this component as the
destination endpoint.
Checks to see if the data in the indicated property
is valid.
must combine to form a valid ActionScript object/
text_1
).
"Classes in the mx.data.binding
Data binding classes (Flash Professional only)
) to the same
229

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents