WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   Just Started Making Addons (XML Error) (https://www.wowinterface.com/forums/showthread.php?t=59808)

OP3 02-27-24 07:08 PM

Just Started Making Addons (XML Error)
 
Hello!

I recently retired from all of my jobs and wanted to do something to pass the time so I thought I would take up this hobby.

I started following various tutorials and such for making addons and when trying to make a XML frame in the Retail version of WoW, with no other addons loaded I receive this:

Code:

Interface/AddOns/OPAddon/OPAddon.xml:11 Unrecognized XML: Backdrop
This is the entire code:

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/">

    <Frame name="OPAddon_TestFrame">
        <Size>
            <AbsDimension x="200" y="150"/>
        </Size>
        <Anchors>
            <Anchor point="CENTER"/>
        </Anchors>
      <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
          <BackgroundInsets>
              <AbsInset left="11" right="11" top="12" bottom="12"/>
          </BackgroundInsets>
      </Backdrop>
    </Frame>

</Ui>

I am quite unsure what I am doing wrong here. Is this XML outdated or?

Best Regards.

Xrystal 02-27-24 08:12 PM

Backdrops are done differently now.

This page explains how to use the new way.

https://warcraft.wiki.gg/wiki/BackdropTemplate


All times are GMT -6. The time now is 10:14 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI