Forums > MaxMSP

Bring to Front/Back Command



Joe
September 29, 2013 | 7:01 am

Hi guys

Is there any way to control the ‘bring to front’ and ‘bring to back’ commands via message? Rather than using the ctrl shift F/B?

It is for two fpic, which are positioned on top of each other

all the best

September 29, 2013 | 7:10 pm

I don’t think so. Depending on what you need to achieve however – it might be possible by using the fpic transparency (alpha) attribute(?)

September 30, 2013 | 4:38 am

you can, using [thispatcher]
it’s in the [p moreScripting] subpatch from the helpfile
<code>

— Pasted Max Patch, click to expand. —

</code>


Joe
October 3, 2013 | 8:43 am

Hey thanks for that

I tried connecting your method to the two fpics, but I had no luck in getting them to work. I was a bit unsure on the actual type of connection, whether the thispatcher was required or not so I made two versions.

If you could take a peek that would be great, thanks

— Pasted Max Patch, click to expand. —
October 3, 2013 | 9:02 am

this is not how it works : [thispatcher] needs a target object which has a scripting name – set in the object’s inspector

<code>

— Pasted Max Patch, click to expand. —

</code>


Joe
October 3, 2013 | 3:08 pm

thank you

sorted

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

Forums > MaxMSP