2011-08-16, 12:26
Hello,
I'm trying to animate a control when the index of a scrolling list changes.
I have researched an index changed condition on a list but didn't find it however there are the following conditions:
Container(id).OnNext / Container(id).OnScrollNext
Container(id).OnPrevious / Container(id).OnScrollPrevious
Tested with all of them the animation don't fire when the index changes (pressing the arrow -> or <-)
the animation seems to fire randomly when scrolling to fast with the mouse
Example:
Should i be using another condition for the case i need, help !
Thanks
I'm trying to animate a control when the index of a scrolling list changes.
I have researched an index changed condition on a list but didn't find it however there are the following conditions:
Container(id).OnNext / Container(id).OnScrollNext
Container(id).OnPrevious / Container(id).OnScrollPrevious
Tested with all of them the animation don't fire when the index changes (pressing the arrow -> or <-)
the animation seems to fire randomly when scrolling to fast with the mouse
Example:
PHP Code:
<control type="fixedlist" id="2">
... etc ...
</control>
<control type="image" id="3">
... etc ...
<animation type="TYPE" condition="Container(2).OnScrollNext" reversible="false">
<effect type="rotate" end="30" center="360,288" time="100"/>
</animation>
</control>
Should i be using another condition for the case i need, help !
Thanks