2011-08-19, 02:00
I want to show the logo.png if character.png isnt found.
I currently have:
But that doesnt work.
I also tried:
That doesnt work. Anyone?
I currently have:
Code:
<control type="largeimage" id="8984">
<posx>0</posx>
<posy>0</posy>
<width>300</width>
<height>300</height>
<aligny>center</aligny>
<texture background="true">$INFO[ListItem.Path,,character.png]</texture>
<aspectratio>keep</aspectratio>
<animation effect="fade" start="100" end="40" time="0" condition="Control.HasFocus(567)">conditional</animation>
<animation effect="fade" start="100" end="40" time="0" condition="!Control.HasFocus(567)">conditional</animation>
<visible>!stringcompare(ListItem.Icon,DefaultFolderBack.png)</visible>
</control>
<control type="largeimage">
<posx>0</posx>
<posy>50</posy>
<width>310</width>
<height>145</height>
<aligny>center</aligny>
<texture background="true">$INFO[ListItem.Path,,logo.png]</texture>
<aspectratio>keep</aspectratio>
<animation effect="fade" start="100" end="40" time="0" condition="Control.HasFocus(567)">conditional</animation>
<animation effect="fade" start="100" end="40" time="0" condition="!Control.HasFocus(567)">conditional</animation>
<visible>IsEmpty(Control.GetLabel(8984))</visible>
<visible>!stringcompare(ListItem.Icon,DefaultFolderBack.png)</visible>
</control>
But that doesnt work.
I also tried:
Code:
<visible>IsEmpty($INFO[ListItem.path]character.png)</visible>
That doesnt work. Anyone?