View Single Post
02-28-11, 10:41 AM   #14
Ailae
A Rage Talon Dragon Guard
 
Ailae's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2007
Posts: 318
It works exactly the same as in xml.

Code:
local a = CreateFrame("Frame", "MyFrame", UIParent)
local b = CreateFrame("Button", "$parentButton", a)
local c = b:CreateTexture("$parentTexture", "OVERLAY")
a) MyFrame
b) MyFrameButton
c) MyFrameButtonTexture

EDIT: Maybe I misunderstood your question.. leaving it anyway. :P
__________________
Oh, the simulated horror!
  Reply With Quote