Controlling the timed display of a hint box

April 3, 2019
Explorer 3 posts
Followers: 0 people
Instructional Designer
12

Controlling the timed display of a hint box

Explorer 3 posts
Followers: 0 people
April 3, 2019

Hi there fellow Captivators

I’m having a problem with controlling the timed display of a ‘hintbox'(Smart shape group).  I am trying to achieve the following:

  • If the user doesn’t click on the click box within 3 seconds a hint box (Initially set to invisible) will appear.
  • If the user does click on the click box within the 3 seconds then the hint box will remain invisible.

I have created a variable to count whether the click box has been clicked or not. However, I believe my problem is because I am running the hint box-advanced action ‘on entry’ and it is checking if the variable is 0 on entry (which of course it is) and so goes ahead with executing that action. My problem is, I can’t find a way of, if within the 3 seconds the click box is clicked then the hint should not appear. I know this might not be 100% clear from my description so I have included a short video showing exactly what I  mean and this copy of the example project:

Play

thank you all in advance for any help or advice you can offer.

Fergus

Comments (12)
2019-04-04 12:32:00
2019-04-04 12:32:00

Thank you all for 3 excellent suggestions. Simply because my approach to this course has been to control the timing of events more with advanced actions than the timeline Lieve Weymeis‘s solution has worked best for me- thank you so much, as always!

Having said that, thank you also Gaanf  for your solutions and to you john-player-one for your clear example. The lessons learned there have encouraged me to work more with my timeline.

Thank you all!

Like
(1)
(5)
>
Fergus ID
's comment
2019-04-04 12:37:13
2019-04-04 12:37:13
>
Fergus ID
's comment

It was interesting to see the different solutions. I use the timeline whenever possible (look atd my many articles about the timeline) but in this case was not sure what more could have to happen on that slide. I took advantage of the fact that the Delay command is never paused by a pausing point, there was no need to move it for the solution I proposed.

Sinve Fluid Boxes were introduced, I try to replace multiple objects in same location (like the two Hint messages- by multistate objects because they avoid stacking of items in the same location.

Like
>
Lieve Weymeis
's comment
2019-04-04 12:49:36
2019-04-04 12:49:36
>
Lieve Weymeis
's comment

“Delay command is never paused by a pausing point” something else I learned today Thanks Lieve Weymeis .

I also work a lot with multi-state objects as a lot of my work is character based scenarios at the moment. I learned early on that slides can really get chaotic if you are stacking multiple assets on top of one another and cueing everything up with the timeline. This is actually another reason why I moved towards controlling time with advanced actions-delay command rather than the timeline. However, with the use of multi-state objects, I find workflows a lot smoother.

Like
>
Fergus ID
's comment
2019-04-09 12:55:38
2019-04-09 12:55:38
>
Fergus ID
's comment

Here is the link to the published blog:

https://elearning.adobe.com/preview/39474/

There is a published HTML5 output included, showing the use for a situation like described here, but also for a D&D slide.

Like
(1)
>
Lieve Weymeis
's comment
2019-04-12 11:56:00
2019-04-12 11:56:00
>
Lieve Weymeis
's comment

Thanks for that Lieve Weymeis – However, when I click on the link you provided it just redirects to the home page. I did see the blog on your own site in any case – nice work!

Like
>
Fergus ID
's comment
2019-04-12 13:05:30
2019-04-12 13:05:30
>
Fergus ID
's comment

Sorry, that link pointed to the preview. On my personal site I replaced the video already, but cannot do it in the portal here, because it is in the features blogs. This should be the correct link:

https://elearning.adobe.com/2019/04/hint-with-delay/

Have also a look at the two tweaks for Quiz slides I posted. One about replacing text feedback by image feedback, yesterday I posted one about handling Slide audio on quiz slides.

Like
2019-04-04 08:51:11
2019-04-04 08:51:11

Instead of showing the hint after 3 seconds through an advanced action with a ‘Delay Next Action By’ command, why don’t you just increase the slide length and time it to appear after 3 seconds in the timeline? Then put an advanced action on the button to show the mobile screen AND hide the hint. If it is clicked before the hint caption enters the timeline (that is within the first 3 seconds), it will never appear. Just make sure you move the button’s pause point to some time after the hint caption enters the timeline.

Like
(2)
2019-04-04 08:36:00
2019-04-04 08:36:00

I watched the video, but didn’t download the cptx (out of security reasons) posted by another user, my apologies.

I would use a multistate objectf for the Hint box (you cannot do it for a group but you can use one shape instead of that group). You have the Normal state now, add a state ‘Void’ where everything is taken out you don’t want to show when the click box has been clicked in time.

You need two actions now, no varialbe at all. Use the On Enter action of the slide with the Delay Next actions to show the Hint after 5 seconds. Use the Success event of the click box to change the state of the Hint box. Maybe I’ll write this out in a blog today.

Like
(1)
(3)
>
Lieve Weymeis
's comment
2019-04-04 13:54:27
2019-04-04 13:54:27
>
Lieve Weymeis
's comment

I just applied this to 3 slides that had this issue. Tested all three in all situations and it’s working very well without issue. Thanks again Lieve Weymeis

Like
>
Fergus ID
's comment
2019-04-04 14:25:38
2019-04-04 14:25:38
>
Fergus ID
's comment

Did you use a shared action?

Like
>
Lieve Weymeis
's comment
2019-04-04 14:36:56
2019-04-04 14:36:56
>
Lieve Weymeis
's comment

Normally I would have done used SAs. However, the ‘on entry’ adv actions were already built and in place since before I was more comfortable with shared actions. This issue was one that I didn’t catch in intial testing so there was some domino effects. So I just added the void state to one hint box and then pasted/replaced the old ones and then changed the adv actions to correspond with the new shapes and execute your solution. I agree however, If I were building that from scratch the simplest solution would be to build it once and execute as a shared action. I’m always working on refining work. Thanks for the suggestion, really good idea!

Like
2019-04-04 04:08:24
2019-04-04 04:08:24

Hey there. this is a good one!

A bit of a work around would be to have 2 x hint covers, one for initial cover of hint, then another hint cover that “shows” to hide the actual hint, when the button is clicked, does this make sense? we have attached an example CPTX file. Hope this helps.

Like
(1)
Add your comment