Copy link to clipboard
Copied
Hello Madam/Sir,
Good Morning/Good Evening,
There is a issue with my project, please find the explanation below:
Explanation:
1) There are 4 buttons on the main slide, and the 4 buttons have 4 pop ups with 4 close buttons on the same main slide.
2) These 4 popups have audio's inside them.
3) Once the audio's from the 1st popup is done playing then only the close button from the 1st popup should activated to close the popup. Till then it should be disabled. It is the same for the remaining 3 popups.
4) When all the popup audio's are finished playing next button should be enabled.
Is there a way to write a advanced action for this case?
Sorry, will not write out a full solution, would take me too long since I'll need to create an example project.
Here some tips:
Lot of the objects are not even in a fluid box. Please switch to a non-responsive project.
It looks like the popups are in the same location, so my recommendation to replace them by a multistate object and ONE close button is reinforced that that knowledge. You can have a multistate object with an empty Normal state (Opacity and Stroke set to 0), and the content text in a state. The action to open such a popup would be reduced at:
Change state of.... to
Play audio
Delay next actions by .
Copy link to clipboard
Copied
Sure that is possible but I would first like to know:
Copy link to clipboard
Copied
Please find the explanation below:
1) Mam, the popups are individual objects made from smartshapes.
2) Popups are opened by clicking the individual buttons. Eg. When button 01 is clicked popup 01 will open. I guess this is wat you were asking.
3) Each popups have different close buttons. Eg. Popup01 will have close 01 button, popup02 will have close 02 buttons. Popup03 for close 03, popup04 for close 04.
5) Yes, it is possible for the learner to open the popup multiple times, but the next button should only be activated when all the popups are finished playing.
6) Mam the learner should not listen to the audios of the popups when the learner revisits for the second time. And the close button should be activated for the second time for all the visited popups.
7) Inside the popups there are texts with audio's.
8) Mam I dint group the popup and the close button as this is a responsive project.
9) Screenshot of the timeline
Copy link to clipboard
Copied
Moreover you also have slide audio! What needs to happen when slide audio is playing and the learner clicks a button which would start object audio? This is becoming a very complicated question, especially since you are probably on a Fluid Boxes (not a Breakpoint views) responsive project.
You don't want to force the learner to repeat the forced view on a second visit, but what about the slide audio? Do they need to listen to that audio before seeing the Next button?
I really fear to try to offer you help, because I also would need to see the full set up of the Fluid Boxes.
Here are some links that could explain my 'fear':
https://blog.lilybiri.com/play-audio-once-on-first-visit
https://blog.lilybiri.com/combining-slide-audio-and-play-audio
https://blog.lilybiri.com/force-first-slide-view-micro-navigation
Copy link to clipboard
Copied
Hello Mam,
Good Morning/Good Evening,
1) No problem Mam, this is a test project I'll switch from a responsive project to a static project.
2) The first time the learner has to listen to the slide audio completely, then only the learner should be able to hear the slide audios.
3) On revisit, the learner can directly stop the slide audio and click the popups and the learner doesn't need to hear the slide audios as well as the 4 popup audios completely.
5) The learner can directly close the popup without hearing the full audio, the close button should be enabled on the second revisit.
4) Mam, I hope that I am not confusing you.
5) Whatever you suggest I'll follow that.
Thank you, Mam, Being a busy professional you are putting a lot of effort to solve our problems.
Copy link to clipboard
Copied
Correction in point slide, it was a typing mistake.
2) The first time the learner has to listen to the slide audio completely, then only the learner should be able to hear the popup audios.
Copy link to clipboard
Copied
Pls, ignore the above point.
Correction on the second point, again it was a typing mistake.
2) The first time the learner has to listen to the slide audio completely, then only the learner should be able to hear the popup audios.
Copy link to clipboard
Copied
Sorry, will not write out a full solution, would take me too long since I'll need to create an example project.
Here some tips:
Copy link to clipboard
Copied
This is the screenshot mam
Copy link to clipboard
Copied
Lot of the objects are not even in a fluid box. Please switch to a non-responsive project.
It looks like the popups are in the same location, so my recommendation to replace them by a multistate object and ONE close button is reinforced that that knowledge. You can have a multistate object with an empty Normal state (Opacity and Stroke set to 0), and the content text in a state. The action to open such a popup would be reduced at:
Change state of.... to
Play audio
Delay next actions by ... which is the duration of the audio clip
Assign v_x with 1 (you'll need a user variable for each button)
Show button close button, will now always have same ID
This can easily be converted to a shared action as well. To prevent the later appearance of the Close button
Copy link to clipboard
Copied
Sure Mam will change it to a non-responsive project. Thank you for your suggestion.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I achieved the result.
Copy link to clipboard
Copied
Great news! Can you mark the answers which helped you to success as being correct, please?
Copy link to clipboard
Copied
Thank you mam for your great support! All the credit goes to you.
Copy link to clipboard
Copied
You're welcome! May I explain why I asked to mark one or more answers as being correct? It is for the sake of other users finding this thread, and looking for a solution. You marked my last comment as being correct, but that will not be so helpful for other users, right? I took out that mark, please try to find an (more than one is also possible if they are supplementary) answer that is meaningful to other users. Thanks!
Copy link to clipboard
Copied
Done. Earlier the wrong thread was clicked as the correct answer. I have selected two options as correct answers.