WoW BlueTracker Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
Poster: Rte at 5/14/2006 12:34:39 PM PDT
Subject: Slouken? LoadOnDemand and xml problem?
   I have the following problem:
I created a load on demand addon but when I try loading it from inside the game with LoadAddOn() It loads fine with exception of xml.
Here's the xml:


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

<Frame name="GTS_Menu_BS" hidden="false" parent="GTS_Menu_Tab2">
<Size>
<AbsDimension x="455" y="135"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="-25"/>
</Offset>
</Anchor>
</Anchors>

<Backdrop edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
<TileSize>
<AbsValue val="16"/>
</TileSize>
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
</Backdrop>
<Layers>
<Layer level="ARTWORK">
<!-- Header text -->
<FontString name="$parent_Header" inherits="GameFontNormalSmall" text="Bank Scan:">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="10" y="-10"/>
</Offset>
</Anchor>
</Anchors>
<Color r="1" g="1" b="1"/>
</FontString>
</Layer>
</Layers>
</Frame>
</Ui>


when I try to access GTS_Menu_BS_Header it seemes to have not been initialized. Ie font not set, text not set etc.

Any ideas?
Thanks

[ post edited by Rte ]


http://geocities.com/mods_rte/
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=378386&p=#post378386
 
Poster: slouken at 5/16/2006 4:32:35 PM PDT
Subject: Re: LoadOnDemand and xml problem?
   Okay, it's fixed for 1.11. Fontstrings can "inherit" font objects that are in the global font list even if they aren't defined in the XML for your addon.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=378386&p=#post379519

View all recent official Blue Posts

WoW Blue Tracker: Archiving World of Warcraft Blue Posts
since March 2005
Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
 

Why Ads?