Adobe Extending Flash Professional CS5 Manuel d'utilisateur Page 142

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 565
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 141
120
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
document.mouseClick()
Availability
Flash MX 2004.
Usage
document.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.
Returns
Nothing.
Description
Method; performs a mouse click from the Selection tool.
Example
The following example performs a mouse click at the specified location:
fl.getDocumentDOM().mouseClick({x:300, y:200}, false, false);
See also
document.mouseDblClk()
document.mouseDblClk()
Availability
Flash MX 2004.
Usage
document.mouseDblClk(position, bAltDown, bShiftDown, bShiftSelect)
Parameters
position A pair of floating-point values that specify the x and y coordinates of the click in pixels.
bAltdown A Boolean value that records whether the Alt key is down at the time of the event: true for pressed; false
for not pressed.
bShiftDown A Boolean value that records whether the Shift key was down when the event occurred: true for pressed;
false for not pressed.
bShiftSelect A Boolean value that indicates the state of the application preference Shift select: true for on; false
for off.
Vue de la page 141
1 2 ... 137 138 139 140 141 142 143 144 145 146 147 ... 564 565

Commentaires sur ces manuels

Pas de commentaire