sound starts on preloaded Captivate swf files

I created a custom - swf player preloads a series of external swf "slides" in a single holder clip, stores clips loaded into a table and starts playing the first. The problem is that the audio of some files created by Captivate swf begins to play once the slides are preloaded, and the audio continues throughout the main sequence. stopAllSounds() is called when navigating between the loaded clips - this seems to be the only thing that works to stop the sounds, but they will start again once I start to play the other clips.

It has been very difficult to isolate and resolve - can anyone help?

Resolved - I need to loop through all the external clips after they are charged and call rdcmndRewindAndStop = 1 on them (this affects only captive, of course).

The alternative, generally recommended on these forums, I see, is to place a stop on image 1 of any swf you load; However, they Captivate generated, then an alternative solution was necessary.

Thank you!

Tags: Adobe Animate

Similar Questions

  • How to preload external swf file in my main timeline?

    To try to reduce the size of the file for download time... I have a SWF file that I placed it by using the "UILoader" (not sure if it's the right thing to do)... what I would like to work on is how to make a preloader in my main to this SWF file timeline when it comes...

    I hope that makes sense - I am very new to all this and struggling with terminology, etc.

    I thought that Actionscript would be right now what I need - but not a clue...

    I conclude this thread for people who seek a way preload external SWF files. However, please note that I started a new thread to unload the file again on a mouse event... so even if it's not completely final it will start the process of an external SWF preloading... Hope this helps someone.

  • Flash increases the size of the Captivate SWF file

    I have a Captivate project that I export to Flash. Flash increases the final size of the SWF file with no items or perform any other edition. For example, the Captivate published SWF is 617KO and the Flash SWF published 1 599 Ko without adding anything. In addition, the JPG settings are of the same quality in both programs.

    I have to make some changes to the code AS that is beyond the capabilities of advanced Actions of Captivate.

    Any ideas that I could do to stop the inflation of file size?

    Thanks in advance for any help.

    Tom

    Having Flash generates a report of size when you publish the swf file so that you might be able to see whence the weight.

    You should post in the forum of Captivate in the case where there are people have similar experiences that can help shed some light on this.

    http://forums.Adobe.com/community/adobe_captivate/adobe_captivate_general?view=discussions

  • Combine the Captivate .swf files?

    Anyone know if it is possible to combine the main data *.swf file with the file * _skin.swf in a single file? Which would require import of the script file in the mix as well?

    Thank you

    Jason

    Hi Jason

    Your question would be considered to be one of the more frequently asked questions since version 2 began shipping to the France.

    Caline Captivate to produce one. SWF is pretty painless. Click project > skin... > borders tab. Unselect the checkbox "Show borders". Dismiss the dialog boxes and publish again. Pouf! Unique. Output SWF.

    Note that your playback controls (if you use them) will now occupy part of the space for the movie and sit on top of your movie. If you don't like this behavior, you could resize the movie to make room for them. In addition, this does nothing to avoid you having to also include the moviename. HTM files and standard.js which are also usually required.

    See you soon... Rick

  • Call a captivate swf file

    I have a project that has several chapters. In these chapters, there are several sections. Some items are used in other projects. So for version control, I would like to create a captivate project that detects these sections that are outside the project. In other words, I could do a project on fruit and other food. Both have a chapter on the apples. If I change apples, I would it affect the fruit and food (I hope this makes sense of the man).

    Is anyway to do this? So far have said "copy / paste the slides", but I literally use sections to 10 different projects. Have the ability to update a master file "apples" and updated it in all 10 projects, that's what I'm looking for.

    Thank you

    Van

    Garland is done by setting the action on the end of a project to open a URL and then specifying a relative link to the file HTM of the next film you want to load.  While each project is completed, it will charge the following automatically.  Depending on what size the next project is that there may be a pause while the preloader will appear.

  • How to prevent the sounds of the timeline in external swf files to play during the loading?

    I'm having a problem with the sounds of the external timeline in the swf files play while charging in a main swf file. Can someone help me?

    Here is a part of the main code of the swf. I hope I got enough.

    Thank you.

    import flash.events.MouseEvent;

    import flash.display.MovieClip;

    import flash.display.Loader;

    to import flash.events.ProgressEvent;

    import flash.events.Event;

    import flash.net.URLRequest;

    Import fl.events.SliderEvent;

    import flash.media.SoundTransform;

    preloader_mc.fill_mc. ScaleX = 0;

    var swfA:Array = ["part1.swf", "part2.swf"];

    var frameA:Array = [];

    var currentLoader:Loader;

    var swfTotalFrames:int;

    var tl:MovieClip =;

    var st:SoundTransform = new SoundTransform()

    var int index = 0;

    loadNextF();

    play_slider. Enabled = false;

    function loadNextF (): void {}

    TL ["loader_" + index] = new Loader();

    TL ["loader_" + index] .name = index.toString ();

    TL ["loader_" + index].contentLoaderInfo.addEventListener (ProgressEvent.Progress, progressF);

    TL ["loader_" + index].contentLoaderInfo.addEventListener (Event.Complete, completeF);

    TL ["loader_" + index] .load (new URLRequest (swfA [index]));

    }

    function progressF(e:ProgressEvent):void {}

    var fractionLoaded:Number = index/swfA.length+e.bytesLoaded/(e.bytesTotal*swfA.length);

    preloader_mc.fill_mc. ScaleX = fractionLoaded;

    preloader_mc. TF. Text = (100 * fractionLoaded) + "% Loaded";

    }

    function completeF(e:Event):void {}

    TL ["loader_" + index].contentLoaderInfo.removeEventListener (ProgressEvent.PROGRESS, progress F);

    TL ["loader_" + index].contentLoaderInfo.RemoveEventListener (Event.Complete, completeF);

    SoundMixer.stopAll ();

    var mc:MovieClip = MovieClip (tl ["loader_" + index] content);

    mc.gotoAndStop (1);

    frameA.push (mc.totalFrames);

    index ++;

    if(index<swfA.Length) {}

    loadNextF();

    } else {}

    / / full of all charges.  start playing.

    restart_mc.buttonMode = true;

    restart_mc.Alpha = 1;

    tl.addEventListener (Event.ENTER_FRAME, playUpdateF);

    tl.removeChild (preloader_mc);

    preloader_mc = null;

    play_slider.enabled = true;

    playpause_mc.Alpha = 1;

    currentLoader = tl ["loader_0"];

    tl.addChild (currentLoader);

    MovieClip (currentLoader.content) .play ();

    sliderParamsF();

    }

    }

    I have about 70 sounds in my two external SWF. What I need to stop all of them?

    //---

    more than likely, Yes. I guess it depends on how you have 70 put sounds up in your external swf file... I mean:

    you have 70 movieclips appointed on the external swf stage with a distinct sound in each of them? and each have a stop() action in the first picture?

    or

    you say your external swf to go to a certain image tag that plays a sound on the timeline to this label?

    or

    are your 70 sounds created dynamically with code and told. start()?

    //---

    Keep in mind, a swf loading will start to play even before it is fully charged. So instead of when it is fully charged, try stop the loaded swf with a listener for 'init', i.e. when the swf file loaded passes its first image:

    function loadNextF (): void {}

    TL ["loader_" + index] = new Loader();

    TL ["loader_" + index] .name = index.toString ();

    . contentLoaderInfo.addEventListener TL ["loader_" + index] (ProgressEvent. COURSES, progressF);

    TL ["loader_" + index].contentLoaderInfo.addEventListener (Event.COMPLETE, completeF);

    TL ["loader_" + index].contentLoaderInfo.addEventListener (Event.INIT, initF);

    TL ["loader_" + index] .load (new URLRequest (swfA [index]));

    }

    function initF(e:Event):void {}

    SoundMixer.stopAll ();

    var mc:MovieClip = MovieClip (tl ["loader_" + index] content);

    mc.gotoAndStop (1);

    }

  • Inserted Captivate SWF w / Jump to Next Slide in Captivate Project hand - button

    I inserted a Captivate SWF file on a slide, and I want a button in one inserted SWF to move to the next slide in the main project of Captavate.

    I was wondering if I have to use shares advanced on this inserted Captivate SWF or javascript on this button to move the main Captivate project to the next slide?

    I'm with Lilybiri on this one.  With all of the slides in the same project is the best way to go.

    When you start a new training project, the height and the width of the stage of project file is one of the main decisions you need to get right.  Then when you capture any simulation content, you must make sure to match the size of the screen exactly so adding slides to capture is just an exercise in copy/paste.

    Captivate SWF inside other Captivate SWF of nesting is a highly questionable practice that Captivate was never designed to support.  It MAY work sometimes, but it can also cause all sorts of issues as well.

  • Captivate SWF (from FM) times in IE, not in Firefox

    Hi all, I use TCS2 on Windows XP.


    I am a FM docs link - and I have a Captivate SWF file in my doc FM. When I generated the Captivate swf, I ticked the box "Enable HTML". Fine video games in the doc of FM and in the PDF file that ensued.

    In Robohelp, I made import > > my SWF and HTML file any HTML/XML file.  I can see the video in the project files - I can see the first slide (like static on the page image) and then, when you double-click it it starts to play. When I saw this particular subject, it also works. I see the SWF file in files listed with all the screenshots (also in HR) under the project files folder.

    When the generated webhelp is being run/preview in IE, the video works fine. You can see the image that is used to its placeholder where it is supposed to be; When clicked, it plays and all is well. However, in Firefox and Chrome = another story. You can see the text "to see the video, double click on the image below" - but no image. Double click nothing. Therefore, no video.


    Any help is greatly appreciated!


    Thank you

    Adriana

    I posted a solution to the question on the http://forums.adobe.com/message/2579600#2579600thread.

    Please follow the thread to find the solution.

    Mayank Agrawal

    RoboHelp team

  • Playback control bar disappears after the slide with Captivate SWF inserted on slides

    I inserted a Captivate SWF file on a blade, and after that drag the playback control bar disappers into the module.

    The Captivate SWF inserted is not the playback control bar.

    Captivate 5.5.

    Insertion of products Captivate SWF in another Captivate file could cause a lot of problems, you will find several threads in this forum.

    Is it really not possible to insert slides in the main file, instead of inserting the SWF file? Or by calling the small project of the main file?

    Lilybiri

  • Google sites - host captivate swf possible?

    Hello

    is it possible to have captivate swf files on Google Sites?

    Renovator rgds

    Yes! I did a Google search to integrate flash files into Google sites and came with instructions to How to embed the Flash SWF file to Google Sites?. Google has changed a bit since this was written, but fundamentally it is still standing. Download your SWF file in the binder of your Google site and right click on the 'view' option to get the URL. Put this URL in the tags as shown in the linked page.

    In the case of the link breaks the tag looks like this:

    "http://sites.google.com//.swf" width = "XXX" height = "YYY" >

    Change your page, and then select the edit HTML option to insert it.

    Hope this helps,

    Greig

  • Preload a SWF with sounds of the event.

    I have a SWF that uses sounds for speech that is active at the export for ActionScript lnkage on. My film but preloaded the preloader movie does not appear until the loading sounds. When it loads the swf file, I get a color background for about 10 seconds, and then my preloader movie appears and plays during which left and ends well. I know that it is the cause of sound when I remove the sound, he plays well. I need the sounds event cause I try to synchronize with a demo on a calendar. He also works as a charm if I put the sound on a keyframe in the script of the film and do not use export for ActionScript linkage. How can I get my preloader to start movieclip to play immediately and to report all assets loading? Someone at - he heard of that happening? I will attach the preloader code.

    The sound event is not called until a built-in movie clip runs. This clip went to the first image. And the preloader calls to a depth of 100 film.
    I feel this shift whenever I have a noise in the library that has the appeal of "export for actionscript". Even when I do not use the sound at all. This does not happen when I export call on images or other clips in the library.
    I don't know I need of more training. I have a complicated movie, and I've never had to run a preloader for good or components. Thank you for your efforts, but this is going to work without more training, I can tell. I better find someone in town to discuss the issue. We will consider this closed. I appreciate your help. :)

  • Starts all the swf files before?

    How can I add a script that loads my .swf file all prior to start. First of all, I'll see a loader that will load a file and then lag my file will be implemented. Thanks for the reply.

    If you use Google you should find a lot of help on how to code a preloader...

    https://www.Google.com/search?q=AS3+preloader

  • How can we change the green 'Adobe Captivate"loading animation in a SWF file?

    Hello!

    I would like to replace the loading image that I inserted (below) to something else.

    It is the loading image that appears when the SWF file loads in a browser.

    Does anyone know how to do this?

    Thank you

    Loading.PNG

    Go to edit, preferences, project, start and end and the icon of the browser to the right of the Preloader to choose another preloader.

    Lilybiri

  • Preloader which modifies the external SWF files every 5 seconds

    Hello

    I made a web banner in flash that loads an external swf and another external swf changes after 5 seconds. The banner have a preloader, but the problem becomes when you load the first time. As sovereign wealth funds are not cached in the cache of the browser and yet, time 5 seconds start counting from the preloader, and when the external swf file, shows only 1 second rest and it is replaced by another. There is a way to 'freeze' the time for each external swf until it loads completely?

    The code that loads SWFs every 5 seconds (this code is placed in a layer of action):

    start of the code:

    var intervalId: number;
    var: number = 0;
    var maxCount:Number = 23;
    var duration: number = 0;
    var banners: Array = new Array)
    "abatrade.swf,"
    "bancobrasil.swf,"
    "caparao.swf,"
    "cedro.swf,"
    "cesama.swf,"
    "copasa.swf,"
    "damatta.swf,"
    "emtel.swf,"
    "engedrain.swf,"
    "extel.swf,"
    "feedback.swf,"
    "iti.swf,"
    "intermedium.swf,"
    "magnesita.swf,"
    "maquenge.swf,"
    "maxxdata.swf,"
    "orteng.swf,"
    "paiva.swf,"
    "paraibuna.swf,"
    "paraopeba.swf,"
    "sabesp.swf,"
    "serpro.swf,"
    "soll.swf,"
    'thawte.swf '.
    );

    function executeCallback(param:String) {}
    var duration: number = 5000;
    loadMovie (banners [count], loadmovie_mc);
    loadmovie_mc._x = 0;
    loadmovie_mc._y = 0;

    clearInterval (intervalId);
    if(Count < maxCount) {}
    Count ++;
    intervalId = setInterval (Thi, "executeCallback", duration, banners [count]);
    }
    else {}
    Count = 0;
    intervalId = setInterval (Thi, "executeCallback", duration, banners [count]);
    }
    }

    If (intervalId! = null) {}
    clearInterval (intervalId);
    }

    intervalId = setInterval (Thi, "executeCallback", duration, banners [count]);

    end of the code
    ----------------------------------------

    And the code to the preloader (this code I place in the movieclip that loads external SWF files):

    start of the code:

    {onClipEvent (enterFrame)}
    var gtT:Number = this.getBytesTotal ();
    var gtL:Number = this.getBytesLoaded ();
    var gtP:Number = int ((gtL/gtT) * 100);
    If (TWG > gtL) {}
    This ._alpha = 0;
    _root. Loader._alpha = 100;
    _root. Loader.bar._width = gtP;
    clearInterval (intervalId);
    } else {}
    This ._alpha = 100;
    _root. Loader._alpha = 0;
    intervalId = setInterval (Thi, "executeCallback", duration, banners [count]);
    delete onEnterFrame;
    }
    }

    end of the code

    Note that I tried to freeze the time using a clearInterval does in the second code, but he simply doesn't work...

    Any ideas? Thank you

    Edson

    Here's the correct code kglad send me. Thank you very much!

  • Why can't I insert swf files in captivate 9

    Hi guys

    Appreciate any help - can someone give me

    All the advice says that everything I do to insert swf animations is to go to insert - animation and then I can add swf files, but the only option I gave is GIF files.  This changed in captivate 9 or I do something wrong?

    Reactive projects may be published only in HTML format. No mobile device not playing Flash, which is also valid for the inserted sovereign funds.

Maybe you are looking for

  • I tried to send an email with attachment and keep trying now and ends not to try the loop a little...

    I tried to send a mail, but something happens and I can't stop the action of 'send message '. The problem is my account does not work and he creates something like a loop... try and try, and I cannot use mail...

  • iTunes stopped recognizing my devices on mac

    Hello world.  I want to share with you what finally worked for me. A short history of chess to fix can help: I went to my other computers and they all recognize my devices. So my cables and devices where well! My computer usb key were perfect! (Step

  • HP Pavilion dm4: Runtime Error when using Recovery CDs

    Hello. I had a HARD drive on this laptop failure. I have an SSD to replace with (on my own) and got the recovery DVD from HP. After 3 hours of trying to install the recovery DVD for the SSD only to fail in the last seconds, because he could not write

  • Each program has shunk

    Each program has shunk expands on my 17 "display Desktop. nothing no longer uses the ability of screen size? I tried adjusting the size of resolution and display text - no help.

  • BB10 Beta 2 Docs

    No time limit when the BB10 beta 2 reference updated?  There few again along the side of the menu of things, but the detail information are just empty.