Hello. Can anybody give me advise on how to make polygonal hotspots draggable? I tried this code for regular hotspots and it's works fine, but it's not useful for polygonal hotspots.
Code
<style name="dragablehotspot"
dragging="if(pressed,
sub(dx,mouse.stagex,drag_adjustx); sub(dy,mouse.stagey,drag_adjusty);
screentosphere(dx,dy,ath,atv); if(onDrag!==null, onDrag() );
delayedcall(0,dragging()); , if(onDragEnd!==null, onDragEnd() ); );"
ondown="spheretoscreen(ath,atv,hotspotcenterx,hotspotcentery);
sub(drag_adjustx,mouse.stagex,hotspotcenterx);
sub(drag_adjusty,mouse.stagey,hotspotcentery); if(onDragStart!==null,
onDragStart() ); dragging();">
</style>
<hotspot name="hs1" style="dragablehotspot" distorted="true" url="hotspot.jpg" atv="0.0" ath="0.0"></hotspot>
Display More
I need similar solution, but for polygonal hotspots and WITHOUT usage of editor plugin.