EXTENDING FLASH PROFESSIONAL Iv Contents
Total Page:16
File Type:pdf, Size:1020Kb
Extending ADOBE® FLASH® PROFESSIONAL Legal notices Legal notices For legal notices, see http://help.adobe.com/en_US/legalnotices/index.html. Last updated 12/6/2013 iii Contents Chapter 1: Introduction Working with the JavaScript API . 1 What’s new in the JavaScript API . 4 JavaScript API objects . 10 Sample implementations . 16 Chapter 2: Top-Level Functions and Methods Top-level summary . 18 activate() . 18 alert() . 19 configureTool() . 19 confirm() . 20 deactivate() . 21 keyDown() . 21 keyUp() . 22 mouseDoubleClick() . 23 mouseDown() . 23 mouseMove() . 24 mouseUp() . 25 notifySettingsChanged() . 25 prompt() . 26 setCursor() . 27 Chapter 3: actionsPanel object actionsPanel summary . 28 actionsPanel.getClassForObject() - dropped . 28 actionsPanel.getScriptAssistMode() - dropped . 29 actionsPanel.getSelectedText() . 30 actionsPanel.getText() . 30 actionsPanel.hasSelection() . 31 actionsPanel.replaceSelectedText() . 31 actionsPanel.setScriptAssistMode() - dropped . 32 actionsPanel.setSelection() . 33 actionsPanel.setText() . 34 Chapter 4: BitmapInstance object bitmapInstance summary . 35 bitmapInstance.getBits() . 35 bitmapInstance.hPixels . 36 bitmapInstance.setBits() . 37 bitmapInstance.vPixels . 37 Last updated 12/6/2013 EXTENDING FLASH PROFESSIONAL iv Contents Chapter 5: BitmapItem object bitmapItem summary . 39 bitmapItem.allowSmoothing . 40 bitmapItem.compressionType ..