Continiously animated label (1 Viewer)

rivera

Retired Team Member
  • Premium Supporter
  • December 1, 2008
    237
    21
    Home Country
    Russian Federation Russian Federation
    I am using MP 1.1 Alfa and would like to change a label in my skin.
    I have a multiimage background with 1920x1080 pics continiously changing every 15 sec.
    Above them some text label must be displayed.
    But sometimes the text is not clearly visible - if textcolor is similar to backcolor.
    Sbbm9UScaK.jpg

    So, is it possible to fade the text continiously in loop?

    First I tryed this:
    Code:
    <animation effect="fade" start="20" time="2000">WindowOpen</animation>
    So, after opening the window, the text fades (from 20% to 100%) properly within 2 sec.
    But I needed a continiously animated text.

    So, I tryed this:
    Code:
    <animation effect="fade" start="20" time="2000" condition="true" pulse="true">Conditional</animation>
    No sucess - textcolor is not changing at all :(.

    Also, I created a dummy control (id=999777) and made it focused by default:
    Code:
    <defaultcontrol>999777</defaultcontrol>
    And corrected conditions:
    Code:
    <animation effect="fade" start="20" time="2000" condition="Control.HasFocus(999777)" pulse="true">Conditional</animation>
    Again no sucess - textcolor is not changing at all :(.

    Can anyone give me an advise how to make the text animated?
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    I found this thread by accident.

    While i was looking into the VisualEffects class i found that "Conditional" animations were not working at all.
    I fixed it and tried with your second attempt from above:
    Code:
    <animation effect="fade" start="20" time="2000" condition="true" pulse="true">Conditional</animation>

    this works perfect now.
    Fix will be part of the 1.1 release
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    please see above.
    as i mentioned there, there is a bug in 1.02. Loop and Pulse do not workl at all.
    they will work with 1.1.
     

    Users who are viewing this thread


    Write your reply...
    Top Bottom