+1
Besvaret

Scale from center

jacobshepherd 13 år siden opdateret af mangell (Admin) 13 år siden 1
When using the Scale action to grow an image from a size of zero to its original size, it appears the image grows from the top left corner. Is it possible to grow the image from the center?
+1
<scale> accepts translations as well as width and height. To grow/shrink from the center do something like this:


<scale target="SOMEOBJECT" width="100%" height="100%" align="center" valign="center" time="2"/>


the align and valign values are the key.

You can also use xpos and ypos to control the offset that the image will be at AFTER the scale completes.

Kundesupport af UserEcho