View Single Post
11-20-12, 03:52 PM   #7
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by nin View Post
Most of the confusion is if i add the postupdate function in my core or in my aura files?

I tried both, im not getting any errors, but the frames are just not being colored(white).
It doesn't matter where the actual function is defined, as long as postUpdateAura is a valid reference to the function when this line of code executes:

Code:
self.freebAuras.PostUpdateIcon = postUpdateAura
Based on your description of the problem, it sounds like postUpdateAura is nil when that line runs, so you're not actually setting a PostUpdateIcon member on the element.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote