MACROMEDIA FLASH 8-DEVELOPING FLASH LITE 2.X Uživatelský manuál Strana 6

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 21
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 5
6
Adobe Flash CS3 Classroom in a Book
• The Down state appears when the button is clicked.
• The Hit state defines the buttons active area, which
is the area that responds to the mouse rolling over or
clicking the button.
Converting objects to symbols
In the Convert To Symbol dialog box, you name the
symbol, select a symbol type, and specify a registration
point.
A symbol’s name, and especially an instance name,
should always be lowercase or camelcase. In camelcase,
a name begins with a lowercase letter, but each concat-
enated word is capitalized. For example, pourBottle is a
symbol name in camelcase. Avoid capitalizing symbol
and instance names because ActionScript reserves capi-
tal letters for specific classes and other keywords.
The registration point determines the point at which
Flash reports the coordinates of the symbol, and from
which it resizes or transforms the symbol.
Adding transparency
Transparency, or inversely, opacity, is determined by
the alpha value for a symbol or a color. Decreasing
the alpha value decreases the opacity and increases
the transparency. You can change the alpha value for a
symbol—which affects every instance of that symbol—
or for a single instance.
LESSON 3
Zobrazit stránku 5
1 2 3 4 5 6 7 8 9 10 11 ... 20 21

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

Žádné komentáře