poly-hotspot -> mouse over action from skin-hotspot

Q&A about the latest versions
Post Reply
ollyfromkup
Posts: 14
Joined: Thu Apr 02, 2020 4:14 pm

Tue Jul 28, 2020 12:59 pm

Hello,
is it possible to communicate the mouse-over action from a skin element to a polygonal-hotspot?

Explanation:
I have to Elements: In my scene I have polygonalhotspot called "poly1" and in the skin I have a Hotspot "HT1".
If the mouse goes over "HT1" I want that the "poly1" shows the background & frame as it looks like when the mouse-over action happend directly to the polygonal-hotspot.

Someone an idea how to make that happend?
Thanks a lot.
BR
User avatar
Hopki
Gnome
Posts: 10622
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Sat Aug 01, 2020 12:55 pm

Hi,
You can do this with skin actions, as an example, the hotspot can have the action mouse enter show poly $(hd) and mouse leave hide $(hd).
Then in the Hotspots description text field enter the polygon hotspots ID.
Regards,
Hopki
Garden Gnome Software 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/
ollyfromkup
Posts: 14
Joined: Thu Apr 02, 2020 4:14 pm

Tue Aug 04, 2020 1:19 pm

Hello Hopki,
many thanks for the reply. I tryed to solve the problem by following your instructions.
Unfortunatly the SKIN-Editor will not accept the $(hd) as it's destination. It returns the error message: "The skin contains no element with the named ID!".

See screenshot below.
Skin_Message.JPG
Skin_Message.JPG (90.62 KiB) Viewed 165 times

What am I doing wrong?
BR Olly
User avatar
Hopki
Gnome
Posts: 10622
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Tue Aug 04, 2020 9:38 pm

Hi,
Please see the attached project.
It has a polygon and a point hotspot.
The poly hotspot is set to disable in the HTML5 output.
The Point Hotspot has the polygons ID in the description text field.
So on mouse enter it will "show one" using the placeholder to target the Poly ID.
Then on mouse leave, it hides it and then disables it so the polygon is not interactive when hidden.
Regards,
Attachments
Poly.zip
(12.61 KiB) Downloaded 9 times
Hopki
Garden Gnome Software 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/
ollyfromkup
Posts: 14
Joined: Thu Apr 02, 2020 4:14 pm

Wed Aug 05, 2020 9:06 am

Thanks a lot, Hopki!
And sorry for not finding that solution without help.

BR Olly
Post Reply