Forum Discussion
Multiple Sliders on One Page.
...I was happy when I was able to get the "slave" sliders to move upward when the "master" was moved, but I was unable to get them to move back down. The key seems to be the "PreviousMaster" variable that you use.
A very cool solution.
One more thing: It appears that the changes in the volume indicators are actually masks that move to reveal more or less of the colors underneath. Is this actually the case?
Yes, if you want to move a slave slider with some offset in relation to a master, you need to have a way to determine which direction (left/right/up/down) the master is moving. In my quick excample, I used the variable you mentioned to make that decision. Based on that, you add/subtract some offset value from the slave slider variable.
The volume indicators in my original example, are done with object states rather than moving masks. The effect is the same.
Related Content
- 7 months ago
- 9 months ago