Hi,
This problem has become very frustrating. I have a scroll frame that i can view a list of pictures with associated text. The text appears, but the only way to get the pic to appear is by hard coding it into the xml. I am attemting to use:
Texture:SetTexture("texturePath") - Sets the texture to be displayed
The texture path would be set to something like "Interface\Icons\INV_Axe_20".
So I reference my button with a getglobal call:
getglobal("EV_ListItem"..line.."SlotTexture"):SetTexture("Interface\Icons\INV_Axe_20");
The problem is that the texture does not appear, I just get a highlighted green box. It seems it cannot locate the image.
Any help with this would be greatly appreciated!!