View Single Post
08-10-14, 01:10 PM   #5
MaLarsson
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Aug 2014
Posts: 13
I did give the frame a name, this is how i declared all the frames:
Lua Code:
  1. local frame, events = CreateFrame("Frame", "frame", UIParent), {}
  2. local name, realm = nil
  3. local anchor = CreateFrame("Frame", "anchor", UIParent)
  4. local icons = CreateFrame("Frame", "icons", anchor)
  5. local cd = CreateFrame("Cooldown", "cd", icons)
Maybe giving it the same name as the local variable name is a problem.
I will try changing the code a bit when I get home from vacation.
I'll keep you updated when I do, thanks for all the help!
  Reply With Quote