MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 432

Extending flash
Table of Contents

Advertisement

symbolItem.scalingGrid
Availability
Flash 8.
Usage
symbolItem.scalingGrid
Description
Property; a Boolean value that specifies whether 9-slice scaling is enabled for the item.
Example
The following example enables 9-slice scaling for an item in the library:
fl.getDocumentDOM().library.items[0].scalingGrid = true;
See also
symbolItem.scalingGridRect
symbolItem.scalingGridRect
Availability
Flash 8.
Usage
symbolItem.scalingGridRect
Description
Property; a rectangle object that specifies the locations of the four 9-slice guides. For
information on the format of the rectangle, see
.
document.addNewRectangle()
Example
The following example specifies the locations of the 9-slice guides:
fl.getDocumentDOM().library.items[0].scalingGridRect = {left:338, top:237,
right:3859, bottom:713};
See also
symbolItem.scalingGrid
432
Objects

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents