Adobe Extending Flash Professional CS4 User Manual
Page 295
273
EXTENDING FLASH CS4 PROFESSIONAL
FLfile object
Description
Method; writes the specified string to the specified file (as UTF-8). If the specified file does not exist, it is created.
However, the folder in which you are placing the file must exist before you use this method. To create folders, use
Example
The following example attempts to write the string "xxx" to the file mydata.txt and displays an alert message if the write
succeeded. It then attempts to append the string "aaa" to the file and displays a second alert message if the write
succeeded. After executing this script, the file mydata.txt will contain only the text "xxxaaa".
var URI = "file:///c|/temp/mydata.txt";
if (FLfile.write(URI, "xxx")) {
alert("Wrote xxx to " + URI);
}
if (FLfile.write(URI, "aaa", "append")) {
alert("Appended aaa to " + fileURI);
}
See also
- Acrobat 9 PRO (590 pages)
- Acrobat 9 PRO Extended (546 pages)
- Acrobat 8 3D (600 pages)
- Acrobat 7 Professional (793 pages)
- After Effects CS4 (753 pages)
- After Effects CS4 (778 pages)
- Media Encoder CS5.5 (59 pages)
- Media Encoder CS5.5 (77 pages)
- Media Encoder CS4 (45 pages)
- Digital Publishing Suite (222 pages)
- InDesign CC v.9.2 2014 (643 pages)
- After Effects CS3 (677 pages)
- InCopy CS3 (393 pages)
- InCopy CS3 (710 pages)
- InCopy CS3 (672 pages)
- InDesign Filters Readme (15 pages)
- InDesign Tagged Text (29 pages)
- InDesign (829 pages)
- InDesign CS4 (717 pages)
- Dreamweaver CS3 (700 pages)
- Dreamweaver CS3 (738 pages)
- Dreamweaver CS3 (732 pages)
- Extending Dreamweaver CS3 (387 pages)
- Dreamweaver API Reference CS3 (533 pages)
- Flash Professional CS3 (943 pages)
- Flash Professional CS3 (527 pages)
- Extending Flash Professional CS5.5 (565 pages)
- Premiere Pro CS6 (575 pages)
- Premiere Pro CS6 (485 pages)
- Premiere Pro CS4 (491 pages)
- Premiere Pro CS3 (455 pages)
- Photoshop CC 2014 v.14.xx (1061 pages)
- Photoshop Lightroom 2 (261 pages)
- Photoshop CS4 (707 pages)
- Photoshop CS3 (681 pages)
- Elements Organizer 8 for Windows (180 pages)
- Elements Organizer 11 (238 pages)
- Premiere Elements 12 (319 pages)
- Premiere Elements 7 (313 pages)
- Illustrator CS6 (556 pages)
- Illustrator CS6 (499 pages)
- Illustrator CS3 (495 pages)