Page 1 of 1

how to hide hotspot SVG graphic during the loading screen

Posted: Sun Sep 26, 2021 7:21 pm
by Spine3d
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

Re: how to hide hotspot SVG graphic during the loading screen

Posted: Mon Sep 27, 2021 10:02 am
by Hopki
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,

Re: how to hide hotspot SVG graphic during the loading screen

Posted: Wed Sep 29, 2021 10:37 pm
by Spine3d
Thank you very much.

Re: how to hide hotspot SVG graphic during the loading screen

Posted: Wed Sep 29, 2021 10:51 pm
by Spine3d
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

Re: how to hide hotspot SVG graphic during the loading screen

Posted: Fri Oct 01, 2021 8:36 pm
by Hopki
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,