MACROMEDIA DIRECTOR MX 2004-USING DIRECTOR Use Manual page 72

Hide thumbs Also See for DIRECTOR MX 2004-USING DIRECTOR:
Table of Contents

Advertisement

To resize a sprite by dragging its handles:
Select the sprite.
1
On the Stage, drag any of the sprite's resize handles. Hold down Shift while dragging to
2
maintain the sprite's proportions.
To scale a sprite by pixels or by an exact percentage:
Select the sprite you want to scale and click the Sprite tab of the Property inspector
1
(Graphical view).
Click the Scale button.
2
The Scale Sprite dialog box appears.
Enter new values to scale the sprite by doing one of the following:
3
Specify a pixel size in the Width or Height text boxes. If Maintain Proportions is selected, all
the updatable text boxes adjust to reflect the new scaled size. If Maintain Proportions is not
selected, you can specify new proportions in the Width and Height text boxes.
Enter a percentage in the Scale text box.
Click OK.
4
The sprite is scaled relative to its current size not to the size of its parent cast member.
To restore a sprite to its original dimensions, do one of the following:
On the Sprite tab in the Property inspector (Graphical view), click Restore All.
Select Modify > Transform > Reset Width and Height or Reset All.
To resize a sprite's bounding rectangle with script:
Set the sprite's
the Scripting Reference topics in the Director Help Panel.
The
sprite property determines the coordinates of a sprite's bounding rectangle.
rect
The coordinates are given as a
bottom coordinates.
To change a sprite's height or width with script:
Set the
height
Scripting Reference topics in the Director Help Panel.
Rotating and skewing sprites
You can rotate and skew sprites to turn and distort images and to create dramatic animated
effects. You rotate and skew sprites on the Stage by dragging. To rotate and skew sprites more
precisely, use Lingo or JavaScript syntax or the Property inspector to enter degrees of rotation or
skew. The Property inspector is also useful for rotating and skewing several sprites at once by the
same angle.
72
Chapter 3: Sprites
or
sprite property. For more information about these properties, see
quad
rect
rect
or
sprite property. For more information about these properties, see the
width
value, which is a list of the left, top, right, and

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-USING DIRECTOR and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents