Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-26-10, 04:43 PM   #1
lilgulps
A Theradrim Guardian
 
lilgulps's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 62
Images In Frames?? Help :D

Code:
local f = CreateFrame("Frame")
f:SetPoint("CENTER", UIParent, "CENTER")
f:SetHeight(93)
f:SetWidth(65)

local tex = f:CreateTexture(nil, "ARTWORK")
tex:SetTexture("Interface\\Addons\\SPGe\\Images\\5p")
tex:SetAllPoints(f)
5p is a .tga file and their are no errors on load except that I can not see any frames, what am I doing wrong?
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Images In Frames?? Help :D


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off