Adobe Extending Flash Professional CS4 Uživatelský manuál Strana 267

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 560
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 266
245
EXTENDING FLASH CS4 PROFESSIONAL
flash object (fl)
fl.reloadTools()
Availability
Flash MX 2004.
Usage
fl.reloadTools()
Parameters
None.
Returns
Nothing.
Description
Method; rebuilds the Tools panel from the toolconfig.xml file. This method is used only when creating extensible tools.
Use this method when you need to reload the Tools panel, for example, after modifying the JSFL file that defines a tool
that is already present in the panel.
Example
The following example is a one-line script that you can place in the Commands folder. When you need to reload the
Tools panel, run the script from the Commands menu.
fl.reloadTools();
fl.removeEventListener()
Availability
Flash CS3 Professional.
Usage
fl.removeEventListener(eventType)
Parameters
eventType A string that specifies the event type to remove from this callback function. Acceptable values are
"documentNew", "documentOpened", "documentClosed", "mouseMove", "documentChanged",
"layerChanged", and "frameChanged".
Returns
A Boolean value of true if the event listener was successfully removed; false if the function was never added to the
list with the
fl.addEventListener() method.
Description
Unregisters a function that was registered using fl.addEventListener().
Zobrazit stránku 266
1 2 ... 262 263 264 265 266 267 268 269 270 271 272 ... 559 560

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

Žádné komentáře