Hi,
Thank you for your help.
Michel, i've tried your code but it doesn't work. But the idea is good... I've tested your code, it is "button 1" in my example. Sometimes, it shows the hotspot, sometimes not.
Working on that code, i've noticed someting weird.
There a new button in this example, call "button 2" :
http://www.reflexion-graphic.com/ds-panorama/ex…ns/buttons.html
(think to empty the "cache" before looking to the example in safari or firefox)
The AS3 code is :
test2.addEventListener(MouseEvent.MOUSE_OVER, maFonction);
function maFonction(e:MouseEvent):void
{
krpano.call("looktohotspot (hs_combine, 50, smooth(100,50,20);");
}
test2.addEventListener(MouseEvent.MOUSE_OUT, maFonction2);
function maFonction2(e:MouseEvent):void
{
krpano.call("looktohotspot (hs_combine, 100, smooth(100,50,20);");
}
Display More
When i put my mouse on that button, it seems that it executes "looktohotspot (hs_combine, 50, smooth(100,50,20);" and then it executes "looktohotspot (hs_combine, 100, smooth(100,50,20);"...
Can you try this example ? Normally, it should execute the action when mouse is over, and a new action when mouse is out. But it executes the 2 actions all the time.
Do you know why ?