|
|
document.mouseClick()
AvailabilityFlash
MX 2004.
Usagedocument.mouseClick(position, bToggleSel, bShiftSel)
Parameters- position
- A pair of floating-point values that specify the x and y coordinates
of the click in pixels.
- bToggleSel
- A Boolean value that specifies the state of the Shift key: true for pressed; false for
not pressed.
- bShiftSel
- A Boolean value that specifies the state of the application
preference Shift select: true for on; false for off.
DescriptionMethod;
performs a mouse click from the Selection tool.
ExampleThe
following example performs a mouse click at the specified location:
fl.getDocumentDOM().mouseClick({x:300, y:200}, false, false);
|