I'm new to the topic of flash and rich media in pdf files so please forgvie me if I ask a Newbie question.
Here's the situation. I have an image slide show of ~18s and an audio file of ~3mins that I want to play as loops embedded in a pdf file.
I tried the following:
1) Created an swf file of the slide show with audio included, embedded in pdf -> works, but the swf file is off, since audio starts over with slide show, i.e-. after 18s.
2) Created an swf file of the slide show and an mp3, embedded two objects in pdf -> Audio can be muted by button (multimedia_pause), but won't loop
3) Created two swf files: one for the slide show, one audio only, embedded two objects in pdf -> Audio loops, but cannot be muted by button (multimedia_pause)
So can please somebody give me a hint on how to loop the mp3 file (preferred, smaller total file size) or why the mute button action won't work on the swf-file?
Any enlightening link is also most welcome! Thanks in advance!
It depends how you're making your SWF files. The sensible approach would be to add the MP3 file to the Flash stage as a script-driven Sound object (so you can control the looping independently of the timeline), then handle muting entirely within the SWF, with buttons on the Flash stage.
The "Sound" annotation in Acrobat embeds a SWF player widget, but that doesn't support looping. You could replace that widget with your own audio player widget (embedding the widget as a SWF annotation, and putting the MP3 file as a Resource of the annotation).
In order to get the Acrobat multimedia commands to work on your own SWF, you would have to replicate the Actionscript code that listens for those commands (it's not difficult to work out what the main ones do, but the AS code in the shipping widgets isn't published as source code). If you're only interested in one or two commands (such as multimedia_pause or multimedia_mute), the code required in Flash would only take up ten lines or so, basically declaring functions to the External Interface class which tell the sound object to do as instructed.
I know your reply was created nearly a year ago, but hoping you see it. I have the similar problem. My captivate contains audio whereby the audio is embedded on each slide, indepent of each slide within the captivate file. So, for a captivate course that has 10 slides, I'll have 10 audio files, one audio file (.mp3) on each slide.
OK, now each slide has each audio file timed perfectly with captions that appear on each slide. So that when the audio (a narrator) says for example:
"The user places the date and top of the page when the test failed ...and then the individual then signs at the bottom where indicated."
There would be 2 captions - One caption for the first part of the .mp3, and one caption for the second part of the audio. (all on one .mp3 on the main timeline)
When I press the Pause/Play button the .mp3 it just repeats itselve over and I hear the same voice running on top of each other in unison. Not sure how I can fix this where the Pause button on the control bar (the only control bar on the entire course), pauses everything on the slide.
Do you see what I am saying?
Any help you can provide would be greatly appreciated.
Are you talking about playback within a PDF file (i.e. converting the Captivate presentation into an embedded Flash annotation in the PDF)? If not, then you will need to post your question to one of the Captivate forums rather than here (where we only deal with Acrobat and PDF issues).
Europe, Middle East and Africa