home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Skins
Building a skin from scratch - a tour -
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mbuzina" data-source="post: 1006675" data-attributes="member: 12382"><p>And again a stumbling block: I am trying to build a nice Transition on my NowPlaying Screen. I want the thumb to switch every 10 seconds between front cover & back cover, so I created a label that has text every 10 seconds like this:</p><p>[CODE=XML] <control Style="hiddenStyle"></p><p> <id>5546</id></p><p> <description>10 Second Flip less than 1hour </description></p><p> <type>fadelabel</type></p><p> <label>#(switch(</p><p> eq(string.format('{0}',math.floor(cint(string.ltrim(string.ltrim(#currentplaytime,'0123456789'),':')),-1)),'0'),'0-9',</p><p> eq(string.format('{0}',math.floor(cint(string.ltrim(string.ltrim(#currentplaytime,'0123456789'),':')),-1)),'20'),'20-29',</p><p> eq(string.format('{0}',math.floor(cint(string.ltrim(string.ltrim(#currentplaytime,'0123456789'),':')),-1)),'40'),'40-49',</p><p> eq(1,1),''))</label></p><p> </control></p><p>[/CODE]</p><p> </p><p>But setting visibility to this does not work correctly - it changes only once and than stays as it is. Is this too complicated for MP?</p></blockquote><p></p>
[QUOTE="mbuzina, post: 1006675, member: 12382"] And again a stumbling block: I am trying to build a nice Transition on my NowPlaying Screen. I want the thumb to switch every 10 seconds between front cover & back cover, so I created a label that has text every 10 seconds like this: [CODE=XML] <control Style="hiddenStyle"> <id>5546</id> <description>10 Second Flip less than 1hour </description> <type>fadelabel</type> <label>#(switch( eq(string.format('{0}',math.floor(cint(string.ltrim(string.ltrim(#currentplaytime,'0123456789'),':')),-1)),'0'),'0-9', eq(string.format('{0}',math.floor(cint(string.ltrim(string.ltrim(#currentplaytime,'0123456789'),':')),-1)),'20'),'20-29', eq(string.format('{0}',math.floor(cint(string.ltrim(string.ltrim(#currentplaytime,'0123456789'),':')),-1)),'40'),'40-49', eq(1,1),''))</label> </control> [/CODE] But setting visibility to this does not work correctly - it changes only once and than stays as it is. Is this too complicated for MP? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
Building a skin from scratch - a tour -
Contact us
RSS
Top
Bottom