Forums > MaxMSP

[BUG] not all flags messages works with number and flonum

June 5, 2008 | 5:41 pm

Hi

There is a bug with the most of the flags messages to number and flonum.
Only the "flags 32" bit works, the others doesn’t.

This is with Max 5.0.2 on MacOS 10.4.11 and a MacBook Pro 2.2 GHz

– Pasted Max Patch, click to expand. –

While at it I would suggest a new option/attribute "Don’t send value on
deselect". This could be usefull when typing new values into numer boxes
with the keyboard, which I tend to do a lot. Also in live situations…

Cheers,
Jakob


June 5, 2008 | 11:10 pm

I would recommend using the attributes found in number’s inspector for these kinds of things now.

-Ben


June 6, 2008 | 5:28 pm

OK, but shouldn’t it work, its in the reference?
But then again, if there is there another way of changing the appearence
of number boxes on the fly, fx. between displaying integer values and
midi note names…

All best
Jakob


June 6, 2008 | 6:47 pm

The flags message is provided for legacy support. These things can now be set via object attributes.

Our documentation has been updated for the next update.

thanks,
-Ben


June 6, 2008 | 6:56 pm

On 6 juin 08, at 19:28, Jakob Riis wrote:

> OK, but shouldn’t it work, its in the reference?
> But then again, if there is there another way of changing the
> appearence
> of number boxes on the fly, fx. between displaying integer values and
> midi note names…

You can with the format attribute. In the next incremental the flags
message will work as it was in 4.x, although as Ben said, using the
attributes is the way to go now.

ej


June 6, 2008 | 7:14 pm

>You can with the format attribute.
Aaahh thanks a lot!
I missed that one – need new glasses :-)
/J


June 6, 2008 | 7:58 pm

On 6 juin 08, at 21:14, Jakob Riis wrote:

>> You can with the format attribute.
> Aaahh thanks a lot!
> I missed that one – need new glasses :-)

You can figure out the name of the attributes easily in the inspector
if you click in the "Show Attributes Names" button in the inspector’s
toolbar, or you can drag the attribute from the inspector to the patch/
object to create a message box automatically with the name of the
attribute.

ej


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