Hi Guys =
Im trying to make a crosshair plugin perform an action to make it clear to the user where a hotspot is going to be created.
I tried this - to no avail - Anyone mave any better ideas? - I already have js detecting the mouse location but I also want a crosshair to make it obvious where the hotspot is going
<plugin name="crosshair" url="images/crosshair.png" visible="true" autopos="center"/>
<action name="moveCrosshair">
set(plugin[crosshair].visible,true);
set(plugin[crosshair].ath,screentosphere(get(mouse.x)));
set(plugin[crosshair].atv,screentosphere(get(mouse.x)));
</action>
Thanks in Advance
JB