I'd like to associate an action (on "click" show an element) to a polygon hotspot, but for the life of me I can't figure out how.
I thought I would simply create a point hotspot in the skin editor with the same ID as the polygon hotspot and create an action for it, but that doesn't work.
Your help would be much appreciate it.
-Franco
polygon hotspots actions
- Hopki
- Gnome
- Posts: 13028
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi Franco,
You can use hotspot proxy ID's.
Example: add a rectangle to the skin and deselect visible. Give it the action, mouse click, toggle visibility, self.
Now under where it says hotspot proxy ID enter, Poly01.
Save and close the skin.
In the hotspot mode/editor add the poly and make sure its ID is Poly01.
What will happen is when you click the poly hotspot the link made by the hotspot proxy will activate the action in the rectangle and it will show.
As it uses a toggle action, when you click the rectangle it will hide.
Regards,
Hopki
You can use hotspot proxy ID's.
Example: add a rectangle to the skin and deselect visible. Give it the action, mouse click, toggle visibility, self.
Now under where it says hotspot proxy ID enter, Poly01.
Save and close the skin.
In the hotspot mode/editor add the poly and make sure its ID is Poly01.
What will happen is when you click the poly hotspot the link made by the hotspot proxy will activate the action in the rectangle and it will show.
As it uses a toggle action, when you click the rectangle it will hide.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/