Hi all, I am currently trying to populate the screen with a test image however it doesnt seem to appear on the screen.. i have tried the follow with buggrabber and bugsack.
Code:
--Create a Frame for UI to be placed in
local pFrame = CreateFrame("Frame",ShowUF,UIParent)
local ufTexture = pFrame:CreateTexture()
ufTexture:SetPoint("BOTTOM")
ufTexture:SetTexture("Interface\\AddOns\\WoWUI\\Background\\BgIMG")
pFrame:texture = ufTexture - Line 8 regarding error
pFrame:SetSize(1920,490)
pFrame:Show()
however i get the following error
Code:
TestOne.lua:8: function arguments expected near "="
Removing the code that brings this error removes all errors in the code, however the image is still not being placed onto the screen.. if anyone is able to help i'd greatly appreciate it.