• Hello to everyone!

    I'm working on a VRgallery and I've encountered the following issue:
    the image requested to show 'onover', has a clone that is blinking once, about 500px on the right side of the screen.
    http://clubaustria.tvd.ro/

    I guess the bug is somewhere below:
    <plugin name="vilairis01-receptie"
    url="vrgallery/vi01s.jpg"
    origin="rightbottom" edge="center"
    x="820" y="30"
    keep="true"
    visible="true" enabled="true" handcursor="true" capture="true" children="true"
    zorder="1"
    onover="action(show_hover_image,vilairis01-receptie,vrgallery/vi01.jpg);"
    onhover="showtext(Receptie);"
    onout="action(show_hover_image,vilairis01-receptie,null);"
    ondown=""
    onup=""
    onclick="loadscene(vilairis01-receptie, null, MERGE, BLEND(1));"
    flying="0"
    />

    <action name="show_hover_image">
    set(plugin[hover_image].parent,plugin[%1]);
    set(plugin[hover_image].url,%2);
    </action>

    <plugin name="hover_image" keep="true"
    url=""
    parent=""
    align="top" edge="bottom"
    x="0" y="-10" />

    http://clubaustria.tvd.ro/vilairis.xml

    Hoping to get a little help. Thank you!


    Best regards,
    Laurentiu

  • This is odd. Perhaps you could try this:

    Code
    <action name="show_hover_image">
    set(plugin[hover_image].visible,false);
    set(plugin[hover_image].parent,plugin[%1]);
    set(plugin[hover_image].url,%2);
    set(plugin[hover_image].visible,true);
    </action>

    steve

  • Hi Laurentiu,

    After many tries, it seems the problem comes from the child plugin alignment: align="top" edge="bottom" ... Do not know the reason *confused* ... So, changing your code in this way seems to solve the problem:

    Code
    <plugin name="hover_image" keep="true"
    url=""
    parent=""
    align="bottom" edge=""  
    x="0" y="40" />

    Hi Steve *smile* , visible=false .... visible=true was my first attempt but without success *rolleyes* ... It seems to be some kind of bug with the alignment *huh* ...

    SAlut.

Participate now!

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