Ingresar:     


Forum: VirtualDJ Skins

Tópico: Button Help
Hi, i added some buttons on vertical skin to keep a visual when a track is playing instrumental only cause some times in the mix a forget to unmute the vocals. The script i added is :
<button action="deck 1 stem_pad 'instrumental' ">
<tooltip>Line 1\nLine2</tooltip>
<pos x="930" y="90"/>
<size width="30" height="30"/>
<off color="505050" border_size="1" border="black"/>
<on color="#202020" border_size="1" border="black"/>
<over color="#505050" border_size="1" border="white"/>
<text fontsize="14" color="gray" colorover="white" colordown="yellow" colorselected="red" weight="bold" align="center" text="D1"/>
</button>
<button action="deck 2 stem_pad 'instrumental' ">
<tooltip>Line 1\nLine2</tooltip>
<pos x="960" y="90"/>
<size width="30" height="30"/>
<off color="505050" border_size="1" border="black"/>
<on color="#202020" border_size="1" border="black"/>
<over color="#505050" border_size="1" border="white"/>
<text fontsize="14" color="gray" colorover="white" colordown="yellow" colorselected="red" weight="bold" align="center" text="D2"/>
</button>
<button action="deck 3 stem_pad 'instrumental' ">
<tooltip>Line 1\nLine2</tooltip>
<pos x="900" y="90"/>
<size width="30" height="30"/>
<off color="505050" border_size="1" border="black"/>
<on color="#202020" border_size="1" border="black"/>
<over color="#505050" border_size="1" border="white"/>
<text fontsize="14" color="gray" colorover="white" colordown="yellow" colorselected="red" weight="bold" align="center" text="D3"/>
</button>
<button action="deck 4 stem_pad 'instrumental' ">
<tooltip>Line 1\nLine2</tooltip>
<pos x="990" y="90"/>
<size width="30" height="30"/>
<off color="505050" border_size="1" border="black"/>
<on color="#202020" border_size="1" border="black"/>
<over color="#505050" border_size="1" border="white"/>
<text fontsize="14" color="gray" colorover="white" colordown="yellow" colorselected="red" weight="bold" align="center" text="D4"/>
</button>

When the skin is in 4 decks works great, when i turn the skin in 2 decks and hit instrumental on deck 1 decks 1,2 and 4 lights up. When i press instrumental on deck 2 only deck 2 lights up.
not a big problem for me but if there in any suggestions to fix it its wlcome.
 

Mensajes 2 days ago @ 2:17 pm
Works fine here, at least when assigned to custom buttons.
Minor.. <off color="505050" should have a # before the color value.
Any chance the skin elements (buttons) are nested inside some <deck deck=""> ?

When you say change to 2 Decks skin, is this just a layout but still 4 decks ?.. Do you get 2 or 4 Load options when you right-click on a Track ->Load ?

 

I meant 4deck/2deck layout. No, i just modified the original skin and add things at the end of the included vertical skin .xml I could send you the whole skin if that would help
 

Seen this before, mostly a "glitch" .. try to add some visibility to the buttons you want to hide...
<button action="deck 3 stem_pad 'instrumental'" visibility="var_equal '@$4decks' 1">
 

Thank you very much, i will try and get back to you. Thanx again
 

Works like a charm. Thank you once again