2012-07-02, 17:02
Hi!
I added support for Movie CD-Art to Fusion Migma 2 (or at least I tried to ( it looks like this:
The new code I added to Viewtype_Posterwrap2.xml is:
(Full version here)
But I am struggling with 2 things:
The first one is the shadow of the CDArt.. The visibility-condition does not work and I have no Idea why, since in a self-made test view in foundation it seems to work just fine:
The other thing I don't get to work is that the overlay for unfocused posters fades in, rather then just plopping in.
I tried it like that:
(and of course with UnFocus) but that does not seem to have any effect at all
Any help would be gratefully appreciated
I added support for Movie CD-Art to Fusion Migma 2 (or at least I tried to ( it looks like this:
The new code I added to Viewtype_Posterwrap2.xml is:
Code:
<!-- CDArt -->
<control type="image" id="8646">
<posx>40</posx>
<posy>50</posy>
<width>356</width>
<height>356</height>
<texture fallback="blank.png">$INFO[Listitem.Path,,disc.png]</texture>
<animation effect="rotate" end="-360" center="auto" time="19000" loop="true" reversible="false" condition="true">Conditional</animation>
</control>
<control type="image">
<posx>35</posx>
<posy>46</posy>
<width>366</width>
<height>365</height>
<texture>cdShadow.png</texture>
<visible>!StringCompare(Control.GetLabel(8646),blank.png)</visible>
</control>
<!-- CDArt End -->
(Full version here)
But I am struggling with 2 things:
The first one is the shadow of the CDArt.. The visibility-condition does not work and I have no Idea why, since in a self-made test view in foundation it seems to work just fine:
The other thing I don't get to work is that the overlay for unfocused posters fades in, rather then just plopping in.
I tried it like that:
Code:
<control type="image">
<posx>2</posx>
<posy>65</posy>
<width>249</width>
<height>372</height>
<aspectratio>stretch</aspectratio>
<texture>posterOverlay.png</texture>
<animation type="Focus" reversible="false">
<effect type="fade" start="0" end="100" time="500" delay="0" />
</animation>
</control>
(and of course with UnFocus) but that does not seem to have any effect at all
Any help would be gratefully appreciated