You know, I think I figured out what I may have been doing wrong. Will try this again later. Thanks everybody.
Edit:
I keep getting this error:
Code:
layout.lua:1006: attempt to index field 'CPoints' (a nil value)
It references this line:
Code:
self.CPoints[i] = CreateFrame("Frame", nil, self)
and this one:
Code:
local TopLeft = self:CreateTexture(nil, "OVERLAY")