autostart on gallery component

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
petix
Posts: 97
Joined: Wed Feb 02, 2011 9:42 pm

Hi,

I'd like to have an autostart on my gallery component. Tried it with a hotspot called "gallery_show_hide" and it works, but it starts with the second image of the slideshow. Hopki said, "Just set a value to the timer when you open the gallery." but I don't know which value on which timer. Has anybody an idea?

Regards
Petix
Last edited by petix on Mon May 22, 2017 2:22 pm, edited 1 time in total.
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
I have moved this topic to the skins forum.
To Modify the gallery component to auto start you will need to do the following:

Set the skin variable: gallery_picture, Number, -1

The Gallery open button to have the additional action:
Mouse Click => Set Value => 2 => gallery_timer

Close button change the action to: Mouse Click => Set Variable => Set(=) / -1 => gallery_picture

Set element gallery_pause to visible
Set Element gallery_play to hide (deselect visible)
Regards,
Hopki
Attachments
skin.ggsk
(10.09 KiB) Downloaded 152 times
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/
petix
Posts: 97
Joined: Wed Feb 02, 2011 9:42 pm

Hi,

thank you very much, Hopki, that's great!!!

Regards
Petra
Post Reply