• Hi all,

    I am having a problem setting the y value of a plugin.
    If I set it to 50% it just seems to appear at the bottom of the screen and not 50% of the screen height as it states in the documentation.

    It appears to be aligning itself to the bottom of the stage. If I have align center I see the top half of the plugin at the bottom of the screen, align bottom sets the bottom of the plugin to the bottom of the stage.

    I've tried combinations of align and edge with no significant difference, it always seems to align to the bottom as its base.
    Even if I am setting the y value to a number not a percentage I have to use a negative value to get it on the screen.

    Any tips would be much appreciated.

    Thanks.

    T12

    Liverpool based panoramic photography, virtual tour and
    web media organisation specialising in high quality web experiences.

  • oh thanks *wink*

    I'll have a go later,
    I found this bit

    <action name="show_html_field">
    set(plugin[htmltext].y,0);
    tween(plugin[htmltext].alpha,1,0);
    tween(plugin[htmltext].textblur,0,0);
    tween(plugin[htmltext].blur,0,0);
    set(plugin[htmltext].visible,true);
    set(plugin[htmltext].enabled,true);
    tween(plugin[htmltext].y,0);
    sub(plugin[htmltext].height,stageheight,150);
    sub(sparewidth,stagewidth,plugin[image01].width);
    div(plugin[htmltext].width,sparewidth,2);
    trace('plugin[htmltext].height =', get(plugin[htmltext].height));
    trace('plugin[htmltext].width =', get(plugin[htmltext].width));
    tween(plugin[htmltext].alpha,0.4);
    </action>

  • Hi Michael, thanks for your feedback.
    I am going to look at it properly this afternoon.

    Thanks again for your help.

    T12

    Liverpool based panoramic photography, virtual tour and
    web media organisation specialising in high quality web experiences.

  • Hi Michael,

    I have found and fixed the problem with my code!
    I (stupidly) had the plugin set to parent to another plugin which was aligned with the bottom of the screen.

    Now this is fixed it may help to align a flyout hotspot with a plugin as in my other post. I'll let you know how I get on.

    Thanks for your help.

    T12

    Liverpool based panoramic photography, virtual tour and
    web media organisation specialising in high quality web experiences.

Participate now!

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