User Guide

ComponentMixins.getField() 227
Method summary for the ComponentMixins class
The following table lists the methods of the ComponentMixins class.
ComponentMixins.getField()
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
componentInstance.getField(propertyName, [location])
Parameters
propertyName A string that contains the name of a property of the specified component.
location An optional parameter that indicates the location of a field within the
component property. This is useful if
propertyName specifies a complex data structure and
you are interested in a particular field of that structure. The
location property can take one
of three forms:
A string that contains an XPath expression. This is only valid for XML data structures. For
a list of supported XPath expressions, see “Adding bindings using path expressions” in
Using Flash.
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.