Hi Klaus,
I'm wondering why isn't onstart an event like this:
|
Source code
|
1
2
3
|
<events
onstart="startup()"
/>
|
The reason I ask for this,
1) It seems logical it's place is in the events, just like a ADDED_TO_STAGE or document.ready is in Flash/Javascript
2) I have a plugin that I want to register it's own onstart event. This is a plugin in the DOM and I want to signal when krpano is initialized. Seeing you now have named events, I'd like to see the onstart alsoo work like this
|
Source code
|
1
|
<events name="custom" onstart="custom_onstart" />
|
If this isnt possible, is it possible that the tour.js triggers an event once krpano is ready (iow krpano.call('loadscene(test)") would work)