I'm trying to pass variables to an action. But when using a variable for the loadscene I just get "null" as error.
This is the action:
Code
<action name="startVideo" scope="local" args="var1,var2">set(layer[video].visible,true);set(layer[video].onvideoplay, eventstarter(); loadscene(get(var2), null, MERGE|KEEPPLUGINS));layer[video].playvideo(get(var1));</action>
And this is the calling:
When using trace the variable is correctly printed in the console, and the first variable for the video url is also working. Just not the loadscene.