WoW:Getting started with writing AddOns: Difference between revisions

Line 48: Line 48:
XML files are used to specify what the visual style of your frames. More importantly though a frame allows you to easily pass events to your Lua files.  Check out [[XML User Interface]] for details. Here's a short example of one:
XML files are used to specify what the visual style of your frames. More importantly though a frame allows you to easily pass events to your Lua files.  Check out [[XML User Interface]] for details. Here's a short example of one:


Script file="MyAddon.lua"/>  
<Script file="MyAddon.lua"/>  
 
  <Frame name="MyAddon">  
  <Frame name="MyAddon">  
  <Scripts>  
  <Scripts>  
Anonymous user