Thread Tools Display Modes
05-27-07, 12:39 PM   #1
Felankor
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: May 2007
Posts: 26
Question Changing textures at run time

Hi,

Is it possible to change textures at run time?

If ive got something like:

<Texture name="$parentIcon" file="Interface\AddOns\MyAddon\Images\Texture1">

is there a way in lua to change the file to: "Interface\AddOns\MyAddon\Images\Texture2"

when ever I need to. (After the addon has loaded)
  Reply With Quote
05-27-07, 03:54 PM   #2
Felankor
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: May 2007
Posts: 26
I've found out how to do it now.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Changing textures at run time


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