Skip to main content
Inspiring
April 22, 2010
Question

audio for embedded SWF on slide 16 starts on slide 1

  • April 22, 2010
  • 1 reply
  • 673 views

That's pretty much a summary of the problem. We have a project with about 50 slides. There is an embedded SWF (imported as animation) in about 10 slides. The first of those has audio, and is on slide 16. There is no other audio in the project.

When we run the project, the audio associated with that embedded SWF begins to play immediately upon launching the published project. There is no audio associated with slide 1.

Any ideas?

This topic has been closed for replies.

1 reply

dannyhouk
Inspiring
April 30, 2010

Just a shot in the dark, but do you know the ActionScript that's used to play the audio in this embedded swf? I know Captivate tries to preload all the external swfs up front, and if there is an event sound in the embedded swf it could be triggered, and it doesn't get turned off unless explicitly told to do so by another line of ActionScript code. If that's the case, make sure it's a stream sound rather than an event sound.

Danny

Inspiring
May 3, 2010

Hi Danny,

Thanks for the response. I'll take any shot at this point... light, dark, behind the back... whatever you got.

The embedded SWF was actually created by another short Captivate project. As far as I can tell, no custom ActionScript was added. It's just Captivate's default audio functions. Is there a setting I should check to make sure it's embedding the audio properly?

Just to be clear about how this is set up, let me describe this with a bit more detail.

Course1 is the 50+ slide project.

Demo1 is a 12 slide project with audio.

Demo1 works fine played by itself.

The SWF of Demo1 gets embedded in slide 16 of Course1.

Both Demo1 and Course1 have Start/End preferences set to Start with a Preloader, and the Preloader % is set to 100%. This gives us a Play button that the user has to click to start the course in Course1.

Once the user clicks the Play button, sometimes the audio from Demo1 starts (erroneously) immediately on Course1 Slide 1, and sometimes it doesn't (i.e., it works correctly and waits until we press play on Slide 16).

Hopefully that gives a little more context.

If you have any more ideas, I'm open to anything.

Thanks!

dannyhouk
Inspiring
May 3, 2010

Hmmm.... that's fishy.

I just found this reply by a forum user regarding a post about a similar issue: http://forums.adobe.com/message/2364903#2364903

More questions... when Demo1 plays automatically on slide 1 of Course1, does it play the entire audio (all 12 slides) or just the audio from slide 1 of Demo1? IF it's doing what it sounds like (that is, Course1.swf is preloading Demo1.swf on slide 1, even though it's not displaying until slide 16), then what about trying to delay the audio from playing on Demo1 for a second or two? If Course1 temporarily loads/unloads Demo1 on the first slide for the purprose of caching/preloading, then perhaps if it can do that whole operation within a second, it will avoid triggering the audio from Demo1?

Just another thought ;)

Danny