2014-09-27, 14:27
I have an image that fades in when I scroll the home menu to music. If I click on music and go to a file or just go back to the main menu without playing any music it fades in again just as expected the script looks like this:
<animation effect="fade" start="0" end="100" time="3000">WindowOpen</animation>
<animation effect="fade" start="100" end="0" time="10">WindowClose</animation>
As can be seen as soon as I move away by going to another window it 'resets the fade back to 0
Trouble is that if I scroll past the music window to Programs window or scroll back to the previous window (Movies) and then back to the music window it hasn't 'reset' The image is still in. That is, it's already there, it doesn't fade in again. If I go to movies or Programs or Weather or anywhere else and open with 'onclick' then go back it fades in again.
I've tried several conditions like:
<animation effect="fade" start="100" end="0" time="10" condition="Container(9000).HasFocus(3)">Conditional</animation>
where the number 3 is the id for one of the other windows. Nothing has worked so far.
Any suggestions welcomed
<animation effect="fade" start="0" end="100" time="3000">WindowOpen</animation>
<animation effect="fade" start="100" end="0" time="10">WindowClose</animation>
As can be seen as soon as I move away by going to another window it 'resets the fade back to 0
Trouble is that if I scroll past the music window to Programs window or scroll back to the previous window (Movies) and then back to the music window it hasn't 'reset' The image is still in. That is, it's already there, it doesn't fade in again. If I go to movies or Programs or Weather or anywhere else and open with 'onclick' then go back it fades in again.
I've tried several conditions like:
<animation effect="fade" start="100" end="0" time="10" condition="Container(9000).HasFocus(3)">Conditional</animation>
where the number 3 is the id for one of the other windows. Nothing has worked so far.
Any suggestions welcomed