PDA

View Full Version : Animation Zoom effect


Nuka1195
2007-05-12, 15:06
Could someone explain the end="#,#,#,#" setting for me?

It appears to be "x,y,w,h", but only "y,w,h" are working for me.

<animation effect="zoom" end="680,116,12,391" time="0" condition="Control.IsVisible(51)">Conditional</animation>

I want to move and size a scrollbar, If I add an additional animation effect slide, I can move it horizontally, but is that necessary?

<animation effect="slide" time="0" end="155,0" condition="Control.IsVisible(51)">Conditional</animation>

from:
<posx>525</posx>
<posy>116</posy>
<width>12</width>
<height>200</height>
to:
<posx>680</posx>
<posy>116</posy>
<width>12</width>
<height>391</height>

CHI3f
2007-05-12, 15:26
<animation effect="zoom" end="680,116,12,391" time="0" condition="Control.IsVisible(51)">Conditional</animation>

That looks right to me.

Nuka1195
2007-05-12, 16:03
Thanks, so it is "x,y,w,h".

I Just tested, it works fine in the skinning engine, so it must be another WindowXML Bug.