xml->lua for files that use %
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
local Color = color(Var "Color1");
|
||||
|
||||
local children = {
|
||||
LoadActor(Var "File1") .. {
|
||||
OnCommand=cmd(scale_or_crop_background;diffuse,Color);
|
||||
GainFocusCommand=cmd(play);
|
||||
LoseFocusCommand=cmd(pause);
|
||||
};
|
||||
};
|
||||
|
||||
return Def.ActorFrame { children = children };
|
||||
Reference in New Issue
Block a user