Help with XML Button
I created a script, it works fine, but after my <Layers></Layers> tags, I tried to put in the following code:
Code:
<Frames> Any help would be much appreciated. Thanks in advance, -Saati |
/bump
No one can help me with this? =( |
just wonder.. I'm at work and I'm no guru... I'm just a total noobs,
but are you doing: <frames>... <layers>...<layer></layer>...</layers></frames> and then follow with your chunk of <frames>...<button></button></frames> section? if you are only going to have a single <button> inside, why are you using <frames> instead of <frame> (without the "s")? The mod that I wrote and released have <frame>...<button></button>...<frame> in it, as well as something like <frames> ... <button></button><button></button><button></button>...</frames> in it, and it works just fine. hope I'm making some sense to you. |
Sorry for my late reply. Things have been kinda hectic at work so I haven't had a chance to try your suggestion until now...
I tried <frame> instead of <frames> and it doesn't crash, but I still don't see the button, but perhaps that's because of the rest of the code. I'm still trying to figure out how to put the button where I want it and use the texture that I want. *shrugs* |
I'm no expert but I believe you want:
Code:
<Frame name="MyScriptOptionsFrame"> Code:
<Frame name="MyScriptOptionsFrame"> <NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up"/> <PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down"/> <HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD"/> If you want to make a button with text on it, you can inherit the GameMenuButtonTemplate (there are others, but I'm new to this too lol) Code:
<Frame name="MyScriptOptionsFrame"> |
All times are GMT -6. The time now is 07:24 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI