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.