well i got it to work for my pet bar... ended up switching addons to dominos.. and it worked fine.. but now i cant get it to parent to my class/stance bar...
here is the in-game name given for it...
i ended up parenting my stance frame to that button... but it doesn't change.. still acts as though its parenting to the UIParent.
here is the coding for my frame.
Code:
local stance = CreateFrame("Frame", nil, DominosClassButton1)
stance:SetWidth(300)
stance:SetHeight(43)
stance:SetPoint("LEFT", 0, 0)
stance:SetFrameStrata("BACKGROUND")
stance:SetBackdrop({
bgFile = "Interface\\Addons\\textures\\panels.tga",
edgeFile = "Interface\\Addons\\textures\\Stripped.tga",
tile = "false",
tileSize = 1,
edgeSize = 15,
Insets = {left = 1, right = 1, top = 1, bottom = 1}
})
stance:SetBackdropColor(0.1,0.1,0.1,1)
stance:SetBackdropBorderColor(0.1,0.1,0.1,1)
so what is going wrong??