xterm wroteThink of it outside the scope of Xcode. You're hooking the value of the texfield to the current position of the slider. Reverse, would be hooking the slider to the current value of the textfield. Hence you need to register a certain event ( lostfocus, action submitted, text changed). Look at the API for how to set the value of the slider and using glue code you'll be able to do it.
Pseudo wise:
texfield.addevent('lostfocus', lostfocus)
lostfocus(obj,arts){ slider.setcurrentposition(obj.text.toint()) }
I have everything set. i just need the code that changes dynamically the value of the slider