difficulty with capture and overlaying pngs as plugins

  • I have two plugins... both png image files.

    plugin 1 (zorder 4) is on top of plugin 2 (zorder 3)

    plugin 1 has transparent area so that plugin 2 shows fine visually.

    However, I can't seem to get a click recognized on plugin 2.

    Plugin 1 is enabled = true and capture= false... which I thought would allow a click to "pass" down to plugin 2

    Plugin 2 is enabled = true and capture = true (and have tried it with capture = false)

    I know plugin 2 structure is working... it is fine if I remove plugin 1.

    Am I misunderstanding the "capture" item and what can be done with it?

    Thanks

  • Hi,

    sorry, the documentation about this is a little bit wrong,
    the "underlying objects" are only the hotspot and the pano object,
    the plugins are internally at the "same level" and it seems the
    mouse event is not routed to it, but I will check this again,

    it work like this:

    with capture="true" and clicking on the plugin and holding the
    mouse button down, then it's not possible to move the pano,

    when capture="false" it's also possible to move the pano around,


    in your example you need to set enabled="false" to plugin 1,
    then the mouse event was routed trough it,

    best regards,
    Klaus

Participate now!

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