MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Manual do Utilizador Página 14

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 16
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 13
14
Custom sprite properties
Custom sprite properties
Note how the construction sprite(me.spriteNum) is used to fetch
the number of the sprite the script is associated with. This means
that several sprites can use the script independently!
random(n) returns a random integer between 1 and n.
Some useful sprite properties
Some useful sprite properties
member
member
The cast member of the sprite.
The cast member of the sprite.
loc
loc
,
,
locH
locH
,
,
locV
locV
Position, horizontal position,
Position, horizontal position,
vertical position.
vertical position.
width
width
,
,
height
height
Width and height of the sprite.
Width and height of the sprite.
rotation
rotation
Rotation
Rotation
of sprite in degrees (right
of sprite in degrees (right
-
-
click on sprite, select
click on sprite, select
Edit Cast Member...
Edit Cast Member...
and
and
move the
move the
registration point
registration point
using the tool
using the tool
to set the pivot point for rotation).
to set the pivot point for rotation).
Vista de página 13
1 2 ... 9 10 11 12 13 14 15 16

Comentários a estes Manuais

Sem comentários