View Single Post
03-02-06, 12:11 PM   #3
oreth
A Murloc Raider
Join Date: Mar 2006
Posts: 6
I had forgotten that... but it did not fix my problem

Here's my entire XML file:

Code:
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/">
<Script file="TestingGround.lua"/>


<Frame name="TestFrame" parent="UIParent">
	<Size>
		<AbsDimension x="300" y="100"/>
	</Size>
	
	<Anchors>
		<Anchor point="TOP">
		</Anchor>
	</Anchors>
	
	<Frames>
		<Button name="$parentButton" text="Go!" parent="TestFrame"> 
			<Size>
				<AbsDimension x="60" y="30"/>
			</Size>
			<Anchors>
				<Anchor point="CENTER"/>
			</Anchors>
		</Button>
	</Frames>

<Scripts>
	<OnLoad>
		TestingGround_OnLoad();
	</OnLoad>
</Scripts>

</Frame>
</Ui>
and my LUA file

Code:
function TestingGround_OnLoad()
UIErrorsFrame:AddMessage("Loaded!" , 1,0,0,1,15);
end
and the TOC file is correct.

Now, when I reload my UI, I recieved the red "Loaded!" message in the UIErrorsFrame, but nothing else shows up anywhere.
  Reply With Quote