Document.screenoutline - 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

Parameters
A floating point value that specifies the amount of x by which to scale.
xScale
A floating point value that specifies the amount of y by which to scale.
yScale
whichCorner
omitted, scaling occurs about the transformation point. Acceptable values are:
"bottom right"
, and
center"
"left center"
Returns
Nothing.
Description
Method; scales the selection by a specified amount. This method is equivalent to using the Free
Transform tool to scale the object.
Example
The following example expands the width of the current selection to double the original width
and shrinks the height to half:
flash.getDocumentDOM().scaleSelection(2.0, 0.5);
The following example flips the selection vertically:
fl.getDocumentDOM().scaleSelection(1, -1);
The following example flips the selection horizontally:
fl.getDocumentDOM().scaleSelection(-1, 1);
The following example scales the selection vertically by 1.9 from the top center:
fl.getDocumentDOM().scaleSelection(1, 1.90, 'top center');

document.screenOutline

Availability
Flash MX 2004.
Usage
document.screenOutline
Description
Read-only property; the current
object for the first time, make sure to use
property exists.
Example
The following example displays the array of values in the
var myArray = new Array();
for(var i in fl.getDocumentDOM().screenOutline) {
A string value that specifies the edge about which the transformation occurs. If
,
,
"top right"
"top left"
. This parameter is optional.
ScreenOutline object
,
,
"top center"
for the document. Before accessing the
document.allowScreens()
screenOutline
"bottom left"
,
"right center"
"bottom
to determine whether the
property:
Document object
,
111

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents