Item Not Showing and Audio Not Playing on OnEnded

Hi all;

I’m wondering if someone could have a look a the attached project and help me understand why the final item isn’t showing and final audio isn’t playing when it should.

Essentially, the user is meant to create the drag and drop and once it’s done the ‘great work’ audio plays. That all works fine.

When that finishes though, the Continue shape/button and a short ‘Click to continue’ audio are supposed to play - I have set them to do so as the On Ended command for the ‘great work’ audio - but neither happens.

OnEnded Not Working.approj (10.0 MB)

Can anyone see where I went wrong?

Thanks!

FYI - I’ve used the same audio files a with a shape on a blank slide in the same project and they worked fine. The initial audio is not played as the results of advanced action though. In the sample I uploaded, the first audio plays once the activity is complete, but in my current test (same project, new slide), the first audio is automatic.

I wonder if that’s part of the issue…?

PS: Also, I’ve just made the showing of the ‘continue’ button as part of the original advanced action, but I’d still like the original example to work to add an extra audio it possible.

Hi Samamara,

Thanks for the additional information, and sorry for the delayed reply as our team was away for the holiday.

I checked your project. The issue is that the “Great Work” audio is being played using the Play Audio action, while the actual “Great Work” audio object on the slide is not shown.

Because of that, the On Ended event of the audio object is not triggered, so the Continue button is not shown and the “Click to continue” audio does not play.

Please replace the Play Audio action with a Show Object action to show the “Great Work” audio object instead, and uncheck the Hide After option for this action. Once the audio object finishes playing, its On Ended actions should be triggered as expected.

Regards,
Hoa

1 Like

Hi @Hoanp - thanks so much for your support - it worked like a charm!

I did think it might have something to do with a ‘play audio vs show object > audio’ issue (since I had that once before), but thought maybe it was related to the ‘click to continue’ audio. I changed that to ‘show object’ but it didn’t work so I gave up :joy::weary_face:.

On your advice, though, I changed the instruction in the Advance Action from ‘play audio’ to ‘show’ and it solved everything.

Thanks a lot!

1 Like