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

Tags: Adobe Captivate

Similar Questions

  • 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

  • Pause the captivate swf while incorporated a swf flash is interacted with

    Hello world.  For reasons too complex to enter, I need to embed a quiz done in Flash, in Captivate.  This, I got, my only problem is that, because the game requires user interaction, I need the film Captivate to stop playing until they got the correct quiz!

    I understand that I can put an area of Captivate click or button on the timeline of Captivate, but which would allow the user to jump in front of the quiz, and as it is e-Learning, which is not an option.

    Is there an actionscript that I can put in the Flash quiz that allows to control the container Captivate movie?

    Thanks in advance!

    Hi Susan,.

    Variables work in CP2 and the NextSlide should certainly work. You use a skin/playback bar in your Captivate project? If so, then the path to the file, Captivate swf receiving instruction is different.

    If you use a skin test to send the Flash command like this: _parent._parent._parent.rdcmndNextSlide = 1;

    CP variables can be used to control the Captivate swf in many ways. You could use a Flash shell as a container for your Captivate swf and then use variables to manage navigation and other aspects. You can also import a Flash file in Captivate and have this file to communicate with the Captivate swf.

    / Michael

    Click here to visit the blog of www.captivate4.com

  • control the loaded swf file

    Hi all

    I am loading a swf into another SWF, I want to controll loaded swf such as play and pause the swf. The loaded swf file is an animation file, all animations are kept in a movieclip, then please tell me how I can control the animation.

    In your first assignment, you tell the animation is present in a movieclip.  If this movieclip is in the loaded swf file you will probably need to target this movieclip to tell him to play rather than the SWF itself, as in...

    currentSWF.movieclipName.play ();

    where movieclipName is replaced with the name of the instance of movieclip in the loaded swf file.

  • How to unload the external .swf file when pass the other section?

    Hello

    The following code provided by Mr. kglad works very well to load an external .swf file on stage. Now, when I click on Contact (button), the file external .swf to disappear completely. How to encode on contact (button) to get by.

    Gallery.addEventListener (MouseEvent.CLICK, GalleryClick);

    function GalleryClick(e:Event):void {}

    If (currentClip! = Gallery_mc) {}

    currentClip.visible = false;

    Gallery_mc. Visible = true;

    currentClip = Gallery_mc ;}

    var loader: Loader = new Loader();

    loader.contentLoaderInfo.addEventListener (Event.COMPLETE, ClipLoaded);

    Loader.Load (new URLRequest ("Gallery.swf"));

    function ClipLoaded(e:Event):void {}

    Gallery_mc. AddChild (Loader);

    Loader.x = 0;

    Loader.y = 120;

    Loader.Width = 1000;

    Loader.Height = 700

    }}

    I tried the following code for Contact_btn unload the Gallery.swf file that launches an error message: 1120: access of undefined property loader.

    Contact.addEventListener (MouseEvent.CLICK, ContactClick);

    function ContactClick(e:Event):void {}

    If (currentClip! = Cotnact_mc) {}

    currentClip.visible = false;

    Cotnact_mc. Visible = true;

    currentClip = Cotnact_mc;

    Gallery_mc.removeChild (loader);}}

    unloadAndStop() is supported by flash player 10 or higher (fp 10 +).

    p.s. Please check the useful/correct, if there is.

  • How the get function is available or not on the loaded swf file

    I have 100 swf file in one of my projects. And there is a common feature in some of the SWFs. All these files are loadded in the file main.swf. Here's my Question, "If have the common function is the swf file that is loaded, int how to trigger this funciton of the main.swf.

    Quite simply,.

                if(movieclip.test){
                    movieclip.test();
                }
    

    ('movieclip' is the loaded SWF file and "test()" is the function)

  • Too late to load the new SWF after unloading the current SWF file

    Hello

    In our application, we use more than 10 sovereign wealth funds. When you cross one SWF to others try to unload currently load SWF and load a new. We were successful to unload the existing SWF, but the problem, takes too long to load SWF again (more than 5 seconds). Please suggest a useful method to overcome this time for best performance.

    get an idea of the following code snippet.

    Thank you


    public void SwitchSWFs (): void

    {

    If (null! = SystemAgent.getInstance () .currentSWFLoader)

    {
    SystemAgent.getInstance ().currentSWFLoader.unload ();
    SystemAgent.getInstance () .currentSWFLoader = null;
    trace ("HomeUI: previous swf unloaded!");
    }
    on the other
    {

    }
    addChild (SystemAgent.getInstance (.swfLoaderSecondSWF));
    SystemAgent.getInstance () .currentSWFLoader = SystemAgent.getInstance () .swfLoaderSecondSWF;

    }


    will call by clicking a button
    public void LoadSecondSWF (): void

    {
    SystemAgent.getInstance (). swfLoaderSecondSWF.load (new URLRequest ("Second.SWF"));
    SwitchSWFs();

    }

    The delay is when you test locally?

    One thing you might try is to load all Chargers present you at the front they are needed so that there is more likely that they are ready to be added to the display list when it is called for.  So instead of having the button trigger loading the SWF, just it call the switchSWFs function.

    Another thing, you could try if you keep it where the Triggers button load the corresponding file to assign an event listener for the charger to detect when it has finished loading and then have this listener event handler function calls the switchSWFs function.  At least this way, the current swf file is not unloaded until a replacement is ready and waiting.

  • Communicate with the embedded SWF files

    So if I have several external swf into one big, how can I communicate with each other?

    More specifically,.

    -the swf principal needs to know when the keys were pressed in a shipped, and he needs to tell you all the other included those on this subject.

    -embedded SWFs must intelligently resize and shuffle around each other, while keeping their origins coordinated in the upper corner.

    How can I go about it?

    As long as you mean by "shipped" you load swf files in you main file dynamically, then there is hope for all that you have planned.  If you mean that import you into the library by embedded and plant them in the chronology of the main file, that does not work.

    The other event and the event or Manager is coded in the main SWF.  Are the code loaded SWF to displatch events than the main file of the headphones for.  If simply scream of the loaded swf when they will, not for mutual assistance who hears him... allowing them to compile without dependence on the master file.

    If in the film loaded, which triggers the need to rehabilitate the main file in action would send an event as follows...

    dispatchEvent (new Event ("eventName")); name of the event you want to

    To add the listener in your main swf file, listen for the complete event of load on the Loader.contentLoaderInfo which is used to load the file.  In the complete event handler, add the listener for the event on the loaded swf file.

    function loaderCompleteHandler(e:Event) {}
    MovieClip (e.currentTarget.content) .addEventListener ("eventName", eventHandler);
    }

    function eventHandler(event:Event):void {}
    trace ("load swf triggered event");
    }

  • How to determine the total number of images in the external .swf file loaded

    I have to be able to load both external .swf files and make them play in order. To do this, I need to know the number of images in the first .swf file so I can check _currentframe against _totalframes to determine when he is finished playing so that I can load another.

    Most of the stuff I see indicate that _totalframes on an external .swf can be determined by loading the .swf in a container clip and then check using a listener in the .onLoadInit. Like this:

    ------------------------------------------------------------------------------------------ ----------------------------

    this.createEmptyMovieClip ("tester_mc", 1);
    var mcListener:Object = new Object();

    mcListener.onLoadInit = {function (target_mc:MovieClip)}
    target_mc.onEnterFrame = function() {}
    If (this ._currentframe > = this ._totalframes) {}
    trace ("total frames =" + this ._totalframes);
    delete this.onEnterFrame;
    } else {}
    trace (target_mc._currentframe + "OF" + target_mc._totalframes);
    }
    }
    }

    var test_mc:MovieClipLoader = new MovieClipLoader();
    test_mc. AddListener (mcListener);
    test_mc.loadClip ("Ad_Group.swf", tester_mc);

    ------------------------------------------------------------------------------------------ -------------------------------------

    Unfortunately, this doesn't seem to work. The trace will always return a total number of frames of 1.

    I guess it's because the container clip has only 1 frame, and the external .swf timeline seems to be ignored.

    I would appreciate any ideas on how to raise the total number of frames of an external .swf file or, Alternatively, put it another way when it's done playing. (Not only the loading, but play until the end.)

    TIA,

    C

    I guess it's because the container clip has only 1 frame, and the external .swf timeline seems to be ignored.

    I wouldn't imagine. My guess is that the main scenario for the external swf file has only 1 frame and the rest of the animation is inside a movieclip in this timeline. You publish this swf? Can you open the FLA and check how many images is open on the main timeline?

    The approach that you have mentioned is about what there is. But he knows check a chronology. If there are many nested movieclips, it may be impossible to understand what timeline you really want to be 'THE' full chronology.

    If you have the FLA, you can have the video call function on the _root timeline which tells the main swf that has completed a movieclip or something like that.

    Also, I have in my head somewhere that I recently saw something that someone made similar to this one, but do not remember... If it appears in my head that I will post.

  • 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!

  • Resizing of the imported swf files...

    I have a clip I want to import a swf file, the swf file is larger than area of the clip. I tried to use a resize code for the import of images that I found, but it makes the very small swf. Is there a way to control the size of the imported swf file?

    Maybe something like this should work, based on what you say.

    My code was a bit more complicated because my equivalent of the charger clip changed size and shape sometimes and I had to accommodate that.

    There is also an another gotcha with this... it's easier if the content inside your charger clip has its top left corner at 0,0. Otherwise, you must assign target_mc _x and FLF properties in the onLoadInit region where I mentioned also.

    To help understand the target_mc is just a reference to the element of the view inside "loader" that is passed to the listener, onLoadInit function after that the swf file is loaded.

  • Common interface of JS does not work for me when I check the generated swf file

    Hi all

    Get up to speed on the use of Javascript and 8 Captivate. I work with what adobe own examples discussed here: JS Common interface .

    I downloaded the project, published under the title of HTML5 and SWF and posted on our server.

    HTML 5 version

    Open the swf file

    When you click on the buttons in the HTML5 version, you can see the content of the change of the content area. This does not happen in swf (the XML is a counterpart of the swf file in the same directory)

    Looking at their model of box, I think that maybe they mean that the html page must be involved for the js to work (that is, you need to link to the page instead of the swf file)? Maybe this is already known by everyone else, so forgive me... but can you just use the swf file (in this case, including the XML with it) and do the work of javascript?

    In the end, I really don't need features xml... I'm just trying to play an audio file and give buttons, click on a State visited and in the context, I'm trying to use it, I can only download a swf file, not a html file that displays a flash element. Maybe there is an easier way to do... But I didn't pursue a js route if js will not run in this case.

    Thank you!


    I think that you need a html file to make javascript work.

    You can use advanced actions to display a different button once the original has been clicked.

  • Subtitles not visible in the published swf file

    Hello

    I am to evaluate Captivate 4 and have used the trial version to create demos of software.  I added audio using excellent text to speech and you have checked the "Closed Caption" option when adding my text be read to each slide.

    By right clicking on the audio product, I ticked the option "captioning." "and there is indeed a legend associated with the audio text.

    My problem is that when the project is published in a SWF file, I can't find a way to activate the closed captioning?  I see that some of the demos on the Adobe homepage have a 'CC' button that can be used to enable / disable captions.  My output file has no control... y at - it a switch I need to put somewhere make closed captions visible?

    Hello

    You can go to the menu item project > Skin Editor.

    Open the skin Editor dialog box. Please check the checkbox "closed captioning".

    Now when you preview / publish, you should get a 'Cc' button in the playback bar.

    Kind regards

    Mukul

  • 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!

  • Red screen on the page with the embedded swf file

    My application refused:

    I am testing your app on the BlackBerry Dev Alpha Device (OS version 10.0.9.1675). When I try to open the sub category of your app, it's only showing a red blank screen appears and does not respond.
    

    It works very well in ripple, but I can't get the Simulator working and I don't have an alpha of dev, so I can't test it myself. The subcategory is just a HTML with a built-in .swf file.

    Download the full source code

    Any suggestions?

    Hello

    You have this function in your config.xml file?

Maybe you are looking for

  • Don't download Addblock pleased - says he can't edit a file

    I have Adblock Plus installed, but it stopped working several versions of Firefox (for mac) there. I said modules/extensions Manager version 2.3.2 and it is disabled. When I tried to add the latest version from the page get addons, I firstly a dialog

  • using LVOOP with several instrument drivers

    I created 3 classes SigGen.lvclass, HP8657B.lvclass and HP8648B.lvclass. The second 2 classes inherit from SigGen is simply the address of the instrument and virtual functions. I created a VI that initializes a class according to the configuration in

  • Printer cartridge stuck under the lid

    Does anyone know how to get out the cartridge... Kodak ESP 2150 office says it is blocked and he stuck indoors, nothing is blocking, not Budge

  • Error code: 800070002 (cannot install updates)

    Whenever I try to use windows update, I get the error message 800070002.  I can't proceed further away from it.  Can someone help me?

  • Popup asking me to email Compact

    Using XP SP3 and Windows Live Mail Version 2009 (build 14.0.81170416). I get a popup to OUTLOOK EXPRESS! "To free up disk space, Outlook Express can compact messages. This can take up to a few minutes' OK or cancel the choice. 1. why I get an OE mess