how to hide hotspot SVG graphic during the loading screen

Q&A about the latest versions
Post Reply
Spine3d
Posts: 22
Joined: Mon May 04, 2020 8:46 pm

Sun Sep 26, 2021 7:21 pm

Hi:
I add the custom SVG graphic for the hotspot. But before the loading process, all the skin element are display in the background. Is any way to hide this graphic during the loading process?
I have try init-->hide element, and loaded-->show element action . But the SVG graphic won't show up.

Thank you.

Lee
User avatar
Hopki
Gnome
Posts: 11730
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Mon Sep 27, 2021 10:02 am

Hi Lee,
I would set the graphic to not visible to start with, then give it the action:
Loaded, SHow Element, $self

Of course, this needs to be in every element that needs to be hidden on open, but you can copy and paste the action.
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/
Spine3d
Posts: 22
Joined: Mon May 04, 2020 8:46 pm

Wed Sep 29, 2021 10:37 pm

Thank you very much.
Spine3d
Posts: 22
Joined: Mon May 04, 2020 8:46 pm

Wed Sep 29, 2021 10:51 pm

Hi hopki:
I just add the script action follow by your instruction. It does not work.
Seems any graphic attachment inside the hotspot element won't show up even you have show element action.
You think is is a bug?

This is this the set up I have . I add a SVG graphic under the hotspot template icon. and has the SVG default visible off. add the action loaded-->show element.
The SVG become invisible in the final scene.

Thank you.

Lee
User avatar
Hopki
Gnome
Posts: 11730
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Fri Oct 01, 2021 8:36 pm

Hi Lee,
Here is a temp project to show this working: https://support.ggno.me/forum_projects/loaded
The button container and Hotspot image show after the Loaded action.
Both actions are in the buttons container.
To address the Hotspot Image you need to prefix it with #.
Project attached.
Regards,
Attachments
project.zip
(625.09 KiB) Downloaded 8 times
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/
Post Reply