Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
In this lesson, we're going to see how we can add audio to an object in Captivate. We're going to be using the Chapter 6_a file that we saved previously in this chapter. If you don't have it open, please open it now. You can add audio to just about every object that you can create inside of Captivate. When you add audio to an object, that audio will play as soon as that object appears on the stage. This means that timing can be critical when we're talking about when those songs will play on your stage.
I would like the user to click a Continue button in order to see the slideshow that comes up after this Welcome screen. At the same time I would like a sound to play after we click Continue. In order to make that happen, I have to do several things. First, I have to create a button that says Continue. Secondly, I have to have an object that will play some sound when it appears on the stage. Third, I've got to adjust my timing, so that the pause for the button happens before that sound object appears on the stage.
Let's take all of those steps in turn. The first thing we need to do is to construct our button. With the Button tool, let's create a button and move it to the lower right-hand corner of the stage. Click and drag to move. Scroll up, and under the General area, let's make the Caption "Click to Continue," and we will have to move that button to the left.
I want its action to simply be continue. Remember, when we create a button, it automatically includes a stop action that will cause the playback to pause while we wait for the user to interact with the button. We're going to take advantage of that very soon. The next thing we need to do is to create an invisible object onto which we're going to attach some sound. Let's move our playhead forward past the pause point on the button. Looking at our Timeline, you can see that the pause point for the button happens at 1 1/2 seconds.
Let's set our playhead right here at 1 1/2 seconds. Now let's insert a text caption. Under the General area, let's set the Caption type to Transparent. Secondly, we'll delete all of the text inside of the text caption, hit Escape, and then move the text caption into the upper right-hand corner of the screen. Looking at the Timeline, you can see that it appears on the stage right here, just after the pause action.
Now, comes the fun part. Let's add a sound. With the text caption selected, choose Audio > Import to > Object. In your Sounds folder, you should have a dogs file. Select that and choose Open. You can play the dogs file to hear the dogs bark (Dogs barking.) and then say close. If you look at the Timeline, you can see now that this text caption has audio attached to it. There's a little microphone that's on the Timeline.
Let's preview our project and see what happens. (Music playing.) Nothing happens until we click Click to Continue. (Music playing.) (Dogs barking.) (Music playing.) We'll pause it because we don't need to hear any more the slideshow. Let's close the preview now. By adjusting the timing, we were able to ensure that the dog bark didn't happen until we wanted it to happen.
Let's save this file now as Chapter 6_b. I said earlier that you can add audio to just about any object in Captivate. Just remember that that audio is going to play when ever the object appears in the Timeline; therefore, you may have to move the object around in the Timeline in order to control when the sound will take place. Remember also that object don't have to be invisible in order to play a sound.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 74651 Viewers
80 Video lessons · 129811 Viewers
52 Video lessons · 64014 Viewers
59 Video lessons · 49803 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.