Thread Tools Display Modes
06-28-11, 02:10 AM   #1
barbol12
A Cyclonian
 
barbol12's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2010
Posts: 42
frames addon -->addon

hello... i seem to be having a problem with something

i made some frames(parent frames) and put them in a small seperate addon/file

i am trying to simply load those frames into another file(multiple files) without actually writing the full frame code in them... ive tried a few different ways but apparently doesnt work.. can anyone tell me a way to do this?
  Reply With Quote
06-28-11, 02:14 AM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
If I understand you rightly you have written a small addon with frames and you want to access them from another addon you have written ?

You have a few options.

1. Make the frames public, either use xml to create them or make sure the functions that are needed to be accessed aren't local to the small frame addon.

2. Copy the frame file into your new addon folder and make sure the functions are accessible to the other files in the new folder.

3. Unfortunately the only other option I can think of at the moment is the copy and paste option.

Hopefully someone else will have a better idea and if this isn't what you were talking about perhaps an example.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote
06-28-11, 02:19 AM   #3
barbol12
A Cyclonian
 
barbol12's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2010
Posts: 42
god... i ****ing hate how i always miss the simplest ****. yet i can do some of the more complex stuff..... tyvm man.

*shoots my brains out* lol
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » frames addon -->addon


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