Adobe Extending Flash Professional CS5 Uživatelský manuál Strana 43

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 565
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 42
21
EXTENDING FLASH PROFESSIONAL
Top-Level Functions and Methods
Last updated 5/2/2011
function mouseMove() {
fl.trace("moving");
}
function mouseMove(pt) {
fl.trace("x = "+ pt.x + " :: y = " + pt.y);
}
mouseUp()
Availability
Flash MX 2004.
Usage
function mouseUp() {
// statements
}
Parameters
None.
Returns
Nothing.
Description
Function; called whenever the extensible tool is active and the mouse button is released after being pressed on the
Stage.
Example
The following example displays a message in the Output panel when the extensible tool is active and the mouse button
is released.
function mouseUp() {
fl.trace("mouse is up");
}
notifySettingsChanged()
Availability
Flash MX 2004.
Usage
function notifySettingsChanged() {
// statements
}
Zobrazit stránku 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 564 565

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

Žádné komentáře