• krpano supports communication through setters and getters, but this is always been limited to strings

    for instance to load a new panorama, you could do this in flash:
    krpano.call("loadpano(tour.xml)");

    but would it be possible to load the xml myself in an plugin, and then send the XML/XMLList object to krpano? something like
    krpano.set("xml.content", someXML);

    This would be usefull for instance creating somekind of encryption with the key stored in flash, or defining xml in the swf, instead of externally loading it. This xml could be compiled, leading to a smaller filesize. Alsoo you could combine different XMLLists, have all interface (keep="true" related stuff) stored in swf, and the hotspots outside.

    krpano probally already uses a Loader to load the xml and the converts it to xml object . Maybe you could define a function or event listener, so it skips the Loader part and directly uses the xml object.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!