If you issue the following command:
fl.runScript("file:///C|/testScript.jsfl", "testFunct", 10, 1);
The following information appears in the Output panel:
in for loop i=0
in for loop i=1
end of for loop
in testFunct: 1st arg: 10 2nd arg: 1
You can also just call testScript.jsfl without executing a function:
fl.runScript("file:///C|/testScript.jsfl");
which produces the following in the Output panel:
in for loop i=0
in for loop i=1
end of for loop
fl.saveAll()
Availability
Flash MX 2004.
Usage
fl.saveAll()
Parameters
None.
Returns
Nothing.
Description
Method; saves all open documents.
If a file has never been saved, or has not been modified since the last time it was saved,
the file isn't saved. To allow an unsaved or unmodified file to be saved, use
fl.saveDocumentAs().
Example
The following example saves all open documents.
fl.saveAll();
flash object (fl)
249
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers