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

  • 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 532
511
EXTENDING FLASH PROFESSIONAL
Tools object
Last updated 5/2/2011
tools.setCursor()
Availability
Flash MX 2004.
Usage
tools.setCursor(cursor)
Parameters
cursor An integer that defines the pointer appearance, as described in the following list:
0 = Plus cursor (+)
1 = black arrow
2 = white arrow
3 = four-way arrow
4 = two-way horizontal arrow
5 = two-way vertical arrow
6 = X
7 = hand cursor
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);
tools.shiftIsDown
Availability
Flash MX 2004.
Usage
tools.shiftIsDown
Description
Read-only property; a Boolean value that is true if the Shift key is pressed; false otherwise.
Example
The following example determines whether the Shift key is being pressed.
Zobrazit stránku 532
1 2 ... 528 529 530 531 532 533 534 535 536 537 538 ... 564 565

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

Žádné komentáře