In coding the below flex application we have use an
event object property target
. We also have another event object property currentTarget.
These properties enables the programmer
to track the event of which the object is made, during the event's
propagating process. Properties target and currentTarget differ in their targeting jobs. target
property may dispatch the event to a component or component's sub component,
whereas currentTarget will target the event to a particular node in which
the event listener (function in which the event object is
made) is called or tested.
Syntax for using these object properties
event.target.label
event.currentTarget.label
Target.mxml
<?xml version = '1.0' encoding = 'utf-8'?>
|
Target.swf

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: Flex target property example
Post your Comment