Thread Tools Display Modes
06-18-08, 11:04 AM   #1
Zwixx
A Kobold Labourer
Join Date: Dec 2005
Posts: 1
SecureActiontemplate not doing anything

Hi,

this is my first test with the SecureActionTemplate and I have no solution for my first problem:

Code:
<Button name="$parent_ButName" level="OVERLAY" inherits="SecureActionButtonTemplate">
	<Size>
		<AbsDimension x="215" y="24"/>
	</Size>
	<Anchors>
		<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT">
			<Offset>
				<AbsDimension x="0" y="0"/>
			</Offset>
		</Anchor>
	</Anchors>
	<Scripts>
		<OnLoad>
			this:RegisterForClicks("LeftButtonUp");
			this:SetAttribute("type1", "macro")			
			this:SetAttribute("macrotext", "/say test")
		</OnLoad>
		<OnClick>
			out("Name - Click");
		</OnClick>
	</Scripts>
</Button>
and if I click on the Button, nothing happens. If I delete the inherits... then the 'out("Name - Click");' is executed.

I read many manuals on WoWWiki, but don't understand the problem.

Thanks for any answer.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » SecureActiontemplate not doing anything


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