Adobe Extending Flash Professional CS5 Manuel d'utilisateur Page 532

  • 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 531
510
EXTENDING FLASH PROFESSIONAL
Tools object
Last updated 5/2/2011
tools.penLoc
Availability
Flash MX 2004.
Usage
tools.penLoc
Description
Read-only property; a point that represents the current location of the mouse pointer. The tools.penLoc property
comprises two properties, x and y, corresponding to the x,y location of the mouse pointer.
Example
The following example determines the current location of the mouse:
var tempPt = fl.tools.penLoc;
See also
tools.penDownLoc
tools.setCreatingBbox()
Availability
Flash 11.
Usage
tools.setCreatingBbox()
Parameters
Placeholder An integer that defines the pointer appearance, as described in the following list:
Returns
Nothing.
Description
Method; sets the pointer to a specified appearance.
Example
The following example sets the pointer to a black arrow.
fl.tools.setCursor(1);
Vue de la page 531
1 2 ... 527 528 529 530 531 532 533 534 535 536 537 ... 564 565

Commentaires sur ces manuels

Pas de commentaire