deafultskin.xml hideui but not my logo, how?

  • I've been trying with no success:

    I am using the defaultskin.xml, modified with some personal things.
    I added a logo as
    <plugin name="logo" url="logo.png" keep="true" align="rightbottom" x="10" y="10" width="126" height="16" onclick="openurl(myadress,_blank)"/>

    For now I kept the row of buttons at the bottom as they are.
    There is a star button to hide the ui elements but I want to keep my logo at all times.

    So I tried to modify the action that way: in red what I wanted to do, just bring back only this logo after all has fade out...
    doesn't work.
    How can I do this?
    thanks!

    <action name="hideui">
    set(plugin.enabled,false);
    set(hotspot.enabled,false);
    tween(plugin.alpha, 0.0, 0.5, default, set(plugin.visible,false));
    tween(hotspot.alpha, 0.0, 0.5, default, set(hotspot.visible,false));

    set(plugin[logo].enabled,true);
    set(plugin[logo].visible,true);
    tween(plugin[logo].alpha, 1.0);


    delayedcall(0.5, showtext('...press SPACE to show the navigation buttons again...', INFOTEXT));
    </action>

  • sorted it out by myself.

    set(plugin.enabled,false);
    actually doesn't change anything about each of the plugins own settings.
    It is just above all of them. Each plugin keeps its setting the same when using this.

    The way to keep my logo visible was to put it as a child of STAGE (parent="STAGE")
    That way it is not in the same "world" and is not affected by the global setting.

Participate now!

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