Copy link to clipboard
Copied
I´ve got a speech bubble on my slides, on each slide with a diffent text in it. On Enter of each slide using conditional actions I like to check with a variable if there is a sound, and if yes then the speech bubble must be hidden (if no, it must be shoen). I`d like to avoid hundreds of advanced actions for my hundreds of speech bubbles in the whole project. It would be quite nice if it´s possible to attach some kind of label to these different speech bubbles, so that the hide/show command triggers this label and not every single bubble.
Is this possible?
Copy link to clipboard
Copied
If you are publishing html5 you could use JavaScript that could be dynamic enough to handle that.
Copy link to clipboard
Copied
Fortunately I am publishing in HTML5!
Unfortunately I am a total rookie when it comes to JavaScript ... remember my cry for help with the TOC? (TOC opening from bottom to top?)
So the question now will be: which JavaScript and where do I put it??
Copy link to clipboard
Copied
If you are publishing to HTML this would be very easy using the new CpExtra widget by InfoSemantics with #syntax. It allows to hide/show all items in the whole project based on a sequence of characters appearing in the names for those items. Example: if all your bubbles have 'bubble' in their name, you could use the same conditional action on each slide.
Looking for another way will be with a shared action instead of a conditional action. How are you setting the variable that detects if there is sound? You probably will need only one parameter which will be the name of the text bubble. It will be already a lot quicker just to apply that shared action once for all the slides, then indicate the correct bubble on each slide. Can the variable that tracks the presence of sound be changed on each slide, and if yes, how will it be changed?
Another approach: instead of having a speech bubble on each slide, create one speech bubble at the start of the project, which you will time for the rest of the project. You do not insert text but a variable. You populate that variable with the On Enter action of each slide, only if the speech bubble has to be visible. Sort of dynamic speech bubble, but which will have only one name since it is timed for the rest of the project.
Up to you: explain how the sound tracking variable is populated, please?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now