2008-02-01, 00:11
Quick question: I have an icon panel with two different frames, one of which is supposed to replace the other after a brief delay. I've got the replacement frame working (in that it fades in after the specified time) but the original one won't fade out. I'm assuming this is because I can't get away with having both a zoom and fade animation assigned to a single control.
I tried containing the control in a group but then it didn't appear at all. I'm assuming you can't use groups within focusedlayout tags.
Here's the offending code:
I tried containing the control in a group but then it didn't appear at all. I'm assuming you can't use groups within focusedlayout tags.
Here's the offending code:
PHP Code:
<focusedlayout height="143" width="101">
<control type="image">
<posx>10</posx>
<posy>10</posy>
<width>101</width>
<height>143</height>
<info>ListItem.Thumb</info>
<texture>defaulticonphoto.png</texture>
<aspectratio aligny="center">scale</aspectratio>
<animation effect="zoom" end="-12,-20,144,204" time="200">Focus</animation>
</control>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>121</width>
<height>163</height>
<texture>photowallframe.png</texture>
<animation effect="zoom" end="-32,-46,184,258" time="200">Focus</animation>
<animation effect="fade" start="100" end="0" time="200" delay="4000">Visible</animation>
</control>
<control type="image">
<posx>-32</posx>
<posy>-46</posy>
<width>392</width>
<height>258</height>
<texture>photowallframefull.png</texture>
<animation effect="fade" end="100" time="200" delay="4000">Focus</animation>
</control>
</focusedlayout>