Problem with pictctrl. Maybe is a bug?

alersito's icon

i don't know where is the problem.I'm thinking that is a bug, because if i use the matrixctrl it works. if you can see the png it has the not clicked image (yellow knob) and the clicked image (blue knob). But it doesn't work.

Any help?

2769.pictctrl.maxpat
Max Patch
alersito's icon

I have used the beta of MAX MSP 6 and the same error. :(

Nobody knows why???

spectre's icon

I'm not sure what you're trying to achieve, but perhaps you could take off circular tracking and include horizontal/vertical tracking?

alersito's icon

im trying to create a dial with clicked image. but it doesnt works.

alersito's icon

This is the inspector that i used to configure the dial.

Please, if somebody can help me :(

2779.INSPECTOR.jpg
jpg
spectre's icon

So you're trying to make it yellow until the user clicks/drags it, at which point it will turn bluish-green? Sorry I don't have much experience with [pictctrl], but try sending the "clickedImage 0" and "clickedImage 1" messages. If that works, perhaps you could hack it into whatever you want.

alersito's icon

Yep this is what i want. I dont know why it doesnt work because with the matrixctrl object it does.

How to configure the sending messages? if im moving the dial how to send a message and when the dial stop how to send the other message?

thankssss Spectre for your help!

alersito's icon

No solution?

spectre's icon

Look up the [message] object in the help docs, as well as the messages for [pictctrl]

alersito's icon

i have done a shit solution. Using a mousestate and sel objects and the clickedimage message. but i can believe that it cant work in normal mode.