2009-12-19, 00:19
i need a little help with multiimage control, i am trying to have a ICON and a BACKDROP image on my home menu, but no matter what i do my ICON uses the same image as my BACKDROP is it not possible to have different images ?
i have tried setting <icon> to the image for my required ICON, & i have tried setting <thumb> to the BACKDROP image but BOTH image use the BACKDROP image.
also tried VICE-VERSA but it made NO difference.
EDIT: Just realised that i had both set to use ListItem.Icon, now if i set one them to use ListItem.Thumb i get no image for that one, any ideas ?
i have tried setting <icon> to the image for my required ICON, & i have tried setting <thumb> to the BACKDROP image but BOTH image use the BACKDROP image.
also tried VICE-VERSA but it made NO difference.
PHP Code:
<control type="multiimage">
<posx>0</posx>
<posy>0</posy>
<width>1920</width>
<height>1080</height>
<imagepath background="true">$INFO[Container(9000).ListItem.Icon]</imagepath>
<timeperimage>8000</timeperimage>
<randomize>true</randomize>
<fadetime>1000</fadetime>
</control>
<control type="fixedlist" id="9000">
<hitrect x="50" y="50" w="495" h="930" />
<posx>-30</posx>
<posy>173</posy>
<width>600</width>
<height>714</height>
<onleft>10</onleft>
<onright>9001</onright>
<onup>9000</onup>
<ondown>9000</ondown>
<pagecontrol>-</pagecontrol>
<scrolltime>300</scrolltime>
<focusposition>3</focusposition>
<movement>2</movement>
<animation effect="fade" start="0" end="100" time="200">Visible</animation>
<itemlayout height="102" width="570">
<control type="label">
<posx>570</posx>
<posy>30</posy>
<width>570</width>
<height>60</height>
<font>Home_MainMenu</font>
<textcolor>grey3</textcolor>
<align>right</align>
<aligny>center</aligny>
<label>[UPPERCASE]$INFO
[ListItem.Label][/UPPERCASE]</label>
<animation effect="zoom" start="65" end="65" center="570,51" time="0" condition="true">Conditional</animation>
</control>
</itemlayout>
<focusedlayout height="102" width="570">
<control type="label">
<posx>570</posx>
<posy>30</posy>
<width>570</width>
<height>60</height>
<font>Home_MainMenu</font>
<textcolor>white</textcolor>
<align>right</align>
<aligny>center</aligny>
<animation type="Focus">
<effect type="zoom" start="65" end="100" center="570,51" time="200" tween="cubic" easing="inout" />
<effect type="fade" start="20" end="100" time="200" />
</animation>
<animation type="UnFocus" condition="!ControlGroup(9001).HasFocus">
<effect type="zoom" start="100" end="65" center="570,51" time="200" tween="cubic" easing="inout" />
<effect type="fade" start="100" end="20" time="0" />
</animation>
<label>[UPPERCASE]$INFO
[ListItem.Label][/UPPERCASE]</label>
</control>
<control type="image">
<posx>200</posx>
<posy>94</posy>
<width>250</width>
<height>250</height>
<info>ListItem.Icon</info>
</control>
<control type="image">
<posx>555</posx>
<posy>94</posy>
<width>27</width>
<height>27</height>
<texture>HomeHasSub.png</texture>
</control>
</focusedlayout>
<content>
<item id="2">
<label>3</label>
<onclick>ActivateWindow(Videos)</onclick>
<thumb>special://skin/backgrounds/pictures.jpg</thumb>
<icon fallback="special://skin/backgrounds/videos.jpg">$INFO[Skin.String(Home_Custom_Back_Video_Folder)]</icon>
<visible>!Skin.HasSetting(HomeMenuNoVideosButton) + ![Skin.HasSetting(HomeMenuNoMoviesButton) + Skin.HasSetting(HomeMenuNoTVShowsButton)]</visible>
</item>
</content>
</control>