State dependant data binding
How can i bind a value to different parameters, depending on the state of the state machine?
As a simple example of what I want to achieve, the ball should change its color depending on its position. So far so good as long as the colors are fixed values.
But i want to select the left and right color by data binding and thus “key the data binding itself”. As soon as the user changes the colors of the sidebars, the animation is wrong.
Of course the example is just a simplification of my application, but it should show the problem.