Code:
CreateFrame("Frame", nil, "MyFrame")
MyFrame.Hide = CreateFrame("Frame")
Hopefully you can see how that would cause problems when attempting to call MyFrame:Hide() ![/quote]
Sorry, I'm not very versed in lua (or xml for that matter) so more explanation would be helpful. I just assumed that x:hide() was different from x.hide.
Looking it up in the lua wiki it seems that x:hide() is the same thing as x.hide(x) but I'm not quite why that is…