View Single Post
03-15-11, 12:35 PM   #26
Kenshone
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 19
Originally Posted by Grimsin View Post
Got another problem first of all never parent anything to the world frame.
This needs to be changed to parent to UIParent you cant use the worldframe as a parent or bad things happen. There is also another problem with this but i have not figured it out yet.

local KenshoneMagic = CreateFrame("Frame", nil, WorldFrame)
KenshoneMagic:SetFrameStrata("TOOLTIP") -- When parented to WorldFrame, causes OnUpdate handler to run close to last
KenshoneMagic:SetScript("OnEvent", EventHandler)
Hm ic. Alright UIParent it is.
  Reply With Quote