MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Uživatelský manuál Strana 12

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 16
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 11
12
Changing sprite properties
Changing sprite properties
Changing the properties of
Changing the properties of
a sprite is an important
a sprite is an important
way of creating dynamic
way of creating dynamic
content in Director.
content in Director.
Let
Let
s change the cast
s change the cast
member of a tomato sprite
member of a tomato sprite
to create a blinking
to create a blinking
-
-
eyes
eyes
-
-
effect!
effect!
First, we import the two
First, we import the two
images and create a sprite
images and create a sprite
for the tomato as usual.
for the tomato as usual.
Changing sprite properties
Changing sprite properties
Next, we create a global variable to keep track of time as before.
We also need a variable that states when the next member change
is to take place.
We also create a variable that states if the tomato’s eyes are open or not.
Zobrazit stránku 11
1 2 ... 7 8 9 10 11 12 13 14 15 16

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

Žádné komentáře