Thread Tools Display Modes
07-29-05, 10:01 PM   #1
Maglore
A Murloc Raider
Join Date: Jul 2005
Posts: 4
Frame with Background image... PROBLEM

Ok First off I know nothing about xml I do know VB.
But why will this not show a Frame'ed Image?

Code:
<Frame name="Mag_Test" frameStrata="HIGH" toplevel="true" enableMouse="true" movable="true" parent="UIParent">
 <Size>
   <AbsDimension x="64" y="64"/>
 </Size>
 <Anchors>
   <Anchor point="CENTER"/>
 </Anchors>
 <Layers>
   <Layer level="BACKGROUND">
     <Texture bgfile="Interface\Icons\INV_Misc_LeatherScrap_02">
       <Size>
         <AbsDimension x="64" y="64"/>
       </Size> 
       <Anchors>
          <Anchor point="TOPLEFT"/>
       </Anchors>
     </Texture>			
   </Layer>
 </Layers>
 <Scripts>
   <OnLoad>
      MagTest_OnLoad();
   </OnLoad>
 </Scripts>
</Frame>

But if you take and make the Line...
Code:
     <Texture bgfile="Interface\Icons\INV_Misc_LeatherScrap_02">
And changed it to (I have the "Custom Interface Kit" installed")
Code:
     <Texture file="Interface\Icons\INV_Misc_LeatherScrap_02">
It finds the texture and displays the Frame'ed image but will not move (i have not looked into why it is not moving yet - dragable)

So HOW do I use Default images from the game ... like icons for items ?
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Frame with Background image... PROBLEM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off