Hide image at tour start

Q&A about the latest versions
Post Reply
ich
Posts: 15
Joined: Mon Jul 06, 2020 3:20 pm

Fri Nov 20, 2020 9:35 am

I do not want an embeded image to be shown at the start of the tour.
Therefore I created a container in the skin and entered the following action:
Start/Media/Media Visibility/Hide/ID of target image
Unfortunately this does not work. The image remains visible.
If I take a switchable rectangle and enter the same action with a mouse click it works.
Does anyone have an idea what I am doing wrong?
SMerriss
Posts: 25
Joined: Mon Sep 28, 2020 2:12 pm
Location: Columbus Ohio

Fri Nov 20, 2020 5:02 pm

Hey Ich,

When do you want the embedded image to be shown? is it after you click on something or move into a certain frame or what? Knowing this would help a lot with figuring out how to get you the result you're looking for.

-Spencer
ich
Posts: 15
Joined: Mon Jul 06, 2020 3:20 pm

Fri Nov 20, 2020 5:58 pm

We would like to publish a tour in two languages and there are images that should be assigned to one language each.
Therefore I would assign the action via an action filter, at which variable state (vis_english - true or false) it should display the picture or not.

Depending on the variable state I start the output and thus the action: (Start/Media/Media Visibility/Hide/ID of target image), the program builds the English or the German tour. The images that are shown or not shown via the action remain visible or invisible during the whole tour.

This is the plan...
User avatar
CliClaqueux
Posts: 37
Joined: Tue Sep 29, 2015 12:20 pm
Location: France, Bourgogne
Contact:

Mon Nov 23, 2020 4:01 pm

Peut'être mettre une image toute noire ! pour appeler ensuite l'image souhaitée avec une hot spot polygonal

Maybe put a black image! to then call up the desired image with a polygonal hot spot
Le CliClaqueux
SMerriss
Posts: 25
Joined: Mon Sep 28, 2020 2:12 pm
Location: Columbus Ohio

Mon Nov 23, 2020 6:34 pm

Hey Ich,

I was going to say that you shouldn't be needing to have that action to control the visibility of an element, but then I remembered how embedded pictures in a tour can be tricky. Of course Ideally you would have a true/false variable dictating what media is shown but as far as I know you cannot simply tell a placed element within a tour to be visible based off of a variable like how you can easily do it with a skin element. I have not tried this but I wonder if you would be able to control multiple embedded elements if they were given the same name, so instead of having a long list of actions, you would only have one to turn them all on or off. This may have its own problems with keeping track of everything, but it is an idea. I would say that you are definitely on the right track with what you are wanting to do though and to keep pushing that idea.

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

Mon Nov 23, 2020 8:53 pm

Hi,
Referring back to the original post, you would use a config loaded.
Only after the configuration file (XML) is loaded will the project know it has pinned media.
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/
ich
Posts: 15
Joined: Mon Jul 06, 2020 3:20 pm

Wed Nov 25, 2020 8:39 am

Thanks for the answers and suggestions.

To finish, I have bypassed the problem for now.
But I will try the way to control the images via XML later.


Regards
Martin
Post Reply