110
Chapter 3: Objects
Returns
A Boolean value:
true
if the save operation completes successfully;
false
otherwise.
Description
Method; saves the document in its default location. This method is equivalent to selecting File >
Save. See
document.saveAndCompact()
,
fl.saveDocumentAs()
,
fl.saveDocument()
, and
fl.saveAll()
.
Example
The following example saves the current document in its default location:
fl.getDocumentDOM().save();
document.saveAndCompact()
Availability
Flash MX 2004.
Usage
document.saveAndCompact( [
bOkToSaveAs
] )
Parameters
bOkToSaveAs
An optional parameter that, if
true
or omitted and the file was never saved, the
Save As dialog box appears. If
false
and the file was never saved, the file is not saved.
Returns
A Boolean value:
true
if the save-and-compact operation completes successfully;
false
otherwise.
Description
Method; saves and compacts the file. This method is equivalent to selecting File > Save and
Compact. See
document.save()
,
fl.saveDocumentAs()
,
fl.saveDocument()
, and
fl.saveAll()
.
Example
The following example saves and compacts the current document:
fl.getDocumentDOM().saveAndCompact();
document.scaleSelection()
Availability
Flash MX 2004.
Usage
document.scaleSelection(
xScale
,
yScale
[,
whichCorner
] )
Содержание FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Страница 1: ...Flash JavaScript Dictionary ...
Страница 16: ...16 Contents ...
Страница 40: ...40 Chapter 2 Top level functions ...
Страница 368: ...368 Chapter 3 Objects ...
Страница 386: ...386 Chapter 4 C Level Extensibility ...