How to get layer name on skin events and trace it on showlog

  • Hi Klaus.

    How can i get the layer or plugin name of the the elements on my skin and print trace it to showlog?
    I have a client way back and they requested some layer elements on the skin to be removed, the problem is that i encrypted my original file and forgot the layer/plugin name, and i cannot find my original un-encrypted files.

    [font='&quot']Here[/font]’s my idea of the code:

    <events onclick="trace(layer(get[name]); showlog();" />

    After finding the name of the layer, i can just simply hide it by creating a layer with same name and disabling it right?
    <layer name="logo2" keep="false" enabled="false" visible="false" />
    <layer name="element2" keep="false" enabled="false" visible="false" />

    Thank you

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!