Hello!
I make map and I'm trying to get access to the layer with map marker using javascript:
Code:
krpano.set('layer[layerName].style, map_marker_active');
Also, if I send this string to the console:
document.getElementById('krpanoSWFObject').get('layer[map]');
Appears the same error.
At the same time, if i send this string to the console:
document.getElementById('krpanoSWFObject').get('scene');
All right :(
XML file, javascripts and swf are on the same server.
Only if I want to do something with layer or plugin - I get this error.
Please help! Error text:
Chrome: Uncaught Error: Error calling method on NPObject.
Firefox: uncaught exception: Error in Actionscript. Use a try/catch block to find error
How can I solve this problem?
I apologize for my English.