hi,
i noticed that when a hotspot is flying or distorted, it is resized according to the pano size, that is to say the stageheight for a 100% x 100% panorama (modifiying the stagewidth does not resize flying hotspots).
even if i call the hotspot[].resize() or hotspot[].updatepos(), trying to get the hotspot[].width always return the original width and not the resized one (as flying hotspot).
please can anyone point me to the right math do determine the width according to the stage height?
i've cam across this, it's nearly good but false:
Code
div(ratio,1,1000); // i used 1000px because klaus said he uses a 1000X1000 pixel square to size distorted hotspots
mul(ratio,stageheight);
mul(newwidth,ratio,hotspot[%1].width);
regards