MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Bedienungsanleitung Seite 14

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 16
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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).
Seitenansicht 13
1 2 ... 9 10 11 12 13 14 15 16

Kommentare zu diesen Handbüchern

Keine Kommentare