2014-12-28, 14:16
Hi, I have simple list and label with animation outside the list. I want start animation from the beginning for each item on list.
label:
Code:
<control type="list" id="724">
<left>340</left>
<top>410</top>
<width>480</width>
<height>240</height>
<onleft>2</onleft>
<onright>60</onright>
<onup>724</onup>
<ondown>724</ondown>
<viewtype label="Lowlist">list</viewtype>
<pagecontrol>60</pagecontrol>
<scrolltime>200</scrolltime>
<visible>Container.Content(Movies)</visible>
<itemlayout height="40" width="480">
<control type="label">
<left>5</left>
<top>0</top>
<width>390</width>
<height>40</height>
<font>font13</font>
<textcolor>grey2</textcolor>
<selectedcolor>selected</selectedcolor>
<align>left</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Label]</label>
</control>
</itemlayout>
<focusedlayout height="40" width="480">
<control type="label">
<left>5</left>
<top>0</top>
<width>390</width>
<height>40</height>
<font>font13</font>
<textcolor>white</textcolor>
<selectedcolor>selected</selectedcolor>
<align>left</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Label]</label>
</control>
</focusedlayout>
</control>
label:
Code:
<control type="label">
<description>Duration</description>
<left>0</left>
<top>0</top>
<width>250</width>
<height>25</height>
<label>Duration</label>
<align>left</align>
<aligny>center</aligny>
<font>font12</font>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<animation type="Conditional" condition="Control.HasFocus(724) + !IsEmpty(ListItem.Duration)" reversible="false">
<effect type="slide" delay="2000" end="60.0" time="1000" />
</animation>
</control>