Sie sind nicht angemeldet.

1

Dienstag, 5. März 2013, 15:56

Change events dynamically

Is possible, like changing Attributes, change dynamically Events of a Plugin/Layer or Hotspot?

For Videoplayer plugin for example, I want to change Onvideoready event.

The code:
set(plugin[video].onvideoready, blablabla);

don't work.

There is a way?
Thanks

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

2

Dienstag, 5. März 2013, 16:09

can you give more code?
where do you put this and where does it goes?

Tuur *thumbsup*

3

Dienstag, 5. März 2013, 16:36

Hi,
Is possible, like changing Attributes, change dynamically Events of a Plugin/Layer or Hotspot?
Yes, the events are normal attributes that can be set/changed anytime.

Zitat

set(plugin[video].onvideoready, blablabla);
The code itself is basically okay.

Best regards,
Klaus