Don't work on latest Kontakt

Reylon
Member Posts: 23 Member
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
This discussion has been closed.
Back To Top
Categories
- All Categories
- 19 Welcome
- 1.5K Hangout
- 62 NI News
- 791 Tech Talks
- 4.1K Native Access
- 16.6K Komplete
- 2K Komplete General
- 4.3K Komplete Kontrol
- 5.8K Kontakt
- 1.6K Reaktor
- 381 Battery 4
- 851 Guitar Rig & FX
- 430 Massive X & Synths
- 1.3K Other Software & Hardware
- 5.8K Maschine
- 7.4K Traktor
- 7.4K 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