animation not working on openelec kodi
#1
I have this bit I can't make work in openelec (everywhere else it does)

Code:
<control type="image" description="Color Base">
       <visible>Skin.HasSetting(colormenu)</visible>
       <animation effect="fade" start="0" end="100" time="100" delay="100" reversible="false">Focus</animation>
       <animation effect="fade" start="100" end="0" time="180" reversible="true">unFocus</animation>
       <centerleft>130</centerleft>
       <centertop>110</centertop>
       <width>220</width>
       <height>168</height>
       <texture border="40">$INFO[ListItem.Property(color),icons/,.png]</texture>
</control>

ListItem.Property(color) returns the name of the file i.e. orange or purple and they are correctly pointed since if I take out the animation bit , then it works.
I can't figure out what's wrong with it.

any helpHuh??
Image Image
Did I Help? Add to my reputation
Reply
#2
http://forum.kodi.tv/showthread.php?tid=217529

Maybe Case Sensetive ? the .png files need to be case sensetive in openelec (while in windows Orange.png\orange.png is the same)
Phenomenal™ Skin • ForumWebsiteGitHub
Reply
#3
(2015-02-27, 22:53)tomer953 Wrote: http://forum.kodi.tv/showthread.php?tid=217529

Maybe Case Sensetive ? the .png files need to be case sensetive in openelec (while in windows Orange.png\orange.png is the same)

nope. I double and triple checked...

also as mentioned, if I delete the animation bit... the png shows up.
Image Image
Did I Help? Add to my reputation
Reply
#4
Unfocus not unFocus.
Reply
#5
(2015-02-28, 20:17)Hitcher Wrote: Unfocus not unFocus.


Thanx!!

also focus and not Focus? is that linux only?

will check.

gotta say though that on a different line of the same XML I use the same animation... spelled like that... and it DOES work ConfusedConfusedConfusedConfusedConfused

Code:
<control type="image">
    <animation effect="fade" start="0" end="100" time="100" delay="100" reversible="false">Focus</animation>
    <animation effect="fade" start="100" end="0" time="180" reversible="true">unFocus</animation>
    <centerleft>130</centerleft>
    <centertop>110</centertop>
    <width>220</width>
    <height>168</height>
    <texture border="40">images/atvslider.png</texture>
    <colordiffuse>main</colordiffuse>
</control>

to complete the situation all of this in inside a focused layout tag. (both controls) one works the other doesn't....
Image Image
Did I Help? Add to my reputation
Reply
#6
Tried?
Code:
background="true"
Reply
#7
testing it right now and having others give it a try,

but it seems that changing unFocus ti Unfocus somehow did the trick...

not sure how it's different between the 2 animations...

but many many thanks.
Image Image
Did I Help? Add to my reputation
Reply

Logout Mark Read Team Forum Stats Members Help
animation not working on openelec kodi0