Captivate corrupts SWFs with Audio?

Here's my challenge. Appreciat any help:
Project has six slides. In each slide, I've imported (as
animation) a SWF that contains about 30 seconds of audio dialogue.
When the project is viewed from a web server (i.e. this
problem does not occur locally), audio from the EVERY slide plays
during the playback of the first slide.
Specifically, it plays about 3 seconds of audio from the
beginning of each slide all 'on top' of each other during the first
slide.
Obviously, this is a problem, but I have been unable to find
a solution anywhere and I have tried a heck of a lot of debugging
tricks.
I can only hope this is a bug. Otherwise, what it means is
that Captivate is incapbale of managing the playback of any
imported SWF that contains audio. I thought it might be some
strange pre-loader issue, but can't figure it out.
Have a deadline Wed that it looks like I might miss if I
can't solve this. Would very much appreciate any feedback or
suggestions from the communitiy.
Thanks in advance!
David

I've got a similar, and perhaps related, problem. I'm simply
trying to import a .swf file into a new Captivate 3 presentation.
The .swf was also created in Captivate 3 (but not by me, so I do
not have the .cp file). The .swf contains audio.
When I "import animation slide" the .swf comes in just fine,
but of course not the skin or player controller. This used to be an
easy solution in Captivate 1.0, since the old skin was pegged right
to the .swf file.
If you watch my new Captivate 3 presentation and don't touch
anything while that imported slide is playing, it's just fine. But
if you click the pause button, it does not pause the animation.
Worse, if you then click Play, the audio re-starts, so now you have
the audio playing over top of itself.
Is there any way to use the Playback bar to control the
animation? I hope so!

Similar Messages

  • Long load time - Publishing Captivate 4 swf with audio to the web

    I created a Captivate 4 project that is 25 slides with narration on each slide.  When I publish this file to swf, it creates the .htm the .swf. and the javascript files.  The audio is making the swf file too big (12mb) to download quickly over the web.  Is there any way that I can externalize the audio or stream the audio in a similar way to an flv?

    Hi there
    When you upload things to test are you certain you are uploading the FLV? I believe Captivate simply calls these as needed and they aren't inside the resulting file.
    On the Aggregator, we need more to go on here. What you posted is a bit like visiting the doctor and just saying you don't feel well. WHERE don't you feel well? What are the symptoms?
    Are there any error messages appearing? What exactly happens on these other machines?
    Cheers... Rick
    Click here for Adobe Authorized Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • Load SWF with audio?

    Hello -- newbie problem/question (you can almost smell the
    newbie-ness)
    I am trying to load a SWF file (local file, in the same
    directory as the FLA file) into a new Flash CS3/AS3 file and, after
    a bit of searching, found information that led me to add the script
    shown below. This script seems to do the trick, in that the swf
    plays in the new file when tested/published. However, the original
    SWF includes audio, and when I publish and test this file, there is
    no audio. Can anyone point me in the right direction to load the
    SWF along with the audio, using ActionScript 3? Thanks!

    Thanks again.
    Well, the FLA file that I am creating as well as the
    resulting SWF file are located in the same directory as the SWF
    that I am loading into my new file (test_swf.swf). As I am just
    testing, this directory is simply on my C drive.
    The question that I cannot answer is how test_swf is calling
    the audio. In a nutshell, someone at my company has a small pile of
    SWFs and wants to make EXEs out of them -- none of the FLAs are
    available, so I know none of the details of these files. I am
    creating new FLA files and loading the SWFs, and then planning to
    write out as EXEs. However, I get no audio.
    Let me ask you this....should there be another step involved
    in getting the audio, or should the audio "normally" play when the
    SWF is loaded?

  • Loading SWF with audio playing in it...

    I was loading a SWF file, and noticed that even if I didn't
    add it to the display via addChild() that I can hear the audio
    playing in it. Why is this? And likewise, when I do addChild(), and
    see the SWF, then later use removeChild(), and no longer see it, I
    can still hear it playing.
    I can sort of understand that even though it's not displayed
    until using addChild() that one would HEAR it, because it is loaded
    - correct? But how would I actually get rid of/delete this when I
    no longer want to see/hear it ?

    Thanks to the both of you! I'd like to see the things you do
    to "close up shop" on the loaded SWF.
    I also found something about getting access to your loaded
    SWF here:
    TextAccessing
    document class of an externally loaded swf with AS3
    That blog describes adding a generic object in the complete
    listener:
    var loaderInfo:LoaderInfo = e.target as LoaderInfo;
    var myLoadedSWF:Object = loaderInfo.content;
    You can then target myLoadedSWF and access your SWF. Seems
    pretty different than AS1 & 2, but I suppose that's how it is
    (unless there are better ways).

  • How to pause stage/swf with audio when a new tab is opened/ out of focus in browser

    I have created a container in Flash Professional CS5 for my project’s CBT.  I’ve been able to script many of the features we require using AS3, but there are a couple of things I’m still trying to work out.
    I would like the swf presently playing in one tab to pause and go silent when another swf is opened in a new tab (the sound is inside this externally loaded swf which is loaded inside a movie clip from buttons nested a movie clip down).  I’ve tried :
    var originalFrameRate:uint = stage.frameRate;
    var standbyFrameRate:uint = 0;
    addEventListener(Event.ACTIVATE, onActivate);
    addEventListener(Event.DEACTIVATE, onDeactivate);
    function onActivate(e:Event):void
           stage.frameRate = originalFrameRate;
           trace("in focus");
    function onDeactivate(e:Event):void
           stage.frameRate = standbyFrameRate;
           SoundMixer.stopAll();
           trace("out of focus");
    And
          I’ve looked into the HTML tag “has Priority”
    and coded buttons to:
    function fl_ClickToGoToWebPage(event:MouseEvent):void
           navigateToURL(new URLRequest("http://www.ansaldo-sts.com/AnsaldoSTS/EN/index.sdo"), "_blank");
           MovieClip(this.stage).stop();
    With variations of:
    MovieClip(this.parent.parent)stop();
    MovieClip(this.parent.parent.parent.parent)stop(); because the button is 3 movie clips deep.
    MovieClip(this.root)stop();      MovieClip(root)stop();MovieClip(this.currentTarget.root)stop();
    Could someone please provide me with the code?
    This function is present when I publish the CBT with Captivate, so obviously there must be code available. You can set the Captivate button to open url in new window and pause movie.
    Is there something I can add to the html file that is similar to the “has Priority” for mobile devices or is there javascript that can be added to the flash itself?

    You would send a command to Flash from JavaScript when window.onblur event occurs.

  • Captivate 4 problems with audio import in powerpoint presentations

    I am trying to import powerpoint presentations made in powerpoint 2003 which contain audio.
    When I import them to captivate 4 I cannot hear the audion on each slide when I hit the play button.
    Also, when I go to "Preview" "Play this slide (F3)" I get no audio.
    If I "Preview" "Presentation" (F4) the audio plays very fast (like the "chipmunks").
    If I "Preview" "From this slide (F8)" I get no sound.
    If I "Preview" "The next 5 slides (F10)" I get no sound.
    If I double click on the audio timeline and select the "audio" tab in the "Slide Properties" box and click the play button or edit the audio it plays normally.
    I need to get this audio done ASAP.  Is there anyone who knows what is going on?
    Thanks for your help.

    Hi Nathan-LMS,
          Can you test your course on SCORM cloud and confirm whether you observe the same behvaior on it? this will help us investigate specific to your LMS.
         1) Bookmark/resume on iPad (iOS 6) : Can you try the same course on SCORM cloud and let us know whether Bookmark/resume working fine or not? We could see this wroking at our end.
         2) Cross-domain AICC communication: Ping me on my mail id, I can provide you complete list of steps to make HTML5 content work in cross domain.
         3) Dual format publishing course plays only in IE9 or chrome 20(or above). Can you try it and let us know?
         4) Cross-platform bookmark/resume should work fine. Can you try the same scenario using SCORM cloud and let us know the behavior.
    Any querries you can send me a mail to [email protected]
    Thanks,
    Sankaram.

  • Can CDHtmlDialog play swf file with audio component?

    Hello, I'm using CDHtmlDialog in our application to play swf that shows user how to do a workflow. It works fine if swf does NOT have audio; if the swf has audio component, then it does not play.
    Can CDHtmlDialog play swf with audio?
    If not, any suggestion on how to implement playing swf file with audio?
    Many thanks in davance.

    Hi PingHu,
    How do you play the swf file in a html. I tried play a swf file with audio in my CDHtmlDialog class. I just use this:
    Html code Play the SWF file.
    <!DOCTYPE html>
    <html>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <body>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="200" height="100">
    <param name="movie" value="filename.swf">
    <param name="wmode" value="transparent">
    <embed src="D:\html directory\swf filename.swf" width="400" height="500" type="application/x-shockwave-flash" />
    </object>
    </body>
    </html>
    Then my sample is able to play a SWF file with audio. Hope this helps some.
    Best regards,
    Shu Hu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can a Flash 6 SWF (AS 1) read variables of a Captivate 4 SWF (AS 2)?

    I have a Captivate 4 CP that I published to Flash Player 9, AS 2.0 SWF ( and Flash Player 7 as well, which didn't help either). I load this SWF in a Flash wrapper SWF (published to Flash Player 6, AS 1.0) which needs to read the rdinfoCurrentFrame and rdinfoFrameCount variables in order to find out if the Captivate movie has completed. The logic works when I test this locally, but not in our test environment, probably because the two (Flash SWF and the Captivate SWF) are in two different directories. My suspicion is that it is due to cross-domain issue which comes into play only with Captivate 4 SWFs, because when I tried replacing the Captivate 4 SWF with a Captivate 2 SWF it worked. I tried displaying the value of rdInfoCurrentFrame in the Flash wrapper using a dynamic text box, and while it shows and updates the value in case of a Captivate 2 SWF, it shows a null value for Captivate 4 SWF. Is this a known issue? I'm playing the content in Flash Player v9.0.45.0.
    Also, can someone here tell me what ActionScript version does Captivate 2 publish the SWFs to?
    Thanks in advance for your help!
    Mohsin

    The crossdomain policy is a result of the Flash player - not Captivate. It was implemented with FP 8.0 so if you publish to that then you will have the restrictions. However, the crossdomain policy only applies to different domains - not different directories.
    Captivate 4 publishes to AS2 per default.
    The problem you have is due to the fundamental changes between CP2 and CP4. While your paths for the variables might work for CP2 they have changed for CP4.
    I can't remember exactly what they are right now and I dont have access to my files but try these paths
    movie.rdInfoCurrentFrame
    mainmov.rdInfoCurrentFrame
    /Michael
    Visit my Captivate blog with tips & tricks, tutorials and Widgets.

  • Captivate 1.0 - can't publish with audio on Vista

    I imported several audio files in my Captivate 1.0 movies
    running on Windows Vista. The problem is that there is no sound
    after the movie is published to SWF. I can hear audio in editing
    mode, when I press space to play the current slide (red playhad
    moves). BTW, only WAV (PCM) can be imported, not mp3.
    Any ideas how to get audio exported to swf with the rest of
    the movie?

    quote:
    Originally posted by:
    jojolina
    Hi there Zozo77
    As far as I can recall, the audio gets exported at the same
    time as the rest of the project and you end up with 2 files (html
    and swf). If you are using the html file to launch your outputs and
    not getting any sound, then I can only assume that it is because of
    Vista. Only Captivate 3 is vista compatable and you say you are
    using Captivate 1. Further, Captivate 1 can import mp3 format
    files, select "Audio" from the menu, then "Import".
    I know this does not help you, but maybe someone else has a
    further idea on teh sound problem.
    Cheers
    Anderw
    I know how to import mp3 but it's not working on Vista with
    Captivate 1.0. It works on WinXP though.
    I know I end up with two files: SWF and html. I tried to open
    swf in stand alone flash player. No sound.
    Unfortunately, I'm afraid my team will have to do the
    publishing on WinXP machines. We have enough Captivate 1.0 licences
    but Captivate 3.0 upgrade is very expensive.

  • I have five buttons with audio attached to each button. When I publish in html5 and test the buttons the audio cuts out at random times. Any suggestions. I have the latest version of Adobe Captivate 7

    Can someone please help me with this problem I cannot see how simply attaching audio to a button can be so problematic. I have no idea how to fix this.

    I am using CP8 and have found similar issues. When using the responsive project, my slides with multiple buttons have audio attached via advanced actions that will cut out if a user attempts to click another button before the first has finished playing. When the user listens to the entire audio file attached to the button, there are no issues with audio btw. I have tried attaching it to the button, but it plays when the button appears rather than on success. Furthermore, setting it to play audio on success is a problem because there are multiple actions that must be completed for each button. I have also found that setting audio any other way besides through advanced actions can create an audio overlap of more than one audio file. I haven't been able to find a way to time the advanced action or slide so that the user cannot click through the buttons without hearing all of the audio first.
    Any ideas on how to get around this problem would be fantastic if it doesn't require an entire rewrite. If I wasn't already 86% through the course development, I would use buttons to initiate branching scenarios which would fix a lot of my issues, but don't want to start over at this point.

  • Compressing Movies with Audio?

    Does anyone have any ideas on tools or techniques for
    compressing Captivate files with audio? I'm sure this is a fairly
    simple (and common) issue, probably with a simple (?) solution. But
    there has to be a way to reduce/compress the file size, which
    increases exponentially even when just a bit of voiceover is added
    to a slide.
    I've already broken the movie up into several smaller movies
    and tried tricks like that, but I'm at a real loss. Any suggestions
    would be very welcome! Thanks!

    One option might be to set you audio settings to a lower
    quality within Captivate itself.
    Another option that might work is to convert your .swf to a
    movie format - .wmv, .mpg, .mov. There are several software apps
    out there to do this. During the conversion - you can specifically
    set the audio properties (quality) you want.

  • Can you manually advance a Captivate slide presentation with a remote control and a projector.

    I have published a large volument of PowerPoint presentations with Captivate 5.0 and intend to distribute the presentations to live instructors as a means to control content delivered live by instructors to the students.  The files are aggregrated into groups of lessons and published to PDF with a Table of Contents.
    We need to avoid manually advancing the show from the laptop.
    Having difficulty determining how to use remote control via laptop and projector to advance the next slide or presentation. Can't get it to work. Was able to do so previously with PowerPoint slides converted to PDF shows. Remotes/Laser pointers worked fine. But now that I have processed the shows through Captivate 5.0 can seem to find a remote that will work with the new PDF or SWF with our systems.
    We use a laptop and projection system, so need to be able to advance the show to the next "slide" manually and are trying to figure out how to do it with a remote control.
    Has anyone else experienced this challenge and did you find a solution?.

    Hi Carey,
    if you can apply the letter "A" for "next" to your remote control?
    Then you could add a shortcut to your buttons in the captivate file.
    In deapth:
    Go to a PPT importet slide (using the "click mouse" option to continue".
    Click somewhere in the screen (clickbox_xx will be selected).
    Properties - Action - Shortcut. Click it and press "A".
    Click somewhere on the stage.
    Now when you press your next button on the remote, Captivate will receive an "A" and continue to the next slide.
    Hope this helps
    Best
    TD

  • Pausing swfs and audio in a browser when the tab is out of focus

    I'm trying to code my flash file so that the html will pause all swfs AND audio when the tab is out of foucs.  I found this code on http://frontenddeveloper.net/wiki/index.php?title=JavaScript_and_VBScript_Injection_in_Act ionScript_3 and it works,but not completely. It only pauses the movie clips that are in the Flash file and not any that are exteranlly loaded with audio included.
    How can I adjust it to pause the externally loaded swfs that are loaded to a mc within my main movie clip and the audio OR what should I use in place of this code?  Someone mentioned on a different post that I needed to use a window.onblur funcition, but they didn't give details.
    import flash.display.MovieClip;
    import flash.utils.setTimeout;
    // This is a more "safe than sorry" setting, since multiple domains
    // have entry into my site. Can be removed or hardcoded if you feel
    // secure or insecure, as you see fit.
    flash.system.Security.allowDomain("*");
    // Throw any errors around to make sure somebody actually gets them.
    ExternalInterface.marshallExceptions = true;
    // This is not the most ideal way to toggle animations on and off, but
    // it's thorough, generic, and simple. Iterate all movieclips within
    // clip, shutting them down each in turn. A better, but much more tedious
    // method would be to target specific clips using dotpath notation, telling
    // each in turn to turn off or on depending on what we need.
    // BUT this is just a demo, and what we're really interested in is the
    // event-handling mechanism that actually calls this routine, and not the
    // routine itself.
    function toggleAllClips(doAnim, clip) {
    if ( clip is MovieClip) {
      if (doAnim) {
       clip.play();
      } else {
       clip.stop();
      for (var i = 0; i<clip.numChildren; i++) {
       toggleAllClips(doAnim, clip.getChildAt(i));
    function animOn(e:*=null) {
    toggleAllClips(true, this.mainMC);
    function animOff(e:*=null) {
    toggleAllClips(false, this.mainMC);
    function injectPrep(e:*=null) {
    try {
      ExternalInterface.addCallback("jsanimOn", animOn);
      ExternalInterface.addCallback("jsanimOff", animOff);
    } catch (e) {
      trace(e);
    function injectListeners(e:*=null) {
    try {
      // Object/Embed ID of this movie needs to be inserted into the
      // JavaScript before we actually wrap and send it to the browser:
      var jsfix=js.toString().replace(/xxx/g, ExternalInterface.objectID);
      ExternalInterface.call(jsfix);
    } catch (e) {
      trace(e);
    // Using timeouts ensures the movie is actually done loading before
    // these fire, helping compatibility for a few browser versions.
    setTimeout(injectPrep,0);
    setTimeout(injectListeners,100);
    JAVASCRIPTS
    JavaScript needs to be wrapped in a tag, a cdata, and a closure
    function in order to be wrapped up and sent to the browser.
    Note that an ActionScript function will replace all instances
    of "xxx" with the actual ID used for this SWF.
    We're battling some major bugs and crossbrowser idiosyncrasies
    here:
    1) In Internet Explorer the 'onblur' event is implemented
        incorrectly (as opposed to Firefox/Mozilla browsers). It is
        wrongly fired when focus is switched between HTML elements
        *inside* a window. As a result, we have to use onfocusout
        instead of onblur, and keep track of which element is active.
        If we focusout and the active element is not the previous
        active element, then we haven't actually "blurred" and dont
        want to trigger Flash.
    2) Firefox has problems interpreting both getElementById and
        document["swf"] when dealing with "twicebaked" object/embeds.
        Adobe's method of finding the swf fails to address the fact
        that document["swf"] sometimes returns an array in this
        situation rather than an object ref, and getElementById
        sometimes confuses name and id.
    3) When a window is created in Firefox, it doesn't actually have
        "focus" (event though it appears to) and therefore won't "blur"
        unless you actually click in it first, i.e if you open up a
        window, then immediately send it to the background, it never
        gets the command to halt the flash. So we have to explicitly
        focus the blasted thing to get it to work properly.
    4) Because of irregularities caused by Ajax, the way browsers shut
        down, and other factors, there's a good chance our swf won't
        be there when a blur (or focusout) event occurs. Therefore we
        need an explicit check within the event handler itself.
    5) Finally, we want to wrap everything inside a wrapper-closure
        function, to keep everything safe from being stepped on. Lucky
        us, we have to do this anyways to get everything to fit inside
        a single ExternalInterface.call event.
    var js:XML = <script><![CDATA[
    ( function() {
      var active_element; // tracker for ie fix;
      var bIsMSIE = false;
      // Modified version of Adobe's code resolves a bug in FF:
      function getSWF(movieName) {
        if (navigator.appName.indexOf("Microsoft") != -1) {
          return window[movieName];
        } else {
          // Resolves a bug in FF where an array is sometimes returned instead of a
          // single object when using a nested Object/Embed.
          if(document[movieName].length != undefined){
            return document[movieName][1];
          return document[movieName];
      // Need to check for swf each time we try this because the swf may actually be gone
      // because of ajax or a window closure event. Prevents error dialog from popping up.
      // Future release should check for this condition and then remove the calling event
      // so it doesn't keep triggering.
      function animOff(){
        if (bIsMSIE && (active_element != document.activeElement)) {
          active_element = document.activeElement;
        } else {
          var logoThang = getSWF("xxx");
          if(logoThang){logoThang.jsanimOff();}
      function animOn(){
        if (bIsMSIE && (active_element != document.activeElement)) {
          active_element = document.activeElement;
        } else {
          var logoThang = getSWF("xxx");
          if(logoThang){logoThang.jsanimOn();}
      // Add the listeners. Hear ye, here ye.
      if (typeof window.addEventListener !== "undefined") {
        // Firefox, Mozilla, et al.
        window.addEventListener("blur", animOff, false);
        window.addEventListener("focus", animOn, false);
      } else if (typeof window.attachEvent !== "undefined") {
        // Internet Explorer
        bIsMSIE = true;
        window.attachEvent("onfocus", animOn);
    // Another bug: window.onblur ALWAYS fires in IE, so
    // we have to keep track of what we're clicking using
    // another method:
    active_element = document.activeElement;
    document.attachEvent("onfocusout", animOff);
      // Necessary to trigger toggling in FF if the page hasn't actually been clicked in and the page
      // is sent to the background. Can be commented out if necessary, e.g. if you don't want the page
      // popping to the top or want focus to remain somewhere else like a form field.
      window.focus();
    ]]></script>;

    I added this code and it removes the externally loaded swfs.  I don't want that, I want them to pause and then resume when the tab is back in foucs.  Also, the main code restarts the main movie clip upon refocusing too.
    Added code:
    function toggleAllLoaders(doAnim, loader) {
    if ( loader is Loader) {
      if (doAnim) {
       loader.play();
      } else {
       loader.stop();
      for (var i = 0; i<loader.numChildren; i++) {
       toggleAllLoaders(doAnim, loader.getChildAt(i));
    I added the new function to all of the places that had the "toggleAllClips" function.

  • Safety Templates with audio

    If you need to jumpstart your Safety Training Course
    development visit www.safetypointscontentdepot.com which has 35 ppt
    templates with audio which may be useful.
    Link

    It's IE-only behaviour as a result of changes Microsoft made
    last
    year to their browser, regarding how Active Content (Flash,
    Quicktime etc)
    is handled, after losing a high profile court case.
    http://blog.deconcept.com/2005/12/15/internet-explorer-eolas-changes-and-the-flash-plugin/
    Background:
    http://en.wikipedia.org/wiki/Eolas
    See also
    http://www.adobe.com/devnet/activecontent/
    If you're running Dreamweaver 8.0.2, the fix is already built
    into DW's
    interface.
    If not, try
    http://blog.deconcept.com/swfobject/
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "marialmar" <[email protected]> wrote in
    message
    news:epltgd$qcm$[email protected]..
    > Hello,
    >
    > I have several pages with templates, but with the new
    Flash player, the
    > swf that are included in the templates don't work, they
    do'nt appear in
    > the webpage.
    > Any help please!!

  • Movie Clips Actions Get Out Of Synch With Audio

    My movie is five about minutes long with audio and an offscreen timeline move clip containing action script to control other movie clips or play the root directory.   After about a minute or so, movie clips get out-of-synch with the audio, apparently its getting bogged down.
    My swf file doesn't seem that big, about 2.2MB and my move clips aren't that complex, although up to three levels deep.
    My version is Flash 8 Professional and my laptop was on the high end about 18 months ago.
    Am I missing something or expecting too much from Flash?
    Thanks,
    Mike (who seems to know enough to be dangerous)

     

Maybe you are looking for