Document.getaligntodocument(); Document.getcustomfill() - 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

Example
The following example sets the frame rate to 25.5 frames per second:
fl.getDocumentDOM().frameRate = 25.5;

document.getAlignToDocument()

Availability
Flash MX 2004.
Usage
document.getAlignToDocument()
Parameters
None.
Returns
A Boolean value:
Description
Method; identical to retrieving the value of the To Stage button in the Align panel. Gets the
preference that can be used for
document.match()
document.setAlignToDocument()
Example
The following example retrieves the value of the To Stage button in the Align panel. If the return
value is
, the To Stage button is active; otherwise, it is not.
true
var isAlignToDoc = fl.getDocumentDOM().getAlignToDocument();
fl.getDocumentDOM().align("left", isAlignToDoc);

document.getCustomFill()

Availability
Flash MX 2004.
Usage
document.getCustomFill( [ objectToFill ] )
Parameters
objectToFill
valid:
, which returns the fill object of the toolbar and Property inspector
"toolbar"
"selection"
If you omit this parameter, the default value is
returns
undefined
90
Chapter 3: Objects
if the preference is set to align the objects to the Stage;
true
document.align()
, and
document.space()
.
A string that specifies the location of the fill object. The following values are
, which returns the fill object of the selection
. This parameter is optional.
,
document.distribute()
methods on the document. See
. If there is no selection, the method
"selection"
otherwise.
false
,

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