+1
Отвечен

Scale from center

jacobshepherd 12 лет назад обновлен mangell (Admin) 12 лет назад 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.

Сервис поддержки клиентов работает на платформе UserEcho