Description

Used for animated controls, e.g. wait animation.

Note: This control type is rarely used within MediaPortal plugins since the 'wait cursor' is built in, however it is often used by 3rd party plugins.

Tags

Element Name

Data Type

Description

Easing

String

 

FillBehavior

String

 

HorizontalAlignment

String

 

textures

String

 

rate

String

 

Duration

String

 

RepeatBehavior

String

 

VerticalAlignment

String

 

Triggers

String

 

keepaspectratio

Boolean (yes or no)

Defaults to false.

Example

DefaultWide skin movingpictures.xml:

<control>
<description>Working Animation</description>
<type>animation</type>
<id>13</id>
<posX>550</posX>
<posY>80</posY>
<width>96</width>
<height>96</height>
<textures>common.waiting.1.png;common.waiting.2.png;common.waiting.3.png;common.waiting.4.png;common.waiting.5.png;common.waiting.6.png;common.waiting.7.png;common.waiting.8.png</textures>
<Duration>0:0:01.5</Duration>
<keepaspectratio>yes</keepaspectratio>
</control>

Related

See also Animations for information on using the animation tag to animate other skin controls.