Thanks @
jurialmunkey @
wyrm @
Hitcher
I started doing a coverflow too and have gone through the Aeon Nox and Eminence but still can't seem to get the Images outside of Fixed list to animate. They change as I scroll through the list but they do not trigger the animation, which means when they are displayed in rest position, they are not rotated towards the center as I would like them to be.
Here is my code:
<control type="group" id="11000"> <!--- Main Screen style - very stylish movie DVDs-->
<visible>Control.IsVisible(120)</visible>
<control type="fixedlist" id="120">
<viewtype label="3D list">list</viewtype>
<orientation>horizontal</orientation>
<pagecontrol>25</pagecontrol>
<focusposition>2</focusposition>
<autoscroll>false</autoscroll>
<left>60</left>
<top>200</top>
<width>820</width>
<height>420</height>
<onleft>2051</onleft>
<onright>60</onright>
<onup>52</onup>
<ondown>52</ondown>
<scrolltime tween="sine" easing="inout"></scrolltime>
<preloaditems>10</preloaditems>
<pagecontrol>60</pagecontrol>
<itemlayout width="160" height="340">
<control type="image">
<left>200</left>
<top>80</top>
<width>180</width>
<height>320</height>
<info>ListItem.Icon</info>
<animation effect="rotatey" end="-55" time="400" condition="true">Conditional</animation>
<!-- this shows items towards the left of FocusedLayout just fine. animation works images are rotated towards the center when scrolling ends-->
</control>
</itemlayout>
<focusedlayout width="500" height="450">
<control type="image">
<left>200</left>
<top>50</top>
<width>250</width>
<height>375</height>
<info>ListItem.Icon</info>
<animation type="focus">
<effect type="zoom" start="400, 95, 150, 260" time="400"/>
<effect type="rotatey" end="0" center="auto" time="200" delay="200"/>
</animation>
<animation type="unfocus" condition="Container(120).OnNext">
<effect type="zoom" end="85, 95, 150, 260" time="400"/>
<effect type="rotatey" end="-55" center="auto" time="400"/>
</animation>
<animation type="unfocus" condition="Container(120).OnPrevious">
<effect type="zoom" end="85, 95, 150, 260" time="400"/>
<effect type="rotatey" end="55" center="auto" time="400"/>
</animation>
<!-- these animations also seem to work just fine, correct animations get triggered depending on scroll direction -->
</control>
</focusedlayout>
</control>
<control type="group">
<control type="image">
<visible>Control.IsVisible(120)</visible>
<left>1000</left>
<top>250</top>
<width>180</width>
<height>320</height>
<texture>$INFO[Container(120).ListItem(2).Icon]</texture>
<!-- <animation effect="rotatey" end="55" center="auto" time="200">Container(120).OnNext</animation> -->
<animation effect="rotatey" center="auto" end="55" time="200" reversible="false" tween="quadratic">Hidden</animation>
<!-- Different animations attempted for this part, but none get triggered. The images are shown with no rotation -->
</control>
</control>
<control type="group">
<control type="image">
<visible>Control.IsVisible(120)</visible>
<left>850</left>
<top>250</top>
<width>180</width>
<height>320</height>
<texture>$INFO[Container(120).ListItem(1).Icon]</texture>
<animation type="Hidden" condition="Container(120).OnNext">
<effect type="rotatey" end="55" center="auto" time="400"/>
</animation>
<!-- Different animations attempted for this part, but none get triggered. The images are shown with no rotation -->
</control>
</control>
<control type="group">
<control type="image">
<visible>Control.IsVisible(120)</visible>
<left>1150</left>
<top>250</top>
<width>180</width>
<height>320</height>
<texture>$INFO[Container(120).ListItem(3).Icon]</texture>
<animation effect="rotatey" end="45" time="400" condition="true">Conditional</animation>
<!-- Different animations attempted for this part, but none get triggered. The images are shown with no rotation -->
</control>
</control>
</control> <!-- end of group 11000 -->
Please advice on how to get a static image/group that is not a part of Fixedlist to animate so I can show it in rotated position.
I've looked through the two coverflow examples code but still do not understand how it animates them, I seem to be doing similar thing here but obviously something is missing.
Should I be forcing them to hide and then become visible quickly so it triggers the animation ? If yes, how do I do that?