View Single Post
09-26-09, 10:10 PM   #9
Grimsin
A Molten Giant
 
Grimsin's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 990
okay so atempting to use a dif texture twice and to the flipflop on it but its not working at all keeps telling me it is a nil value for settexture.

this is what i worked up so far. Btw the art file works fine on frames...

Code:
local aggroR = CreateFrame("Frame", "GrimUIArtAggroR", UIParent) 
	    aggroR:CreateTexture("GrimUIArtAggroR", 'LOW')
		aggroR:SetTexture("Interface\\AddOns\\!GrimUI\\Art\\Aggro");
		aggroR:SetTexCoord(1, 0, 0, 1)
		aggroR:SetAlpha(0.5) 
	    aggroR:SetFrameStrata("LOW") 
	    aggroR:SetFrameLevel(2) 
	    aggroR:SetWidth(285) 
	    aggroR:SetHeight(170) 
	    aggroR:SetPoint("BOTTOMRIGHT", UIParent, "BOTTOMRIGHT", 0, 0)
	        
				aggroR:Hide()
any ideas?
__________________
"Are we there yet?"

GrimUI
[SIGPIC][/SIGPIC]
  Reply With Quote