local x = Def.ActorFrame{ Def.Quad{ InitCommand=function(self) self:Center(); self:zoomto(SCREEN_WIDTH, 80); self:diffuse(color("0,0,0,0.5")); end; OnCommand=function(self) end; OffCommand=function(self) end; }; LoadFont("Common Normal")..{ Text=ScreenString("Loading Profiles"); InitCommand=function(self) self:Center(); self:diffuse(color("1,1,1,1")); self:shadowlength(1); end; OffCommand=function(self) self:linear(0.15); self:diffusealpha(0); end; }; }; x[#x+1] = Def.Actor { BeginCommand=function(self) if SCREENMAN:GetTopScreen():HaveProfileToLoad() then self:sleep(1); end; self:queuecommand("Load"); end; LoadCommand=function() SCREENMAN:GetTopScreen():Continue(); end; }; return x;