AMarks95
Member
Hello,
I have a global object for a button set up with two parameters. One that is the "control tag" for the button and the other that is the "state" tag for the button.
While the button is pressed, the control tag is set to 1.
When the button is released, the control tag is set to 0.
While the state tag is true, the button changes color.
While the state tag is false, the button changes back to the original color.
I have set up the touch and color animations using parameters {1} and {2}.
I have also set up 2 parameter files, one for a start pushbutton, and one for a stop pushbutton.
I have used parameter files with a popup window, so I'm familiar with how to assign tags to the parameters.
My question is, is there a way to place the global object on a display and pass it the parameter file? This way I can reuse the button everywhere, and if I needed to change say, the color of the button, it would auto-change all of the buttons?
I have a global object for a button set up with two parameters. One that is the "control tag" for the button and the other that is the "state" tag for the button.
While the button is pressed, the control tag is set to 1.
When the button is released, the control tag is set to 0.
While the state tag is true, the button changes color.
While the state tag is false, the button changes back to the original color.
I have set up the touch and color animations using parameters {1} and {2}.
I have also set up 2 parameter files, one for a start pushbutton, and one for a stop pushbutton.
I have used parameter files with a popup window, so I'm familiar with how to assign tags to the parameters.
My question is, is there a way to place the global object on a display and pass it the parameter file? This way I can reuse the button everywhere, and if I needed to change say, the color of the button, it would auto-change all of the buttons?