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,12 @@
-- Align left when cropping to 4:3.
local Color = color(Var "Color1");
local children = {
LoadActor(Var "File1") .. {
OnCommand=cmd(horizalign,left;scaletocover,0,0,SCREEN_WIDTH,SCREEN_HEIGHT;diffuse,color(Color));
GainFocusCommand=cmd(play);
LoseFocusCommand=cmd(pause);
};
};
return Def.ActorFrame { children = children };