Quick Sign In:  

Forum: VirtualDJ Skins

Topic: crossfader 'audio/video/linked' code gone wrong

This topic is old and might contain outdated or incorrect information.

Any ideas why this wont work? The graphics are all fine but the buttons dont function as 'only this one on'
I've spent aaages on this with no joy :-(



<group name="crossfader_sources" x="+100" y="+170">

<button x="+195" y="+361" action="skin_panel 'linked_cross' on">
<size width="49" height="28"/>
<off x="497" y="3500"/>
<over x="547" y="3500"/>
<on x="597" y="3500"/>
</button>

<button x="+140" y="+361" action="skin_panel 'audio_cross' on">
<size width="49" height="28"/>
<on x="597" y="3470"/>
<over x="547" y="3470"/>
<off x="497" y="3470"/>
</button>

<button x="+251" y="+361" action="skin_panel 'video_cross' on">
<size width="49" height="28"/>
<off x="497" y="3530"/>
<over x="547" y="3530"/>
<on x="597" y="3530"/>
</button>


<panel id="audio_cross" group="crossfader_sources" visible="yes">

<slider action="crossfader" rightclick="temporary" dblclick="crossfader 50%" orientation="horizontal">
<pos x="+131" y="+500"/>
<size width="179" height="41"/>
<selected x="784" y="3102"/>
<up x="784" y="3102"/>
<fader>
<size width="39" height="43"/>
<pos x="684" y="3100"/>
</fader>
</slider>
</panel>

<panel id="video_cross" group="crossfader_sources" visible="no">

<slider action="video_crossfader" rightclick="temporary" dblclick="video_crossfader 50%" orientation="horizontal">
<pos x="+131" y="+500"/>
<size width="179" height="41"/>
<selected x="784" y="3102"/>
<up x="784" y="3102"/>
<fader>
<size width="39" height="43"/>
<pos x="684" y="3100"/>
</fader>
</slider>
</panel>

<panel id="linked_cross" group="crossfader_sources" visible="no">

<slider action="video_crossfader_link" rightclick="temporary" dblclick="video_crossfader_link 50%" orientation="horizontal">
<pos x="+131" y="+500"/>
<size width="179" height="41"/>
<selected x="784" y="3102"/>
<up x="784" y="3102"/>
<fader>
<size width="39" height="43"/>
<pos x="684" y="3100"/>
</fader>
</slider>
</panel>

</group>
 

Posted Wed 10 Jun 15 @ 8:32 am
does the linked crossfader command only work on an existing video and audio cross? Maybe i'll try to put both in the same panel (linked), same co-ords..

#clutchingatstraws
 

Posted Wed 10 Jun 15 @ 1:24 pm
Ha! all sorted. Easy to sort with your head not stuck up your own *** :D (it was a basic schoolboy error *ashamed)
 

Posted Wed 10 Jun 15 @ 7:05 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
video_crossfader_link is not a slider. It has to be a on/off button.

Assuming you need to provide a slider which it will control both Audio and Video crossfaders, your 3rd panel must have a slider with action="croossfader & video_crossfader"

If you want to offer more automations, you will probably need to enable LINK when you select the 3rd panel and possibly turn off when the other 2 panels get visible.
Note also that AUTO and LINK cannot be enabled at the same time
 

Posted Wed 10 Jun 15 @ 7:08 pm
I realised my error trying to code 'link' as if it was a third type of crossover.... ooops!
 

Posted Thu 11 Jun 15 @ 8:01 am


(Old topics and forums are automatically closed)