MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE Reference page 191

Actionscript language reference
Table of Contents

Advertisement

Example
In the following script, the
conditional script is executed when the mouse is released and the object is dropped:
on (press) {
startDrag(this);
}
on (release) {
trace("X:"+this._x);
trace("Y:"+this._y);
stopDrag();
}
See also
onClipEvent()
function executes when the mouse is pressed, and the
startDrag()
on()
191

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLEX-FLEX ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flex

Table of Contents