Adobe Extending Flash Professional CS5 Uživatelský manuál Strana 532

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 565
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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);
Zobrazit stránku 531
1 2 ... 527 528 529 530 531 532 533 534 535 536 537 ... 564 565

Komentáře k této Příručce

Žádné komentáře