Document.saveandcompact(); Document.scaleselection() - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

Returns
A Boolean value:
Description
Method; saves the document in its default location. This method is equivalent to selecting File >
Save. See

document.saveAndCompact()

.
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
Save As dialog box appears. If
Returns
A Boolean value:
otherwise.
Description
Method; saves and compacts the file. This method is equivalent to selecting File > Save and
Compact. See
document.save()
.
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] )
110
Chapter 3: Objects
if the save operation completes successfully;
true
An optional parameter that, if
and the file was never saved, the file is not saved.
false
if the save-and-compact operation completes successfully;
true
,
fl.saveDocumentAs()
,
fl.saveDocumentAs()
or omitted and the file was never saved, the
true
,
fl.saveDocument()
otherwise.
false
,
fl.saveDocument()
false
, and
, and

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents