How can I achieve the subject? Let's assume I add a hotspot using the pano's xml:
Now I will load this pano into another swf file and use the following:
Code
...(e.target.content as Object).embeddedstartup(stage, panoReady);
function panoReady(krpanointerface:krpano_as3_interface):void {
krpano = krpanointerface;
var area = krpano.get("area");
area.x = 0;
area.y = 0;
area.width = 1000;
area.height = 600;
krpano.call("loadpano(./p.xml,null,MERGE,NOBLEND;");
}
Alles anzeigen
Now I need to call a function when the hotspot 'hs1' is clicked, however I am unable to retrieve the reference to the sprite. How can I do that? Thanks.