Use this Action to change a property of a sprite or the whole movie. You can change position, scale, rotation, alpha or visibility.
For any of the seven properties, you can either leave the property unchanged (na), set it to a new value (=), add (+=) or subtract (-=) a value, or multiply (*=) or divide (/=) by a constant value or by the corresponding value of another sprite. You can also limit the property value to a maximum or minimum value.
When you select an option other than "na" for a property, and edit box appears where you can enter
·
a numeric value
·
the name of a sprite (target) whose corresponding property value to use
·
rnd(lo,hi) to use a random value between lo and hi inclusive
In the Action Tree, the Set Properties action appears like some JavaScript or Flash ActionScript code.
In the example below, we are telling the sprite "MySprite" to move 10 pixels to the right and 20 pixels up and rotate by 45 degrees.