2010-03-21, 21:57
Hi, I try to achieve a rotatey animation that turns 180 Degrees than stops for like 4 seconds and than rotates 180 again.
The animation itself is not the problem, my problem is, that I would like to loop the animation from the moment the Window(MusicVisualisation.xml) opens till you close it and I didn't find the right way to do that. WindowOpen just happens once (don't know why though).
If anyone has any ideas please let me know, and if it would be possible to select any animation for a multiimage to perform before changing instead of a fade, that would be awesome.
However here my code:
The animation itself is not the problem, my problem is, that I would like to loop the animation from the moment the Window(MusicVisualisation.xml) opens till you close it and I didn't find the right way to do that. WindowOpen just happens once (don't know why though).
If anyone has any ideas please let me know, and if it would be possible to select any animation for a multiimage to perform before changing instead of a fade, that would be awesome.
However here my code:
Code:
<control type="multiimage" id="1">
<animation type="WindowOpen">
<effect type="rotatey" start="0" end="90" delay="3500" time="500" center="640" loop="true" reversible="false" />
<effect type="rotatey" start="180" end="270" delay="4000" time="500" center="640" loop="true" reversible="false" />
</animation>
<posx>550</posx>
<posy>0</posy>
<width>180</width>
<height>180</height>
<imagepath>visualisation/covers</imagepath>
<timeperimage>4000</timeperimage>
<fadetime>0</fadetime>
</control>