All file hotspots work the same, so the coordinates should work.
What I do is place the hotspot random somewhere like ath="0" atv="0" in my xml and give it a logical name.
then open the tour, open the editor. drag the hotspot and while dragging I press d to put it in distort mode. You now can use R, space and Shift to rotate it on the z axis, xy axis and scale it. Remember to keep the leftmouse button pressed.
You then open the xml and press ctrl + a, then ctrl + v it in your notepad editor (I use notepadd++ cause It uses syntaxcoloring). And then look up the name of the hotspot.
I did this for my childrens game:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
|
<style name="video_hotspotstyle" url="%SWFPATH%/assets/plugins/videoplayer.swf" pausedonstart="true" keep="false" zoom="true" distorted="true" details="2" scale="1" edge="center" flying="0.0"/>
<hotspot name="fire_4"
style="video_hotspotstyle"
videourl="%SWFPATH%/assets/animation/fire.flv"
ath="-60.97208550373287" atv="-18.402708646832437"
scale="0.8659500526870615"
rx="-23.25" ry="-8.25" rz="7.592770470658956"
visible="true" alpha="0" enabled="true" onclick="enablefire();" onhover="tooltip(lightson)"
/>
|