window property in animation
#1
Basically what the title says i want to make sure I am not doing something wrong. I have a window property of I want to use as a static variable in a animation.

Simply put

Animation effect slide start 00 end window property,0 some condition

Is this possible or... Does the anmation not accept alternative info... Btw the window property is in info bracket s.
Shield TV | Windows 10 | Mariadb | Mii Box
Evolve Ecosystem Repo | TV Melodies | Madnox Holiday Mod
Reply
#2
Yeah this doesn't work unfortunately. You have to make all the different values as separate animations and then make them conditional based upon window prop.

e.g.
Code:
<animation effect="fade" end="90" condition="Integer.IsEqual(Window(Home).Property(FadeAmount),90)">Conditional</animation>
<animation effect="fade" end="80" condition="Integer.IsEqual(Window(Home).Property(FadeAmount),80)">Conditional</animation>
<animation effect="fade" end="70" condition="Integer.IsEqual(Window(Home).Property(FadeAmount),70)">Conditional</animation>
etc.
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply
#3
Yeah I have that now I was hoping I could shorten the code..... Thanks for the verfiying this.... Now I can toss that idea and move on to the next hahaha.
Shield TV | Windows 10 | Mariadb | Mii Box
Evolve Ecosystem Repo | TV Melodies | Madnox Holiday Mod
Reply

Logout Mark Read Team Forum Stats Members Help
window property in animation0