Page 1 of 1

Hide image at tour start

Posted: Fri Nov 20, 2020 9:35 am
by ich
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?

Re: Hide image at tour start

Posted: Fri Nov 20, 2020 5:02 pm
by SMerriss
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

Re: Hide image at tour start

Posted: Fri Nov 20, 2020 5:58 pm
by ich
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...

Re: Hide image at tour start

Posted: Mon Nov 23, 2020 4:01 pm
by CliClaqueux
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

Re: Hide image at tour start

Posted: Mon Nov 23, 2020 6:34 pm
by SMerriss
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

Re: Hide image at tour start

Posted: Mon Nov 23, 2020 8:53 pm
by Hopki
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,

Re: Hide image at tour start

Posted: Wed Nov 25, 2020 8:39 am
by ich
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