Hello everyone,
I would like to understand if it is possible to call a function inside an object inside a javascript action, the simplified code is this:
Code
<action name="engine" type="javascript" autorun="onstart">
<![CDATA[ var Move = { totalmove: 0, status: true, start: function () { // some actions },
stop: function () { // some actions }
};
]]></action>
I should call the functions Move.start () and Move.stop () from krpano actions
I prevent the speech of implementing the script in an external .js file (which works), for some combinations ( panotour) I must necessarily use in the xml file as js action ( always if it is possible )
Thanks a lot