The modify element moves, rotates, or scales a movie object, which was previously shown on screen with the show tag.
<modify showId="showId" [moveX="xSift"] [moveY="yShift"] [rotate="rotationAngle"]
[rotateCenterX="rotationCenterX" rotateCenterY="rotationCenterY"]
[scaleX="xScale"] [scaleY="yScale"] [skewX="xSkew"] [skewY="ySkew"]
[maskId="showId"] [shiftAlpha="shiftForAlpha"]
[shiftRed="shiftForRed"] [shiftGreen="shiftForGreen"] [shiftBlue="shiftForBlue"]
[transform="transformScript"] [directTransform="useDirectTransformMatrix"]
/>
Name |
Description |
Value type |
Optional |
Default Value |
| showId |
Identifier of show tag which refers to object was previously shown on screen. |
no |
- |
|
moveX |
Relative shift of the object in the X coordinate (can be negative as well). |
yes |
- |
|
moveY |
Relative shift of the object in the Y coordinate (can be negative as well). |
yes |
- |
|
rotate |
Rotation of the object in degrees. If rotateCenterX and rotateCenterY are not specified, the object will be rotated around its center. |
yes |
- |
|
rotateCenterX |
X coordinate of the object rotation center. |
yes |
- |
|
rotateCenterY |
Y coordinate of the object rotation center. |
yes |
- |
|
scaleX |
Scaling coefficient of the object in the X coordinate. |
yes |
- |
|
scaleY |
Scaling coefficient of the object in the Y coordinate. |
yes |
- |
|
skewX |
Defines object skew along X axis. |
yes |
- |
|
skewY |
Defines object skew along Y axis. |
yes |
- |
|
morphPhase |
You may use this attribute to manually define what 65535 frames available use for tweening. Ignored for all objects except morph. Also ignored for morph object is morphFrames is defimed in show tag. |
yes |
0 |
|
maskId |
Identifier (showId) of mask object show tag. |
yes |
- |
|
shiftAlpha |
Shift for original shape transparency. Value may be positive or negative from -255 to 255. |
yes |
- |
|
shiftRed |
Shift for Red part of original shape color. Value may be positive or negative from -255 to 255. |
yes |
- |
|
shiftGreen |
Shift for Green part of original shape color. Value may be positive or negative from -255 to 255. |
yes |
- |
|
shiftBlue |
Shift for Blue part of original shape color. Value may be positive or negative from -255 to 255. |
yes |
- |
|
transform |
This attribute allows to transform original shape defined in objects collection using script-style transformation notation. |
yes |
- |
|
directTransform |
If set to true, ActiveSWF will build and apply 2D matrix transformation to the shape. Look at Direct matrix transformations section for more details. |
yes |
false |
See show tag description for mor information about morphPhase, maskId, directTransform, shiftAlpha, shiftRed, shiftGreen and shiftBlue attributes.
frame element