Quick Sign In:  

Forum: VirtualDJ Skins

Topic: @ SKINMASTERS: video transitions cycle, but video effects not? [Solved]

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

Hi there. I noticed that when making buttons to select and activate the video transitions and effects, that the transitions will cycle (when you reach the last it will continue with the first), but the effects will stop at the end of the list and you have to go back down again.

Is this avoidable? Can I make video_fx cycle aswell?

Many thanks for your help!
 

Posted Tue 14 Jun 11 @ 3:42 pm
Well I just tested mine and I'm getting a dll error when I get to the end... hmm
 

Posted Tue 14 Jun 11 @ 11:57 pm
Very grateful if you would let me know when you manage to solve this puzzle...
 

Posted Wed 15 Jun 11 @ 9:58 am
Don't know if your still interested, Im just trolling the forum but... you could use this for up and down buttons and it should also continiously loop... just change "effect_name_#" to the required video effect, and you can increase the "cycle 'videofx' number to what ever you like, just continue the pattern in the code

up
cycle 'videofx' 5 & var_equal 'videofx' 1 ? video_fx_select "effect_name_1" : var_equal 'videofx' 2 ? video_fx_select "effect_name_2" : var_equal 'videofx' 3 ? video_fx_select "effect_name_3" : var_equal 'videofx' 4 ? video_fx_select "effect_name_4": var_equal 'videofx' 5 ? video_fx_select "effect_name_5"

down
cycle 'videofx' -5 & var_equal 'videofx' 1 ? video_fx_select "effect_name_1" : var_equal 'videofx' 2 ? video_fx_select "effect_name_2" : var_equal 'videofx' 3 ? video_fx_select "effect_name_3" : var_equal 'videofx' 4 ? video_fx_select "effect_name_4": var_equal 'videofx' 5 ? video_fx_select "effect_name_5"

 

Posted Thu 23 Jun 11 @ 11:09 pm
Thanks for this info synthet1c! A question about that, if you don't mind: I already was tinkering with cycling fixed effect buttons (to separate some effects from others), but I was wondering if ther is a limit to number of slots you can use? 12 and 16 were mentioned on this forum...
 

Posted Fri 24 Jun 11 @ 3:13 am
I have never found a limit, and I have tried... LOL, but even in the list of script verbs it refers to 42, so I would say the limit is either 99 or infinite, but I think you will reach the limits of the text space before you get to high, It's about 50 lines in wordpad so with this code you might get to 150. Also what I do is when I do massive scripts is separate the lines so it is easier to keep track of eg

cycle 'videofx' 10 &
var_equal 'videofx' 1 ? video_fx_select "effect_name_1" :
var_equal 'videofx' 2 ? video_fx_select "effect_name_2" :
var_equal 'videofx' 3 ? video_fx_select "effect_name_3" :
var_equal 'videofx' 4 ? video_fx_select "effect_name_4" :
var_equal 'videofx' 5 ? video_fx_select "effect_name_5" :
var_equal 'videofx' 6 ? video_fx_select "effect_name_6" :
var_equal 'videofx' 7 ? video_fx_select "effect_name_7" :
var_equal 'videofx' 8 ? video_fx_select "effect_name_8" :
var_equal 'videofx' 9 ? video_fx_select "effect_name_9" :
var_equal 'videofx' 10 ? video_fx_select "effect_name_10"

Then just copy it and delete the spaces and try it out, otherwise you can easily get lost. If you use deck assigning, I just use deck #, then when your finished just paste it into a new document, use find and replace and put in the deck number instead of the #.

Good luck
 

Posted Fri 24 Jun 11 @ 3:35 am
You are very helpful. Many thanks for that. It is appreciated, believe me!

Is there also no limit for SOUND effects?

I will let you know (if and) when I get the skin working! :)
 

Posted Fri 24 Jun 11 @ 6:02 am
I got the video effects cycling:

VIDEO CONTROLS (MAIN PANNEL)


<button pannel="MAIN" action="cycle 'VFXA' 13 & var_equal 'VFXA' 1 ? skin_pannel 'VFXA1' off & skin_pannel 'VFXA2' on : var_equal 'VFXA' 2 ? skin_pannel 'VFXA2' off & skin_pannel 'VFXA3' on : var_equal 'VFXA' 3 ? skin_pannel 'VFXA3' off & skin_pannel 'VFXA4' on : var_equal 'VFXA' 4 ? skin_pannel 'VFXA4' off & skin_pannel 'VFXA5' on : var_equal 'VFXA' 5 ? skin_pannel 'VFXA5' off & skin_pannel 'VFXA6' on : var_equal 'VFXA' 6 ? skin_pannel 'VFXA6' off & skin_pannel 'VFXA7' on : var_equal 'VFXA' 7 ? skin_pannel 'VFXA7' off & skin_pannel 'VFXA8' on : var_equal 'VFXA' 8 ? skin_pannel 'VFXA8' off & skin_pannel 'VFXA9' on : var_equal 'VFXA' 9 ? skin_pannel 'VFXA9' off & skin_pannel 'VFXA10' on : var_equal 'VFXA' 10 ? skin_pannel 'VFXA10' off & skin_pannel 'VFXA11' on : var_equal 'VFXA' 11 ? skin_pannel 'VFXA11' off & skin_pannel 'VFXA12' on : var_equal 'VFXA' 12 ? skin_pannel 'VFXA12' off & skin_pannel 'VFXA13' on : skin_pannel 'VFXA13' off & skin_pannel 'VFXA1' on">
<size width="52" height="52"/>
<pos x="642" y="481"/>
<up x="642" y="1681"/>
<down x="344" y="5267"/>
</button>

<button pannel="MAIN" action="cycle 'VFXA' -13 & var_equal 'VFXA' 1 ? skin_pannel 'VFXA1' off & skin_pannel 'VFXA2' on : var_equal 'VFXA' 2 ? skin_pannel 'VFXA2' off & skin_pannel 'VFXA3' on : var_equal 'VFXA' 3 ? skin_pannel 'VFXA3' off & skin_pannel 'VFXA4' on : var_equal 'VFXA' 4 ? skin_pannel 'VFXA4' off & skin_pannel 'VFXA5' on : var_equal 'VFXA' 5 ? skin_pannel 'VFXA5' off & skin_pannel 'VFXA6' on : var_equal 'VFXA' 6 ? skin_pannel 'VFXA6' off & skin_pannel 'VFXA7' on : var_equal 'VFXA' 7 ? skin_pannel 'VFXA7' off & skin_pannel 'VFXA8' on : var_equal 'VFXA' 8 ? skin_pannel 'VFXA8' off & skin_pannel 'VFXA9' on : var_equal 'VFXA' 9 ? skin_pannel 'VFXA9' off & skin_pannel 'VFXA10' on : var_equal 'VFXA' 10 ? skin_pannel 'VFXA10' off & skin_pannel 'VFXA11' on : var_equal 'VFXA' 11 ? skin_pannel 'VFXA11' off & skin_pannel 'VFXA12' on : var_equal 'VFXA' 12 ? skin_pannel 'VFXA12' off & skin_pannel 'VFXA13' on : skin_pannel 'VFXA13' off & skin_pannel 'VFXA1' on">
<size width="52" height="52"/>
<pos x="580" y="481"/>
<down x="282" y="5267"/>
<up x="580" y="1681"/>
</button>

<pannel id="VFXA1" pannel="MAIN" group="VFXAG" visible="yes">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="580" y="1622"/>
<up x="580" y="1622"/>
</pannel>

<button pannel="VFXA1" action="toggle 'VFXA1' & var 'VFXA1' ? video_fx_select '3D' & video_fx : off & video_fx_select '3D' & video_fx">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<up x="683" y="5746"/>
<selected x="1325" y="6116"/>
</button>

<pannel id="VFXA2" pannel="MAIN" group="VFXAG" visible="no">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="580" y="1622"/>
<up x="580" y="1622"/>
</pannel>

<button pannel="VFXA2" action="toggle 'VFXA2' & var 'VFXA2' ? video_fx_select 'Cube' & video_fx : off & video_fx_select 'Cube' & video_fx">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="1067" y="6115"/>
<up x="686" y="5920"/>
</button>

<pannel id="VFXA3" pannel="MAIN" group="VFXAG" visible="no">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="580" y="1622"/>
<up x="580" y="1622"/>
</pannel>

<button pannel="VFXA3" action="toggle 'VFXA3' & var 'VFXA3' ? video_fx_select 'Sphere' & video_fx_slider 1 80% & video_fx_slider 2 60% & video_fx : off & video_fx_select 'Sphere' & video_fx">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="1199" y="6177"/>
<up x="818" y="5982"/>
</button>

<pannel id="VFXA4" pannel="MAIN" group="VFXAG" visible="no">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="580" y="1622"/>
<up x="580" y="1622"/>
</pannel>

<button pannel="VFXA4" action="toggle 'VFXA4' & var 'VFXA4' ? video_fx_select 'Multiply' & video_fx : off & video_fx_select 'Multiply' & video_fx">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="785" y="6317"/>
<up x="820" y="5864"/>
</button>

<pannel id="VFXA5" pannel="MAIN" group="VFXAG" visible="no">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="580" y="1622"/>
<up x="580" y="1622"/>
</pannel>

<button pannel="VFXA5" action="toggle 'VFXA5' & var 'VFXA5' ? video_fx_select 'Split' & video_fx : off & video_fx_select 'Split' & video_fx">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="935" y="6172"/>
<up x="985" y="5663"/>
</button>

<pannel id="VFXA6" pannel="MAIN" group="VFXAG" visible="no">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="580" y="1622"/>
<up x="580" y="1622"/>
</pannel>

<button pannel="VFXA6" action="toggle 'VFXA6' & var 'VFXA6' ? video_fx_select 'Jump' & video_fx : off & video_fx_select 'Jump' & video_fx">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="1460" y="6115"/>
<up x="818" y="5745"/>
</button>

<pannel id="VFXA7" pannel="MAIN" group="VFXAG" visible="no">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="580" y="1622"/>
<up x="580" y="1622"/>
</pannel>

<button pannel="VFXA7" action="toggle 'VFXA7' & var 'VFXA7' ? video_fx_select 'Slomo' & video_fx : off & video_fx_select 'Slomo' & video_fx">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="1200" y="6118"/>
<up x="819" y="5923"/>
</button>

<pannel id="VFXA8" pannel="MAIN" group="VFXAG" visible="no">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="580" y="1622"/>
<up x="580" y="1622"/>
</pannel>

<button pannel="VFXA8" action="toggle 'VFXA8' & var 'VFXA8' ? video_fx_select 'Boom' & video_fx : off & video_fx_select 'Boom' & video_fx">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="1326" y="6174"/>
<up x="684" y="5804"/>
</button>

<pannel id="VFXA9" pannel="MAIN" group="VFXAG" visible="no">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="580" y="1622"/>
<up x="580" y="1622"/>
</pannel>

<button pannel="VFXA9" action="toggle 'VFXA9' & var 'VFXA9' ? video_fx_select 'Strobe' & video_fx : off & video_fx_select 'Strobe' & video_fx">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="788" y="6189"/>
<up x="647" y="6126"/>
</button>

<pannel id="VFXA10" pannel="MAIN" group="VFXAG" visible="no">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="580" y="1622"/>
<up x="580" y="1622"/>
</pannel>

<button pannel="VFXA10" action="toggle 'VFXA10' & var 'VFXA10' ? video_fx_select 'Matrix' & video_fx : off & video_fx_select 'Matrix' & video_fx">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="1463" y="6175"/>
<up x="821" y="5805"/>
</button>

<pannel id="VFXA11" pannel="MAIN" group="VFXAG" visible="no">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="580" y="1622"/>
<up x="580" y="1622"/>
</pannel>

<button pannel="VFXA11" action="toggle 'VFXA11' & var 'VFXA11' ? video_fx_select 'Glow' & video_fx_slider 1 20% & video_fx : off & video_fx_select 'Glow' & video_fx">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="649" y="6252"/>
<up x="984" y="5721"/>
</button>

<pannel id="VFXA12" pannel="MAIN" group="VFXAG" visible="no">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="580" y="1622"/>
<up x="580" y="1622"/>
</pannel>

<button pannel="VFXA12" action="toggle 'VFXA12' & var 'VFXA12' ? video_fx_select 'Spin' & video_fx : off & video_fx_select 'Spin' & video_fx">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="936" y="6113"/>
<up x="986" y="5604"/>
</button>

<pannel id="VFXA13" pannel="MAIN" group="VFXAG" visible="no">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="580" y="1622"/>
<up x="580" y="1622"/>
</pannel>
<button pannel="VFXA13" action="toggle 'VFXA13' & var 'VFXA13' ? video_fx_select 'Freeze' & video_fx : off & video_fx_select 'Freeze' & video_fx">
<pos x="580" y="422"/>
<size width="114" height="52"/>
<selected x="1066" y="6173"/>
<up x="685" y="5978"/>
</button>

Hope this is of help to anyone...
 

Posted Sun 03 Jul 11 @ 6:11 am


(Old topics and forums are automatically closed)