MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference page 921

Actionscript 2.0 language reference
Table of Contents

Advertisement

Scaled to 25%:
Stretched horizontally
150%:
A common use for setting
same width when the component is scaled.
In the Macromedia Flash authoring environment, you can enable guides for 9-slice scaling for
a movie clip symbol in a library. This lets you graphically determine the
object. When you set 9-slice scaling for a symbol, the
that symbol is automatically set. For a symbol that has 9-slice scaling enabled, when you
create the SWF file any curve that spans more than one region of the 9-slice scaling grid is
divided into separate curves for each region of the grid. For instance, consider a curve in a
movie clip symbol for which 9-slice scaling is enabled and the same curve in a movie clip
symbol for which 9-slice scaling is not enabled:
Symbol with 9-slice
scaling enabled:
Symbol without 9-
slice scaling enabled:
When Flash creates the SWF file, the curve in first movie clip illustrated is divided into three
curves. This is not the case for the second movie clip, for which the 9-slice scaling is not
enabled. Even if you set
of the first movie clip, when you scale these movie clips the results differ because
scale9Grid
of the way Flash divides the curves in the first movie clip:
Symbol with 9-slice
scaling enabled
Symbol without 9-
slice scaling enabled
Availability: ActionScript 1.0; Flash Player 8
is to set up a component in which edge lines retain the
scale9Grid
for the second movie clip to a rectangle that matches the
scale9Grid
scale9grid
property of any instance of
scale9grid
for the
MovieClip
921

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF