Hey flexers,

I've been dealing with the Slider recently and I think I'm seeing a bug, but
I'd like a confirmation.  I understand that when I set the value of the
slider programmatically it's not supposed to dispatch a change event.  This
is what I want, however I'm not seeing that behavior.  Looking at the
Slider.value setter, I see it calls setValueAt(val, 0, true) where true is
that the change is programmatic.  However it also sets valuesChanged to true
and calls invalidateProperties().  In commitProperties, if valuesChanged is
true, it calls setValueAt with no programmatic parameter, which means it
defaults to false, which means setValueAt ends up dispatching a change
event.

Am I crazy?  Has this been submitted as a bug?  I couldn't find a bug on it
specifically, but I found this bug:

http://bugs.adobe.com/jira/browse/SDK-16537

which is reporting that it's NOT dispatching a change event when it
"should".  I understand the reporter of the bug was wrong in his
assumptions, but the fact that he was NOT getting a change event when
setting the value programmatically and I am is the confusing part.  I want
the result he was complaining about. :)

Thanks.

Aaron

Reply via email to