When I use the “visiblechange” animation it fails to hold the start/end image on screen (it disappears at end of animation / not present on screen when not animating)
Also the animation fails to reverse the animation when it has run thought full animations when visblechange condition was met. But it will reverse animate if the condition is interrupted wile in is animating.
Below is a copy of my XML code that I’m using
added some pics to show what i mean
1.jpg is what is should look like
2.jpg is what does look like
Also the animation fails to reverse the animation when it has run thought full animations when visblechange condition was met. But it will reverse animate if the condition is interrupted wile in is animating.
Below is a copy of my XML code that I’m using
Code:
<!-- start of menu -->
<control>
<description>menu background image backing</description>
<type>image</type>
<id>701</id>
<posX>0</posX>
<posY>0</posY>
<width>342</width>
<height>720</height>
<texture>menu/Back.png</texture>
<visible>Control.HasFocus(702)|Control.HasFocus(2)|Control.HasFocus(3)</visible>
<animation effect="slide" start="-200,0" end="0,0" time="1000" delay="100">visiblechange</animation>
<animation effect="fade" time="100">WindowOpen</animation>
<animation effect="fade" time="550">WindowClose</animation>
</control>
<control>
<description>menu Arrow image glass</description>
<type>button</type>
<id>702</id>
<posX>50</posX>
<posY>350</posY>
<width>49</width>
<height>88</height>
<label>-</label>
<textureFocus>menu/Arrow_Right.png</textureFocus>
<textureNoFocus>menu/Arrow_Right.png</textureNoFocus>
<visible>Control.HasFocus(2)|Control.HasFocus(3)</visible>
<animation effect="slide" start="00,0" end="200,0" time="1000" delay="100">visiblechange</animation>
<animation effect="slide" start="0,0" end="200,0" time="300" delay="250">Focus</animation>
<animation effect="slide" start="200,0" end="0,0" time="300">UnFocus</animation>
<animation effect="fade" time="100">WindowOpen</animation>
<animation effect="fade" time="550">WindowClose</animation>
</control>
<control>
<description>menu background image glass</description>
<type>image</type>
<id>701</id>
<posX>-20</posX>
<posY>0</posY>
<width>342</width>
<height>720</height>
<texture>Glass.png</texture>
<visible>Control.HasFocus(702)|Control.HasFocus(2)|Control.HasFocus(3)</visible>
<animation effect="slide" start="-200,0" end="0,0" time="1000" delay="100">visiblechange</animation>
<animation effect="fade" time="100">WindowOpen</animation>
<animation effect="fade" time="550">WindowClose</animation>
</control>
<control>
<type>group</type>
<description>group element to fade</description>
<posX>80</posX>
<posY>100</posY>
<animation effect="fade" time="900" delay="500">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
<layout>StackLayout</layout>
<control>
<description>View-As button</description>
<type>button</type>
<id>2</id>
<label>100</label>
<onup>17</onup>
<onright>50</onright>
</control>
<control>
<type>sortbutton</type>
<id>3</id>
<label>103</label>
</control>
...
added some pics to show what i mean
1.jpg is what is should look like
2.jpg is what does look like