DefineScalingGrid
tag in a SWF file. The {@code DefineScalingGrid} tag introduces the concept of 9-slice scaling,which allows component-style scaling to be applied to a sprite or button character.
When the {@code DefineScalingGrid} tag associates a character with a 9-slicegrid, Flash Player conceptually divides the sprite or button into nine sections with a grid-like overlay. When the character is scaled, each of the nine areas is scaled independently. To maintain the visual integrity of the character, corners are not scaled, while the remaining areas of the image are scaled larger or smaller, as needed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|