Hi Vinyl,
actually I had a try and it worked with the code I gave you yesterday.
Here is the full code working with my plugin.
as3 code for your flash plugin:
monBouton.addEventListener(MouseEvent.CLICK, maFonction);
function maFonction(e:MouseEvent):void
{
krpano.set("hotspot[nomDeMonHotspotDansLeFichierxml].alpha", "0.8");
}
and you might try to include your other action in it, which become:
monBouton.addEventListener(MouseEvent.CLICK, maFonction);
function maFonction(e:MouseEvent):void
{
krpano.set("hotspot[nomDeMonHotspotDansLeFichierxml].alpha", "0.8");
krpano.call("looktohotspot (nomDeMonHotspotDansLeFichierxml, 18, smooth(100,50,20);");
}
It works here, it should be working for you.
If it still doesn't work, check that you don't misspell (mal ecrit) your hotspot name, and that your hotspot is enabled="true" and visible="true" in your xml file.
( si ca ne marche toujours pas, tu peux poster ici un morceau de code plus long (as3 et/ou xml) pour qu'on essaie de trouver l'erreur, ou me contacter par message )
ps: thank you for answering on my post, I'll try by checking the path of all files