Kodi Community Forum

Full Version: Loop/Pulse animation help needed with some text
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Text "XXX" appears for 5 seconds and then fades out, and as it fades out text "YYY" appears. Text "YYY" stays for 5 seconds and as it fades out text "XXX" fades in. I want this to be happening when the system is idle. As soon as the system becomes active I want the text to go back to "XXX" if its "YYY". Can anybody help me with this please?
Solved it. All that was needed was a fadelabel controller. Thanks anyway guys.


Code:
<control type="fadelabel">
    <left>843</left>
    <top>108</top>
    <height>145</height>
    <width>190</width>
    <aspectratio>keep</aspectratio>
    <font>Font_105</font>
    <scroll>false</scroll>
    <scrollout>false</scrollout>
    <pauseatend>8000</pauseatend>
    <label>XXX</label>
    <label>YYY</label>
    <visible>Container.Content(movies)</visible>
    <animation type="WindowOpen">
    <effect type="slide" start="250,0" end="0,0" tween="cubic" easing="out" time="1400"/>
    <effect type="fade" start="0" end="100" time="2000" reversible="true"/>
    </animation>
    </control>
I want the second text to stay for only 3000 milliseconds, but it seems like only one instance of <pauseatend>8000</pauseatend> works under one fadelabel control. Anyway to make text XXX stay for 8000 milliseconds, while text YYY to stay for just 3000 milliseconds?
Help me with this atleast, people.