I have function which needs to be called after scene is fully loaded with their hotspots using javascript.
Belo is my code :-
loadKRpanoView(
xmlFile,
swfFile);
this.
krpanoObj =
document.
getElementById(
'krpanoSWFObject');
this.
krpanoObj.
set(
'events.onloadcomplete',
this.
callHotspotNames());
this.
krpanoObj.
set(
'events.keep',
true)
Here I have tried event on load event but it not working anyway it is calling before scene is fully loaded so the callHotspotNmae is calling anyway
Any Help will be appreciated