<ActorFrame
OnCommand="%function(self)
Color = 0;
EdgeWidth = Width-8;
EdgePosY = (Height/2);

if not EdgeWidth then
	EdgeWidth = Width-8;
end
if not EdgePosY then
	EdgePosY = (Height/2);
end
if not Width or Width == 0 then
	Width = 160;
end
if not Height or Height == 0 then
	Height = 120;
end
CornerPosX = ((Width/2)-4);
end"><children>
	<Layer Type="Quad" OnCommand="zoomto,EdgeWidth-8,8;y,-EdgePosY" />
	<Layer Type="Quad" OnCommand="zoomto,Width,Height-8" />
	<Layer Type="Quad" OnCommand="zoomto,EdgeWidth-8,8;y,EdgePosY" />
	<!-- corners -->
	<!-- top left -->
	<Layer File="_corner" OnCommand="x,-CornerPosX;y,-EdgePosY" />
	<!-- top right -->
	<Layer File="_corner" OnCommand="x,CornerPosX;y,-EdgePosY;rotationz,90" />
	<!-- bottom left -->
	<Layer File="_corner" OnCommand="x,-CornerPosX;y,EdgePosY;rotationz,-90" />
	<!-- bottom right -->
	<Layer File="_corner" OnCommand="x,CornerPosX;y,EdgePosY;rotationz,180" />
</children></ActorFrame>