Posted by member 128640 on 2004-05-03 06:49:31 link
Hi !
Smurth gave me the link to this post because I'm trying to make a slider with mzscript.
In fact, I would like to do a slider that return the value of the knob's position... so I use your script with 256 positions but I don't know how to modify a var dynamically without !reload
can you help me ?
Smurth gave me the link to this post because I'm trying to make a slider with mzscript.
In fact, I would like to do a slider that return the value of the knob's position... so I use your script with 256 positions but I don't know how to modify a var dynamically without !reload
*script bang !SliderEndDrag
*script gotoif ("$SliderWaitForRelease$" = "false") SliderEndDragFinish
*script exec !SkinBoxExec %{\1} {SliderStep%{SliderStep}Cmd}
*script label SliderEndDragFinish
*script exec !SkinBoxAction %{\1} MouseMove
*script ~bang
so, using %{SliderStep} in a var bozo and then make a *script gotoif ("$SliderWaitForRelease$" = "false") SliderEndDragFinish
*script exec !SkinBoxExec %{\1} {SliderStep%{SliderStep}Cmd}
*script label SliderEndDragFinish
*script exec !SkinBoxAction %{\1} MouseMove
*script ~bang
!SkinBoxAlpha myfirstskinbox bozo
can you help me ?