I just got in to creating Addons for WoW the other day, and have been using the "World of Warcraft Programming" Book as a Guide. I'm trying to make a simple button frame in the center of the screen (I'll allow it to be moveable later) with the Dialog background and frame. I'm sure I just have some small error in here (it's modified from an example in the book) but I'm at a loss to find it. Any input would be appreciated.
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/
..\FrameXML\UI.xsd">
<Button name="TradeAdvertiserFrame" parent="UIParent" enableMouse="true" movable="true" frameStrata="LOW">
<Size x="100" y="40"/>
<Anchors>
<Anchor point="CENTER" relativePoint="CENTER" relativeTo="UIParent">
</Anchor>
</Anchors>
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
<BackgroundInsets>
<AbsInset left="11" right="12" top="12" bottom="11"/>
</BackgroundInsets>
<TileSize>
<AbsValue val="32"/>
</TileSize>
<EdgeSize>
<AbsValue val="32"/>
</EdgeSize>
</Backdrop>
<Layers>
<Layer level="OVERLAY">
<FontString name="$parentText" inherits="GameFontNormalSmall" justifyH="CENTER" setAllPoints="true" text="TradeAdvertiser"/>
</Layer>
</Layers>
</Button>
</Ui>