xml->lua for files that use %

This commit is contained in:
Glenn Maynard
2007-02-10 23:39:38 +00:00
parent 76c9f9bf8b
commit a15efb8e4a
22 changed files with 143 additions and 79 deletions
@@ -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 };