How would one apply this to situations where the bound variable is a primitive? For instance,
var watcherSetter:ChangeWatcher =
BindingUtils.bindSetter(updateMyString, someString, ????what goes here????);
By my reading, in this case, the third arg is a String that contains the name of a public bindable property of the host object. I don't think data type comes into play.
Am I missing something?
Senior Content and Community Manager
Adobe Systems Incorporated
Hopefully, you’ve declared someString as a property on some object.
The second parameter is the object, the third parameter is the name of the property “someString”.
If in doubt, post a short code snippet.
Europe, Middle East and Africa