快速登录:  

Forum: VirtualDJ Skins

Topic: Adding "init action" to skins

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

Hi all,

I am having problems getting the init action to work in skins.

For example <init action="deck 2 filter 50%"> does not work, just does not load the skin at all with an XML error.

Can anyone help?

Thanks - Keith
 

发表时间 Tue 01 Feb 11 @ 1:17 pm
<button action="deck 1 filter 50%">
<size width=" " height=" "/>
<pos x=" " y=" "/>
<up x=" " y=" "/>
<selected x=" " y=" "/>
</button>
.
from what I saw in some skin that is the way to write
 

I have managed to do this by writing an initiation string in to my controller mapping, but it would be good to find out how to do it in a skin if the controller is not connected.

Keith
 

Try to place init action at the bottom of the skin, just 1 line before </skin>

But, i miss something here. Filter is 50% by default, so what are you trying to set?

btw it's <init action="deck 2 filter 50%"/>
 

My MC6000 controller copies the position of the parameter knob on to the skin, so what I'm trying to do is have the filter off when VDJ boots up.

Keith
 



(陈旧帖子或论坛版块会自动关闭)