2013-04-24, 18:35
Dear All,
Can I pick your genius brains once again. I've been playing with conditional visibility, but can't get the following to work. I'm trying to get the background to correspond to the type of music playing, but this patently ain't right as it will always default to the second image. Is it a complete no-no to try and use labels in this way, or have I just got the conditions wrong?
Thanks
Can I pick your genius brains once again. I've been playing with conditional visibility, but can't get the following to work. I'm trying to get the background to correspond to the type of music playing, but this patently ain't right as it will always default to the second image. Is it a complete no-no to try and use labels in this way, or have I just got the conditions wrong?
Thanks
Code:
<control type="image">
<description>Background image</description>
<posx>0</posx>
<posy>0</posy>
<width>1280</width>
<height>720</height>
<texture>Violin and Music 2.jpg</texture>
<visible>MusicPlayer.Genre(Classical) | MusicPlayer.Genre(Operatic)</visible>
</control>
<control type="image">
<description>Background image</description>
<posx>0</posx>
<posy>0</posy>
<width>1280</width>
<height>720</height>
<texture>Electric Guitar.jpg</texture>
<visible>!MusicPlayer.Genre(Classical) + !MusicPlayer.Genre(Operatic)</visible>
</control>