Page 1 of 1

How to create a double layer in the same tab?

Posted: 03 Jun 2012 18:10
by Lamur
I´m sorry mates, but I read every thread in this forum trying to identify if somebody had the same issue, but i could not find it.

My issue is how to create another layer in the same container (for example: in MU when you press the "Transport" button it shows different things in the same area, also with the red button on the right of the "Transport", if you hold it, it shows different things as well)

Could someone help me please? I spent already lot of time...

BTW, excuse my english... :P

Re: How to create a double layer in the same tab?

Posted: 03 Jun 2012 19:21
by Phil999
do you mean a new tab? Right-click on the container and select 'new tab'.

Re: How to create a double layer in the same tab?

Posted: 03 Jun 2012 20:26
by Lamur
No mate, I mean a hide container to shows in front when pressing a button :)

Re: How to create a double layer in the same tab?

Posted: 03 Jun 2012 21:15
by brianc
The most common way to do it is to put two containers in there and decide which one is displayed with the show function:

Code: Select all

show(contA, 0); // hide container A
show(contB, 1); //show container B

Re: How to create a double layer in the same tab?

Posted: 03 Jun 2012 22:29
by Lamur
Cheers mate! I Don´t know almost anything about scripting, but I´d really learn!!

I´m using this one because I took it from the Mu template,

if (x==0) { show(sceneNavigator,0); } else if (x==1) { show(sceneNavigator,1); }

But yours IDK how to use it :)