How to obtain the coordinates of mouse clicks on stage in JSFL?
I have rewritten these two methods in the jsx file without any effect
function mouseDown() {
fl.trace("Mouse button has been pressed");
}
function mouseDown(pt) {
fl.trace("x = "+ pt.x+" :: y = "+pt.y);
}
This method may also report errors
fl.addEventListener("mouseDown", myFunction);
Thank you very much if you can!
