Adobe 65011817 Extended User Guide - Page 196
Fireworks functions
UPC - 883919157368
View all Adobe 65011817 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 196 highlights
Last updated 12/8/2009 EXTENDING FIREWORKS 192 The Fireworks Object Property textInsertionIndex • textInsertionLength • textOutputEncoding userJsCommandsDir Data type integer integer string string userSmartShapesDir • userSmartShapeToolsDir • userSymbolLibrariesDir • userSwfCommandsDir string string string string xhtmlFormat Boolean Notes Insertion index into the current active text object. If there is no text selected, returns a value of -1. Insertion length into the current active text object. If there is no text selected, returns a value of -1. The default text encoding for any text file that the JavaScript interpreter generates. Use "iso-8859-1" for ASCII or "utf-8" for Unicode. The path to the user-level Commands directory, which is expressed as a file://URL. In Fireworks, this folder is stored on a per-user basis on multiuser systems. Even on single-user systems, this folder is not inside the Fireworks installation directory. The path to the user's Auto Shapes directory, which is expressed as a file://URL The path to the user's Auto Shape Tools directory, which is expressed as a file://URL. The path to the user's Symbol Libraries, which is expressed as file://URL. The path to the user-level SWF Commands directory, which is expressed as a file://URL. In Fireworks, this folder is stored on a per-user basis on multiuser systems. Even on single-user systems, this folder is not inside the Fireworks installation directory. Determines whether the JavaScript interpreter should output XHTML formatted files or HTML formatted files; XHTML (true) or HTML (false). Fireworks functions In Fireworks CS4, fw is synonymous with the Fireworks object. All methods of the Fireworks object can be referred to as fireworks.functionName() or as fw.functionName(). fw.browseDocument() Availability Fireworks 3. Usage fw.browseDocument(URL) Arguments URL The URL of the page appear in the browser. Any legal URL (including http://, ftp://, and so on) can be passed. Fireworks does not check this argument for syntax; if you pass an illegal value, the browser does not open the URL.