You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Graydon

Professional

  • "Graydon" started this thread

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

  • Send private message

1

Friday, January 23rd 2009, 10:37pm

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

2

Monday, January 26th 2009, 2:38pm

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