19 Replies Latest reply: May 1, 2014 11:51 AM by dtodd77 RSS

    Cannot Get Sound Added to PDF from InDesign Export

    macguy5

      I am trying to export and InDesign document for the purpose of creating an interactive PDF.

       

      Here are the steps I am taking:

       

      1.     create indesign cs6 file;

      2.     export it as a swf file;

      3.     import swf file in new indesign cs6 document;

      4.     export the imported swf file as an interactive pdf file;

      5.     animations etc . . . all work great in pdf...BUT

      6.     no audio and i can't even add it in adobe acrobat pro x. (yes, i added file to resources tab in acrobat).

       

      thanks all.

       

      stephen

        • 1. Re: Cannot Get Sound Added to PDF from InDesign Export
          Steve Werner ACP/MVPs

          This is an incredibly bad workflow. I'm not surprised that it does not work. Placing SWF files into InDesign can work for single small graphics, but is not intended to work the way you're doing it.

          • 2. Re: Cannot Get Sound Added to PDF from InDesign Export
            Phillip M Jones Community Member

            Instead of Critiquing only why not suggest a method to do what he wants or suggest to him why it won't or can't happen.

            • 3. Re: Cannot Get Sound Added to PDF from InDesign Export
              Dave Merchant ACP/MVPs

              Without knowing what type of content is involved it's not possible to make any detailed suggestions. Some things you can place InDesign (such as an embedded video) will export to native PDF annotations just fine, but a lot of the 'interactivity' in a layout in CS6 is designed with Web and SWF output in mind, and doesn't have an equivalent in the world of PDF (added to that, InDesign cannot embed the JavaScript code that's often essential to make a PDF file react to the user's input).

               

              By far the most sensible workflow is to create the basic document in InDesign, export to Interactive PDF, then finish the job in Acrobat - but if what you're trying to achieve simply isn't possible in a PDF file, there's no point in trying.

              • 4. Re: Cannot Get Sound Added to PDF from InDesign Export
                Steve Werner ACP/MVPs

                Phillip,

                 

                As Dave says, without knowing exactly what the poster wants, it's impossible to make recommendations.

                 

                I'm probably a little flippant only because I see a lot of these postings on the InDesign forum. What people want are the "cool" animations found in SWF but they want them in a PDF file. It's usually impossible, or it looks very crude because PDF really doesn't handle embedded SWF files very well. Then there's the issue that SWF files won't actually play on many systems, and won't play on mobile.

                 

                If the poster is aiming for tablet distribution, then they should consider the Adobe Digital Publishing Suite, or another third-party solution for creating tablet apps. Those apps can very successfully create animation but there is a bit of a learning curve learning how to do it. It requires getting as a minimum a Creative Cloud membership so you create and publish the apps through Adobe on an iPad, and a $100 per year Apple developer license.

                • 5. Re: Cannot Get Sound Added to PDF from InDesign Export
                  Phillip M Jones Community Member

                  Now that sounds like much better answer.  You explained why it don't work. I'm not trying to dis you or anything. I know everyone jaded because they keep seeing repeats. But we have to remember WE are here to answer questions "if we can" even if they have been asked over and over. Remember, 20  years ago you were probably at the same level the OP was.

                  • 6. Re: Cannot Get Sound Added to PDF from InDesign Export
                    Steve Werner ACP/MVPs

                    I appreciate the criticism! Sometimes, I'm sitting down with my coffee when I wake up and going through the forums I regularly cover, and I don't properly think out a proper answer. I need to be reminded of that. Thanks again, Phillip.

                    • 7. Re: Cannot Get Sound Added to PDF from InDesign Export
                      Phillip M Jones Community Member

                      I've given Steve an answer and kodo's for explaining. Yours now is a Good answer. You don't necessarily have to give a detailed answer. Just an explaination of why the method (work Flow) doesn't  work.

                      • 8. Re: Cannot Get Sound Added to PDF from InDesign Export
                        macguy5 Community Member

                        i am attempting to make a document - pdf at this point - that will be interactive, interactive meaning the following:

                         

                        1.  animated buttons (animated effects as those found in indesign cs6) that when clicked or given a command will go to a different page;

                        2.  animated buttons (animated effects as those found in indesign cs6) that when properly stacked, will start then stop a music clip; and,

                        3.  animated buttons (animated effects as those found in indesign cs6) that will link to an external webpage.

                         

                        really that's it.

                         

                        i chose the pdf format because of it's widespread acceptance and use.

                         

                        i understand the criticism about the incredibly bad workflow.  i have researched most of the day in an attempt to understand why it's a bad workflow and haven't come to any conclusions as to why.  adobe espouses that workflow as the proper workflow.  see:  http://tv.adobe.com/watch/csinsider-design/indesign-creating-interactive-pdfs-with-page-tu rn-and-flash-animations/

                         

                        i am open to more criticisms/suggestions that may propel me in the correct direction in terms of workflow or completely re-thinking how i may accomplish my goal.

                        • 9. Re: Cannot Get Sound Added to PDF from InDesign Export
                          Steve Werner ACP/MVPs

                          If I had any way to do it, I would have that Adobe TV clip taken off. It gives people unrealistic expectations. Yes, it is possible to include a SWF file in a PDF, but as I outlined above, it doesn't really work well except for an occasional, isolated effect. And it won't look very professional because the display can be very ragged.

                           

                          If you want to click a button and have it take you to another page; if you want to play a sound clip; and if you want a button to take you to a URL; and if your final out put is a PDF, there is no reason to use SWF at all.

                           

                          And you can create the great majority of it in InDesign CS6. Here are the choices of actions for a button you can designate in InDesign. The ones at the top of the list apply to both PDF and SWF; the ones at the bottom are PDF only. It's the ones in the middle you want to avoid because they are not supported in PDF:

                           

                          ID_Button.jpg

                          Be careful using the words "animated effects". If you mean an animation found on InDesign's Animation panel, you can't do that in PDF (except with the SWF workaround).

                          • 10. Re: Cannot Get Sound Added to PDF from InDesign Export
                            Steve Werner ACP/MVPs

                            Now back to your original question: What audio format did you place in InDesign? Did you try to preview it in the SWF Preview panel (Window > Interactive > SWF Preview).

                             

                            BTW, the SWF Preview panel only shows the effects which only work in SWF. It doesn't show PDF only features (like forms). And while it previews animations from the Animations panel, they won't work in PDF, as I said above.

                            • 11. Re: Cannot Get Sound Added to PDF from InDesign Export
                              macguy5 Community Member

                              Everything works perfectly in the swf file I create in indesign cs6 includiing audio. Then, through my workflow, the PDF I create works beautifully with all animations from cs6 except audio.  The PDF (without audio) looks very professional by the way. 

                               

                              So, for me, if I could get the audio added to the animated PDF that'd be great and that is my current hang up.

                              • 12. Re: Cannot Get Sound Added to PDF from InDesign Export
                                Steve Werner ACP/MVPs

                                Does the sound play if you don't include it in the SWF but place it directly in InDesign and export to PDF?

                                • 13. Re: Cannot Get Sound Added to PDF from InDesign Export
                                  macguy5 Community Member

                                  The only way I can get audio to play is a direct export from indesign cs6 as an Interactive PDF. however, the only audio that will play is the audio I have told to play on page load. None of buttons I used to trigger audio work nor do the buttons I animated in indesign cs6 show their animations.

                                   

                                  Essentially, between the two methods, I have to choose between animated buttons with no sound or no animated buttons with limited audio.  Not appealing either way.

                                   

                                  I also just tried to add audio in acrobat x after export of swf file into PDF process. Acrobat x on't even allow me to add audio after swf turned into PDF.

                                  • 14. Re: Cannot Get Sound Added to PDF from InDesign Export
                                    Dave Merchant ACP/MVPs

                                    That will never work, as in your INDD > SWF > PDF workflow there really isn't a PDF version of your document at all. It's a one-page blank document with a massive Flash animation playing on it. There is no page content for Acrobat to attach anything to, which is why the page numbers in your Acrobat toolbar will say "1 of 1".

                                     

                                    macguy5 wrote:

                                     

                                    I also just tried to add audio in acrobat x after export of swf file into PDF process. Acrobat x on't even allow me to add audio after swf turned into PDF.

                                    • 15. Re: Cannot Get Sound Added to PDF from InDesign Export
                                      macguy5 Community Member

                                      Thanks all for your responses.  At this point, I remain in the same position I started in.  Currently, this issue is at Adboe Tier 2 level support.  They stated they would respond to me within 24 - 48 hours.  It has been longer than that time and no answer yet.  I will keep this thread informed as to any news/developments on this issue.

                                      • 16. Re: Cannot Get Sound Added to PDF from InDesign Export
                                        ultramodern

                                        HOW TO EXPORT EMBEDDED AUDIO or VIDEO AS AN INTERACTIVE PDF FILE (USING .SWF - INDESIGN and ACROBAT PRO)

                                        by Darren Mok

                                         

                                        I was teaching an InDesign class today and had the same problem where students could not embed their mp3 audio files into their exported PDF file (animation would work but no audio). I solved it last week for two students but forgotten how I did it - fortunately however, after hours of tinkering I finally found the answer again!

                                         

                                        This is what you have to do:

                                         

                                        1.     create indesign cs6 file; (including audio)

                                        2.     export it as a swf file; (check audio works - it should as swf in Flashplayer or html in browser) note RESOURCES folder containing audio files is also exported

                                        3.     import swf file in new indesign cs6 document;

                                        4.     export the imported swf file as an interactive pdf file; (animation will work but audio/video will NOT WORK!)

                                        5.    open PDF using Acrobat Pro and right-click to set the swf properties

                                        6.    add the exact Resources FOLDER directory that was exported when you exported the .swf (it should contain all the audio .mp3 files) - you cannot just simply add the .mp3s from ANY directory!!

                                         

                                        Edit_SWF.png

                                        7.     walah it should now work! save the .pdf file and you should notice a file size increase

                                        8.     you can actually now delete the folder containing the audio (they are now embedded into the .pdf!) and the .pdf WILL PLAY AUDIO as one file!! WALAH!

                                        9.     repeat process to embed video files as well

                                        10.     your welcome

                                         

                                        *PLEASE NOTE: Checking the Properties/Resources in Acrobat Pro and adding a different audio directory or indivual files will NOT WORK if it isn't the same name as the exported folder when you exported the .SWF - IT MUST BE THE SAME DIRECTORY FOLDER NAME!!

                                         

                                        Let me know how you go and if you found this answer helpful. I agree it's an awkward way of doing it but I guarantee you it works!!

                                         

                                        Do I get an Adobe Tier 2 Level support badge now?

                                         

                                        Cheers.

                                         

                                        Darren Mok

                                        • 17. Re: Cannot Get Sound Added to PDF from InDesign Export
                                          Dave Merchant ACP/MVPs

                                          That's about the most roundabout and over-complex idea I've ever seen.

                                           

                                          There is absolutely NO reason to go near SWF export or to faff about with replacing the RMA's asset library. If you place the media properly in InDesign and export to Interactive PDF with the Forms and Media option set to "Include All" it will work inside your PDFs provided you've not tried to export legacy media formats (e.g. WAV files), and you're opening it in a compatible application. People do this hundreds of times every day.

                                           

                                           

                                          ultramodern wrote:

                                           

                                          I agree it's an awkward way of doing it but I guarantee you it works!!

                                           

                                          • 18. Re: Cannot Get Sound Added to PDF from InDesign Export
                                            ultramodern Community Member

                                            Hi Dave - thanks but this is specifically if you want animation to be included in your .PDF (in which case requires .SWF).

                                             

                                            Exporting audio otherwise is fine and is pretty easy via Indesign and exporting as you mentioned, but when you want to include animation, it's a different story.


                                            My students are making interactive comics so this is particularly useful for it.

                                             

                                             

                                            • 19. Re: Cannot Get Sound Added to PDF from InDesign Export
                                              dtodd77 Community Member

                                              I am trying to create a simple interactive pdf which has buttons that show layers in an image and at the same time play a sound. Then, I have created buttons that turn off the sound and hide the layer.

                                              When I export to interactive pdf, making sure that "Include All" midia is selected, then the interactive pdf literally freaks out. The type is below the buttons, you have to click the buttons twice to get the audio to play and twice for it to stop. The revealing of layers doesn't work, they flicker.

                                              If before I export it, I preview it in the SWF previewer, it works fine. If I export it as .swf, it works fine.

                                              If I place the .swf file (as directed above) and export as interactive pdf and then reload the mp3 files (as listed above) from the exact resource folder that was created when the swf was exported... the reveals work correctly, but no audio. If I check the properties, the resources show embedded audio files, but they do not play.

                                               

                                              I have followed the directions in this forum exactly.... three times. Can't get it to work.

                                               

                                              I would appreciate any help. Thanks.

                                               

                                              [EDIT]

                                              I GOT IT TO WORK!!

                                               

                                              I think I was adding the audio files separately. I actually chose "Create PDF from file", chose the swf file and then clicked on "Advanced settings" and under the Resources, clicked the "Add Directory" button and picked the resource folder and then clicked OK.

                                               

                                              Thanks!