Don't work on latest Kontakt

Reylon
Member Posts: 23 Newcomer
Hi,
I had an old code which changed the label picture when the slider is moving.
However this used to work on the older versions of kontakt but NOT in the latest kontakt version.
on init make_perfview set_ui_height_px(130) declare ui_label $label(3, 1) declare ui_slider $Cutoff(0, 6) set_text($label,"World") set_control_par_str(get_ui_id($label), $CONTROL_PAR_PICTURE, "Delay") set_control_par(get_ui_id($label), $CONTROL_PAR_PICTURE_STATE, $Cutoff) end on on ui_control ($Cutoff) set_control_par_str(get_ui_id($label), $CONTROL_PAR_PICTURE, "Delay") set_control_par(get_ui_id($label), $CONTROL_PAR_PICTURE_STATE, $Cutoff) end on
If anyone knows whats going on please let me know.
0
Comments
-
I wouldn't advise doing picture changes on a potentially fast callback like that of ui_slider. Changing picture state should be fine though.
0
Back To Top
Categories
- All Categories
- 21 Welcome
- 747 Hangout
- 73 NI News
- 353 Tech Talks
- 1.6K Native Access
- 7.2K Komplete
- 937 Komplete General
- 1.7K Komplete Kontrol
- 2.6K Kontakt
- 659 Reaktor
- 229 Battery 4
- 395 Guitar Rig & FX
- 263 Massive X & Synths
- 390 Other Software & Hardware
- 3.1K Maschine
- 23 Sampling Room
- 3.8K Traktor
- 3.5K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators