You are overwriting the top textures with the bottom ones. Each texture needs its own place into the table. Change this:
Code:
--draw the bottom
for j=1,5 do
self["art2"..j] = self.frame:CreateTexture("$parentArt"..j,"BACKGROUND")
self["art2"..j]:SetWidth(256)
self["art2"..j]:SetHeight(512)
self["art2"..j]:SetTexture("Interface\\Addons\\XArt\\Textures\\overlay2"..j)
self["art2"..j]:ClearAllPoints()
if j == 1 then
self["art2"..j]:SetPoint("BOTTOMLEFT", self.frame, "BOTTOMLEFT", 0, 0)
else
self["art2"..j]:SetPoint("BOTTOMLEFT", self["art2"..j-1], "BOTTOMRIGHT", 0, 0)
end
self["art2"..j]:Show()
end
To this:
Code:
--draw the bottom
for j=6, 10 do
self["art2"..j] = self.frame:CreateTexture("$parentArt"..j,"BACKGROUND")
self["art2"..j]:SetWidth(256)
self["art2"..j]:SetHeight(512)
self["art2"..j]:SetTexture("Interface\\Addons\\XArt\\Textures\\overlay2"..j-5)
self["art2"..j]:ClearAllPoints()
if j == 6 then
self["art2"..j]:SetPoint("BOTTOMLEFT", self.frame, "BOTTOMLEFT", 0, 0)
else
self["art2"..j]:SetPoint("BOTTOMLEFT", self["art2"..j-1], "BOTTOMRIGHT", 0, 0)
end
self["art2"..j]:Show()
end