I've been working on my UI on the beta, but I've ran into a problem...
I used to have a simple script that made it possible to drag my bags around, but it's kinda broken now...
I've tried about everything, but I can't get it to work. Even the simple
local frame1 = CreateFrame("Frame", "MyTestDragFrame", UIParent)
frame1:SetMovable(true)
frame1:EnableMouse(true)
frame:RegisterForDrag("LeftButton")
frame:SetScript("OnDragStart", frame.StartMoving)
frame:SetScript("OnDragStop", frame.StopMovingOrSizing)
-- The code below makes the frame visible, and is not necessary to enable dragging.
frame1:SetPoint("CENTER"); frame1:SetWidth(64); frame1:SetHeight(64);
local tex = frame1:CreateTexture("ARTWORK");
tex:SetAllPoints();
tex:SetTexture(1.0, 0.5, 0); tex:SetAlpha(0.5);
does not work.
Does anyone know why not and possibly (well, preferably :P ) how to fix it?
I've been working on my UI on the beta, but I've ran into a problem...
I used to have a simple script that made it possible to drag my bags around, but it's kinda broken now...
I've tried about everything, but I can't get it to work. Even the simple
does not work.
Does anyone know why not and possibly (well, preferably :P ) how to fix it?
Thanks a lot!
I'll go get some coffee....