Usage
this.validationError(errorMessage)
This method can be invoked only from within a custom validator class; the keyword
refers to the current CustomValidator object.
Parameters
A string that contains the error message to be reported.
errorMessage
Returns
Nothing.
Description
Method; called from the
validation errors. If you don't call
finishes executing. If you call
validate()
within the
validate()
Each message you pass to
event object that was passed to the
Example
See the Example section for
EndPoint class (Flash Professional only)
ActionScript Class Name
The EndPoint class defines the source or destination of a binding. EndPoint objects define a
constant value, component property, or particular field of a component property, from which
you can get data, or to which you can assign data. They can also define an event, or list of
events, that a Binding object listens for; when the specified event occurs, the binding executes.
When you create a new binding with the Binding class constructor, you pass it two EndPoint
objects: one for the source and one for the destination.
new mx.data.binding.Binding(srcEndPoint, destEndPoint);
220
Data binding classes (Flash Professional only)
method of your subclass of CustomValidator to report
validate()
validationError()
validationError()
, an
event is generated after
invalid
validationError()
invalid
CustomValidator.validate()
mx.data.binding.EndPoint
, a
event is generated when
valid
one or more times from
validate()
is available in the
event handler.
.
returns.
property of the
messages
this
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?