Mhmm
I've just switched from using my own XML with a copy/paste of blizzard code, to just using Blizzard code. example:
Code:
ClassButton[frame] = CreateFrame("Button", "ClassButton"..frame, UIParent, "SecureActionButtonTemplate, ActionButtonTemplate")
and I have the same results. I also think that the frame levels are the issue for the global cooldown, but for the texture issues, I think my error is here:
Code:
local t = button:CreateTexture(nil,"BACKGROUND")
t:SetTexture(GetSpellTexture(CurrentClassButtonsSpells[frameToBuild][i]))
t:SetAllPoints(button)
button.texture = t
I've sense tried changing all that to just:
Code:
button:SetNormalTexture(GetSpellTexture(CurrentClassButtonsSpells[frameToBuild][i]))
But then nothing at all is placed in the button, and I'm not given any error message to boot.
<-- frustrated.
[edit]
here is a screenshot