Flyout hotspots and plugins

  • Hi all,

    I'm trying to get a plugin size and position to match that of a flyout hotspot in its flyout state.
    When I click a flyout plugin I want it to flyout as normal but then I want to position and scale a plugin to be the exact same size as it.
    Both the flyout hotspot and the plugin are the same swf so same physical dimensions.

    The problem that I have is that the flyout hotspot is a different size when depending on the size of the screen but the plugin is not.
    I have tried setting the width of the plugin using prop to make it scale but it doesn't seem to scale at the same rate as the flew out hotspot.

    Can anyone help?

    Thanks.

    T12

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

  • I tried this as I want something similar but as you say it only seems to work when full screen.

  • Hi,

    The problem that I have is that the flyout hotspot is a different size when depending on the size of the screen but the plugin is not.
    I have tried setting the width of the plugin using prop to make it scale but it doesn't seem to scale at the same rate as the flew out hotspot.

    sorry, but that's not possible yet,
    the size of the (distorted) hotspots is always relative to the pano size,
    the size of the plugin not,

    best regards,
    Klaus

  • Hi Klaus,

    Thanks for the clarification.
    I have managed to fudge it to create the effect I was looking for and it seems robust in the viewer, the XML is a bit clunky though.
    I found that if I set height of the plugin to a percentage (55% in this case) and the width to "prop" I could make the size of the plugin match the size of the "flewout" hotspot.
    This was done by adjusting the x and y values of an image identical to the hotspot within an swf plugin.
    Not the most elegant method but it seems to work, the plugin stays exactly the same size as the flyout hotspot regardless of screen resoluion, it even scales seemlessly when dragging the browser size around.
    See the code below:

    Code
    <plugin name="plg_blocks" 
    	url="plg_blocks.swf"
    	keep="false"
    	capture="false" 
    	align="center"
    	edge="center"
    	scale="1.0"
    	x="0" y="0" alpha="1"
    	visible="false" width="prop" height="55%" zorder="1" onclick="" handcursor="false"
    />


    I am just putting the finishing touches to it and I'll post it in the Showcase forum.

    Thanks.

    T12

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

  • Hi Klaus,

    I mentioned that I'd let you know when the pano I mentioned was done.
    It is now live on my (new) website here.

    If you click on the yellow tab next to the worktop board in the first pano or the handles board on the wall next in the second pano you will see that I crudely made the plugin line up with the flyout hotspot.

    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!