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

Tags: Adobe Animate

Similar Questions

  • 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

  • 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

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

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

  • How to increase the number of files vmware.log?

    Hi all

    Is it possible to increase the number of files for a given VM vmware.log (host Vmware Server 1.0.4: SLES 10)?

    Problem is that one of our virtual machines crashes every now and then and I see that the log of the four files vmware.log, 0.log - vmware, vmware - 1.log and vmware - 2.log each that contains records beginning after the crash when you try to start. I have therefore no information of what happened before the crash.

    Thank you

    Ingo

    try to add this in the vmx file

    log.keepOld = "10".

    or what you think suitable - don't know if it works on VMserver1 but I think so

    ___________________________________

    VMX-settings- Workstation FAQ -[MOA-liveCD | http://sanbarrow.com/moa241.html]- VM-infirmary

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

  • How can I configure Adobe Flash Player as default program to open SWF files?

    Overview of basic

    I have this work very well to my laptop at home, but I need this working for school projects.

    Whenever I want to open a SWF file at home, I just double click it and open it in Adobe Flash Player (Adobe Flash Player 10.0 r22) and I have no problem!

    However, when I'm at school I have to run in Internet Explorer, the file SWF, Adobe Flash Player IS installed, but the SWF files are opened directly, they are opened in Internet Explorer.

    At home

    If I right click on a SWF file at home and select 'Open with', and then "choose default program...". ", Adobe Flash Player is already there under the name" Adobe Flash Player 10.0 r22 ", so I can select the default value. (On my laptop at home)

    At the school

    In school, so go to "Open with", then "choose default program... ", Adobe Flash Player IS NOT there, only Internet Explorer and other programs in the box of other programs. (On my laptop to school)

    Question

    How can I assign Adobe Flash Player as default program to open SWF files (on my laptop to school)? If I select "Browse...". "and go to C:\WINDOWS\System32\Macromed\Flash there is no file with a description of" Adobe Flash Player 10.0 r22 ", is the file for the program located somewhere else, or I'm just not properly looked into the record?

    I really need these files open in Adobe Flash Player directly and not in Internet Explorer (I know that you can set the view to 100% and do it properly sized)

    Thanks to all who help!
    -Charlie! (Yes I know, that I need not write this in a forum)

    The standard Flash Player is a browser add-on and not a standalone player.  So what in fact opens when you open a SWF file at home?  Flash Player projector?

    If so, you must also download in your school, to http://www.adobe.com/support/flashplayer/downloads.html, then make the file association.

  • Open the old SWF files in Flash Pro (was: old files .swf)

    I have a lot of old created .swf files in 2001 that I'd like to update. The version of Flash, I have currently is Creative suite 5 will not be open. What do you recommend?

    Cannot open SWF files in Flash Professional.  To open SWF files, you must use Flash Player runtime.

    Flash Professional can be used to open the .fla and then files when you publish the .fla file, it generates corresponding .swf files that can be played in Flash Player.

    If you work, you can copy paste this work into the document to ActionScript 3.0 created in Flash Professional CC 2014.

    Rgds,

    Mukesh

  • Load the local swf file with flash

    Dear my friends

    I have a big problem with as3. I have two .swf file: Index.swf - 1 and 2 - page1.swf. Index file has a frame with the following measures:

    var loader_mc:Loader = new Loader();

    addChild (loader_mc) ;// add the loader to the display list
    loader_mc. Load ("d:\\page1.swf"));// loads the file

    I have download the Index file in my site and it can't load page1.swf.

    Please help me.

    Best regards

    For that you must have a web server if you are using Windows you can have IIS or you can choose a free like Apache

    You start the Web server and place the swf file in the wwwroot directory, then you will be able to access using

    http:// page1.swf

Maybe you are looking for

  • generate the event user triggers two events structure

    Hello I would like to generate a while a user event that triggers events in two or more loops loop event. I have attached a non-fonctionnel project VI, so easier to show what I would understand. My experience is that user generated event cause that a

  • Wireless printers turns gray again and again.

    I have three Windows 7 computers and two wireless all-in-one (a HP 8500 A909g and an old HP 7400) connected to our network. Unpredictable, one or two printers become gray on one or more computers, forcing me to delete all print jobs, remove the devic

  • Insert a row into the view object based multi object

    HelloI currently have a ViewObject born of the three entity objects. Object as a single entity is updatable in this VO: the one where I want to insert a line.In essence, I created a method in the ApplicationModuleImpl which instantiates a VOImpl of o

  • What table in DbTier is registered partner AppsTier?

    Hi allEBS R12.2.4OEL 6Which table in the data base layer where you can find info on your partner level apps?Thank you very muchJC

  • Media Encoder: not possible to have 100% quality videos?

    I installed the trial version of media encoder. Trying to export a video in ProResHQ, I have seen that video quality is stuck at 90%. Is it because this is the trial version? Or is this the case in the wall in the full version (which would suck a lot