Adobe Extending Flash Professional CS4 Manual do Utilizador Página 526

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 560
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 525
504
EXTENDING FLASH CS4 PROFESSIONAL
Tools object
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.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.
Vista de página 525
1 2 ... 521 522 523 524 525 526 527 528 529 530 531 ... 559 560

Comentários a estes Manuais

Sem comentários