Forums > MaxMSP

[Bug?] Button blink staying "on"when receiving outlinecolor + bang message

April 17, 2013 | 8:21 pm

Hello all,

I tried searching for other examples of this behavior in the forums and only came across the following:

http://cycling74.com/forums/topic.php?id=40378

Included is a smaller subpatch from a larger project. I am changing the outline color of a button, which is working fine using the button’s attrui set to ‘outlinecolor’. However, when that button receives a bang from another button while also receiving attrui changes, the color changing button’s blink state stays in the on/blink/yellow state. Is this normal behavior? Am I using attrui incorrectly? I have observed it on both Mac and Windows machines.

Thank you in advance for glancing at the patch. I appreciate any feedback.

– Pasted Max Patch, click to expand. –

April 17, 2013 | 9:24 pm

I can reproduce here and will ticket it, but I would recommend finding a workaround, as this kind of rapid updating of certain UI object’s appearance attributes is not recommended. Maybe separate the control from the graphic?

– Pasted Max Patch, click to expand. –

April 17, 2013 | 11:11 pm

Hi Ben,

Thanks for the reply and the ticket. A second button with transparency should work nicely. I appreciate your input.


Viewing 3 posts - 1 through 3 (of 3 total)