Thread: Reuse frame
View Single Post
06-20-16, 11:39 AM   #4
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
Originally Posted by maqjav View Post
itemFrames[i]:texture:SetTexture(itemTexture)
should be
Lua Code:
  1. itemFrames[i].texture:SetTexture(itemTexture)

But I can't say what's causing your erratic behavior without the rest of your code.