Fixer la taille d'affichage d'un .swf

Dans un diaporama crée avec Flash et inséré dans Dreamweaver, j'obtiens sans probléme l'affichage full screen en fixant l'un des paramètres du fichier .swf comme suit:
allowFullScreen = true
Comment lors de la lecture du diaporama, au lieu de l'affichage plein écran, puis fixer la taille d'affichage de mes images...
Merci d'avance pour la réponse

Dans un diaporama crée avec Flash et inséré dans Dreamweaver, j'obtiens sans probléme l'affichage full screen en fixant l'un des paramètres du fichier .swf comme suit:
allowFullScreen = true
Comment lors de la lecture du diaporama, au lieu de l'affichage plein écran, puis fixer la taille d'affichage de mes images...
Merci d'avance pour la réponse

Similar Messages

  • Comment peut-on fixer la taille d'un tableau ?

    Je suis à la recherche d'un solution pour donner à un tableau une taille fixe!
    J'ai utilisé le noeud de propriété ->NumRows mais en venant ecrire dans mon tableau je me suis aperçu que le tableau changeait de taille automatiquement ?
    Cordialement

    Bonjour,
    merci pour votre réponse.
    en fait mon problème c'est que je dois acquérir une température pendant X jours sur un graphe en fonction du temps soit de la date mais je n'arrive pas à le faire en continue.
    voici mon programme
    #include <windows.h>
    #include <analysis.h>
    #include <utility.h>
    #include <cvirte.h>       
    #include <userint.h>
    #include "graphe.h"
    #include <NIDAQmx.h>
    #define nbpointtc                10
    #define echelletc                30
    #define offsettc                -50
    #define acquisition_tc            1 
    double tc1[nbpointtc];
    double tc_mean[100];
    int threadFunctionId1 = 0;        
    static int CVICALLBACK ThreadFunction1 (void *functionData);
    static int panelHandle;
    TaskHandle tc1_task;    
    int main (int argc, char *argv[])
        if (InitCVIRTE (0, argv, 0) == 0)
            return -1;    /* out of memory */
        if ((panelHandle = LoadPanel (0, "graphe.uir", PANEL)) < 0)
            return -1;
        //initialisation température
        DAQmxCreateTask("TC1",&tc1_task);
        DAQmxCreateAIVoltageChan (tc1_task, "PXI1Slot5/ai6", "", DAQmx_Val_RSE, 0, 10, DAQmx_Val_Volts, "");
        DisplayPanel (panelHandle);
        RunUserInterface ();
        DiscardPanel (panelHandle);
        return 0;
    int CVICALLBACK START (int panel, int control, int event,
            void *callbackData, int eventData1, int eventData2)
        switch (event)
            case EVENT_COMMIT:
                   //DeleteGraphPlot(panelHandle,PANEL_GRAPHIQUE,-1,VAL_DELAYED_DRAW); 
             CmtScheduleThreadPoolFunction (DEFAULT_THREAD_POOL_HANDLE,
                           ThreadFunction1, NULL,&threadFunctionId1);
          CmtWaitForThreadPoolFunctionCompletion (DEFAULT_THREAD_POOL_HANDLE,
                            threadFunctionId1,OPT_TP_PROCESS_EVENTS_WHILE_WAITING);
          CmtReleaseThreadPoolFunctionID (DEFAULT_THREAD_POOL_HANDLE, threadFunctionId1); 
                break;
        return 0;
    static int CVICALLBACK ThreadFunction1 (void *functionData)
        //Affichage de la température
       int j;
       for ( j=0;j<(10/0.1);j++)
             DAQmxReadAnalogF64 (tc1_task, nbpointtc, 10.0, DAQmx_Val_GroupByChannel, tc1, nbpointtc, NULL, 0);
        Mean (tc1, nbpointtc, &tc_mean[j]);
        tc_mean[j] = tc_mean[j] * echelletc+offsettc;
        SetCtrlAttribute (panelHandle, PANEL_TEMPERATURE, ATTR_CTRL_VAL, tc_mean[j]);
            PlotY(panelHandle,PANEL_GRAPHIQUE,tc_mean,100,VAL_DOUBLE,VAL_THIN_LINE,VAL_SIMPLE_DOT,VAL_DOT,5,VAL_RED);  
         Sleep(100); 
     return 0;
    int CVICALLBACK QUIT (int panel, int control, int event,
            void *callbackData, int eventData1, int eventData2)
        switch (event)
            case EVENT_COMMIT:
            QuitUserInterface(0);
                break;
        return 0;

  • Comment réduire la taille de l'affichage des applications CC?

    J'aimerais profiter des nouvelles fonctionnalités de la suite CC 2014, seul hic, et de taille: l'affichage des panneaux et menus est énorme, l'impression d'avoir un jeu playskool sous les yeux!
    Et en travaillant sur un 17", pas vraiment optimisé...
    Qui saurait faire pour retrouver une taille d'affichage normale (comme sur l'ancienne version, en gros)?

    Je pense que la réponse est ici.

  • Fix graph XY size

    is it possible to fix the graph-XY size even if the data are different

    Excuse moi pour la redaction rapide
    mais voici en plus clairement ce que je souhaite obtenir
    Tout d'abord le graph doit pouvoir gérer de une à 4 courbe et donc de une à 4 échelles le tout en dynamique.
    Le problème est (configuration automatique) :
    - j'ai 4 courbes d'affichées.
    - je passe à l'affichage de 2 courbes.
    jusque la tout va bien
    - Mais lorsque je passe de nouveau à l'affichage de 3 ou 4 courbes, la zone de tracé vient empiéter sur les échelles.
    En résumé je souhaite pouvoir gérer l'apparition des échelles sans que celle-ci ne soient cachées par la zone de tracé pendant l'exécution.
    C'est pour cela que je souhaitais fixer la taille et la position de chaque élément du graph.
    Je joins à ce message une image
    d'éxecution ratée.
    Merci à tous
    Attachments:
    exemple.bmp ‏523 KB

  • Swf compilation Failed.

    How do I get rid of this error!!!! I have read through your discussion thread for hours and see tons of people with this issue. I see no explanation of how to resolve it. What good is this program if I can't use it?
    I have re-installed Captivate, Updated Java and Flash. I tried to even create a new project with only pages created from your templates and no outside info and I still get "Please verify if any of the actionscript is used as user variable name."
    Some one said to remove the JAVA_TOOL_OPTIONS environment variable. I have no idea what that is or where I would remove it from. non of the other suggestions to fix this issue have worked.

    Hi esilver35,
         SWF compilation can come for following reasons:
    1) If you use action script keywords in Captibvate project variables.
    Resolution: Make sure you don't use action script keywords.
    2) If you have invisible characters present in text fields.
    Resolution: Don't Copy/Paste text from some other application to Captivate text fields like Project information etc. Type with key board. Create a blank project and publish, if you still get SWF compilation issue then your 64 bit JVM might be corrupted.
    3) if your installation is 64 bit Captivate, 64 bit JVM might be corrupted.
    Add  Use32BitJVMForPublish = 1  in AdobeCaptivate.ini  file
    Close and Re-launch Captivate.
    Re-publish the project
    Captivate ini file is present at “C:\Program Files\Adobe\Adobe Captivate 6 x64” location
    You can send me a mail at sankaram at adobe dot com if it still doesn't resolve the issue.
    Thanks,
    Sankaram.

  • SWF not updating

    In Flash Builder 4.7 beta 2 Mac version. When I debug a mobile air application a new swf is not created and placed within bin-debug folder. If the swf is deleted in the bin-debug folder then the following error occurs.
    Process terminated without establishing connection to debugger.
    initial content not found
    Launch command details:  "/Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.348297/AIRSDK/bin/adl" -runtime "/Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.348297/AIRSDK/runtimes/air/mac" -profile mobileDevice -screensize 320x460:320x480 -XscreenDPI 163 -XversionPlatform IOS "/Users/me/Documents/Adobe Flash Builder 4.7/BeanMachine/bin-debug/BeanMachine-app.xml" "/Users/me/Documents/Adobe Flash Builder 4.7/BeanMachine/bin-debug"
    Is there a way to fix this so it generates a new swf file? I can no longer use Flash Builder as my code changes are not picked up and packaged into a new swf.

    I'm having this same problem, and it's been driving me crazy for days. The only way I've been able to fix it is to delete the project from Flash Builder, then create a new one.

  • [svn:osmf:] 15121: Fix bug related to validation of plugin versions.

    Revision: 15121
    Revision: 15121
    Author:   [email protected]
    Date:     2010-03-29 17:33:12 -0700 (Mon, 29 Mar 2010)
    Log Message:
    Fix bug related to validation of plugin versions.  The fix is to load a dynamic plugin SWF twice.  The first time it's loaded into a separate ApplicationDomain, so that the class types are not merged (and Version.version will not have identical values for player and plugin).  If the version types are consistent, then the plugin is loaded a second time, this time into the same SecurityDomain (so that class types are merged).  The second load should pull the SWF from the cache, minimizing the overhead.  The downside is that the SWF will be initialized twice.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/SWFLoader.as
        osmf/trunk/framework/OSMF/org/osmf/elements/loaderClasses/LoaderUtils.as
        osmf/trunk/framework/OSMF/org/osmf/media/pluginClasses/DynamicPluginLoader.as
        osmf/trunk/framework/OSMF/org/osmf/media/pluginClasses/PluginLoader.as
        osmf/trunk/framework/OSMFIntegrationTest/org/osmf/media/pluginClasses/TestPluginManagerIn tegration.as
        osmf/trunk/framework/OSMFIntegrationTest/org/osmf/utils/IntegrationTestUtils.as

    Hi sebasvideo, Did you ever find a solution to this? I've been having the same problem for a few months now and it's maddening. Seems to be specific to the GPU like you say above. I noticed it most when using Element 3D. I thought maybe there was some sort of read/write interference as I have 2 SSDs and one HD with assets spread across all of them. But even when I consolidated all of my data to one drive the flickering kept happening. Not sure if it's an After Effects problem specifically... or windows 8.1? Or nVidia? Super frustrating thoguh.

  • Problem putting external (4) .SWF's on homepage CS4

    Hey everybody!
    I've got a question/request concerning my first flash website. www.seniorict.com If you look at my site you will see 4 .swf's loaded in from the sides. This effect is made possible by Jquery script. But because of lack of compatibility with Opera & Internetexplorer. I have to integrate this all in one swf. But I've got not a clue what kind of code I need to make this effect working.
    So to be clear what I want is Containing 4 swf's 25% height & 100% width. The slide in function is something I also would like to have (but maybe that's asking for just to much). If you want to see the code of the actionscript from the swf''s you can check it out at the included zip.
    I am sorry for asking this much but I am getting desperate after several (2 months) attempts
    Thanks in advance for your time!
    Chris

    Hey Ratko
    Firstly open up the new AS3 document and for width set the size of the SFWs you have and for height use the height of the one SWFx4 (i saw they are same height). Then from Components panel use drag and drop 4 loaders and set dimensions of each loader to dimension of the SWF file you want to import in them. And distribute them to cover up the whole space of the document so they will be touching itself in width.
    Thank you very much for your long explanation!! I truly appreciate it! But I stumble directly on (I hope) a small problem. The Swf's I'm using have no fixed stage this made possible with the No_scale . The total code of one of the external swf is this
    import flash.display.StageAlign;
    import flash.display.StageScaleMode;
    import flash.display.GradientType;
    import flash.display.SpreadMethod;
    import flash.display.InterpolationMethod;
    import flash.geom.Matrix;
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.align = StageAlign.TOP_LEFT;
    stage.addEventListener(Event.ADDED, onStageResize);
    stage.addEventListener(Event.RESIZE, onStageResize);
    var backgroundGradient:Sprite = new Sprite();
    addChildAt(backgroundGradient, 0);
    function onStageResize(e:Event):void{
        var colors:Array = [0xFEC401, 0xFF6701];
        var alphas:Array = [1, 1];
        var ratios:Array = [0, 0xFF];
        var matrix:Matrix = new Matrix();
        matrix.createGradientBox(stage.stageWidth, stage.stageHeight, (3 * Math.PI / 2), -600, -150);
        var focalPoint:Number = .1;
        with(backgroundGradient.graphics){
            clear();
            beginGradientFill(GradientType.RADIAL, colors, alphas, ratios, matrix, SpreadMethod.PAD, InterpolationMethod.RGB, focalPoint);
            drawRect(0, 0, stage.stageWidth, stage.stageHeight);
            endFill();
    var request:URLRequest = new URLRequest("opdrachtgeverstest.swf");
    var loader:Loader = new Loader();
    loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loadProgress);
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete);
    function loadProgress(event:ProgressEvent):void {
    var percentLoaded:Number = event.bytesLoaded/event.bytesTotal;
    percentLoaded = Math.round(percentLoaded * 100);
    trace("Loading: "+percentLoaded+"%");
    function loadComplete(event:Event):void {
    loader.load(request);
    addChild(loader);
    You can see that there's no stage fixed so it sizes to the screensize of the browser. Now I don't got a clue how to make sure that the 4 loaders are spread out on the stage of the main.swf by not fixed pixels but on percentages. I've googled for 6 hours without finding a solution to set the sizes of loaders in fixed percentages to the stage . I would like to know how to fix those loaders. To see the .swf in action check this out http://www.seniorict.com/opdrachtgevers.swf .
    Again I truly appreciate your great post and the time you've invested in me. I think after this small issue I finally can achieve the effect that I want thru your great explanation. Hope you can help me with this question!
    Chris

  • Problems in using Flash swf in captivate 5

    Hi,
    I am using captivate 5 and in that for a project I created some flash animation in flash cs4 and using the swf output file in captivate.
    So the problem is this:
    When I publish the project and try playing the project(exe/html output), those flash swf animations are not playing properly or not at all playing.
    There are around 40-50 slides in captivate and around 90% of those files contain flash swf animation. Some of the animations are playing and some are not.
    In flash cs4 the action script version is 3 and also I tried publishing the project in both flash player 9 and 10 but still some animations are not playing. Its random.
    Any fix for that? Its urgent.
    Thanks in advance.

    There's a known issue with the way Captivate 5 loads SWFs.  If the animation is not all on the main timeline level of the SWF, but the animation has been placed inside a symbol, Captivate triggers the animations to play when the SWF is loaded right at the beginning of the movie instead of making them play only on the slide where the SWF should play.  This means that by the time your movie gets to the slide in question, the animation has already finished playing, and it looks to you like it won't play, when in fact it already HAS played.
    This issue only affects SWFs with animation inside symbols, which is unfortunately the way most Flash animation designers are taught to create them.  It can be fixed via some AS3 code inside the SWF, but this is only possible if you have access to the FLA files used to create the SWF, and you know how to use Flash.
    There is more information in this thread: http://forums.adobe.com/message/3551526#3551526

  • Affichage trop petit du logiciel sur ecran en 1920x1080

    Bonjour
    Impossible d'utiliser ce logiciel affichage trop petit sur écran en 1920x1080 sur VAIO VPCCB,  même en réduisant la définition, ce qui est tout de même surprenant avec un logiciel de traitement d'images.
    Merci de m'aider à résoudre ce problème.
    Pierre

    Essayez temporairement changer la taille d'affichage lorsque vous utilisez PSE à l'intérieur du panneau de contrôle.
    e.g.  1600 x 900 ou 1280 x 720
    Revenir à 1920x1080 pour d'autres logicielles.
    Désolé si vous avez déjà essayé.

  • Flash video looks poor quality in swf

    I have a flash video .flv the quality is fine then I embed
    this in a swf file a export it to a movie. When I watch the swf the
    video quality is greatly reduced. I have tried allsorts to fix it.
    Seems to be the swf that causes the problem no matter how good the
    quality of the flv that goes into it the swf reduces the quality.
    The files size of the swf is the same as the flv going into it.
    Please can anyone help

    I have the same problem on my laptop since few months, it's really annoying.
    Did you find a solution after all? Or anyone else has a solution?
    PS: I use a Asus n55sf, with a geforce gt55m.

  • Load .swf help. Loaded clip loses file locations?

    Hi,
    File A is a .swf loader
    File B is the loaded .swf
    File C is the xml file for File B
    I am trying to have file A - load in file B and then have its xml load from C.
    They all sit in the same folder, but it is not working
    I can load file B up and it reads it's xml no problem.
    A loads in B but then B cant find C?!
    If this was AS2, I would just _lockroot on B to solve it.  Any work around for AS3 for this?  Or any tricks I can do to fix this?

    B is a client .swf that I dont have access to, it may be using global varriable or such for its xml load I dont know. (pano.swf)
    A is using simple .swf load code ->
    var req:URLRequest = new URLRequest ("pano.swf");
    var loader:Loader = new Loader();
    loader.load(req);
    addChild(loader);
    (B) pano.swf loads fine into (A) and gives me output saying so, but it cant find its pano.xml file when loaded into A.
    If I open up B as an .swf, it loads C fine.

  • What is the best way to repeatedly load random commercials?

    Hi Everyone,
    Any help with the above question would be useful.  Here's my end goal: I want to display commercials on a screen at my wife's bakery.  The script should load one commercial, play it, then unload it, randomly load another, and so on.
    I am completely new to as3 and have unsuccessfully been following several online tutorials.  My first attempt had code in each commercial file (swf), that randomly called up another commercial, which in turn called up another file, and so on--but this became a memory hog and crashed the program after a few minutes.
    Since then I have created one main swf file that loads an xml file, which holds all the information for the commercials.  However, when the swf commercials are loaded according to the xml file, they don't play properly: when the first commercial finishes playing, the next one is already partially done.  Obviously it started playing earlier.  The swfs should unload and load the next according to a timer, with the length of the timer being different for each swf according to the xml data.  Even with this, the first swf didn't always stop when it should.  My code is getting complicated and the display looks sloppy.
    I think something like this should be a simple way to display media such as these commercials, but I still haven't found a working solution.  Now I'm wondering if I'm even approaching this wisely.
    Would it be better to convert the swf to flv and create an flv player that has 'continuous play' and 'shuffle' features?  Would it be better to convert each swf into movieclips and put them all into one swf?  (I like the manageability of using an external xml file; I will be adding and removing commercials frequently and want to keep this as simple as possible.)
    Please let me know what you think is the wisest approach and refer me to any relevant tutorials.
    Peace,
    Trevor

    Thanks again kglad,
    I followed your advice, but it is still not working properly.  Here's my problem:
    The external swfs continue playing in the background.  Consequently, the event "playcomplete" was dispatched not only at the end of the swf that is being shown, but also at the end of the looping, previously loaded swfs that are not visible; this made the next swf play before the one being shown finished.  That seemed easy enough to fix by adding stop(); to each external swf on the last frame.  I thought everything was fixed -- but those swfs must still be there and are hogging memory before they can be collected for garbage. I've developed a loop that continues to load swfs, taking more and more memory, eventually causing a crash.  So:
    After a swf is loaded, how do I completely remove it to free up memory?  I'll attach the code I'm using, but I've made some adjustments to your previous examples (using a string with a random number instead of an array, using different variable names, etc).  Would I still have this memory problem if I used an array?  I have tried to remove eventListeners, to use weak eventListeners, and to remove the loaded Child as best as I know how, but I need some guidance on memory management before I can use this.
    Peace,
    Trevor
    var swfLoader:Loader = new Loader();
    var klaesiSwfs:XMLList;
    var totalSwfs:Number;
    //var swfArray:Array = ["swfs/movie1.swf", "swfs/movie2.swf", "swfs/movie3.swf", "swfs/movie4.swf", "swfs/movie5.swf"];
    //loads xml//
    var klaesiXmlLoader:URLLoader = new URLLoader ();
    klaesiXmlLoader.load(new URLRequest("xml/swf_depot.xml"));
    klaesiXmlLoader.addEventListener(Event.COMPLETE, processXML, false, 0, true);
    //finds how many swfs are on xml//
    function processXML (e:Event):void{
         var klaesiXml:XML = new XML(e.target.data);
         klaesiSwfs=klaesiXml.ID;
         totalSwfs=klaesiSwfs.length();
         //trace ("Total is " + totalSwfs);
         loadRandomSwf();
         klaesiXmlLoader.removeEventListener(Event.COMPLETE, processXML)
         klaesiXmlLoader = null;
    //loads swfs//
    function loadRandomSwf():void {
         var num:Number = (Math.floor(Math.random() * totalSwfs) + 1);
         var swfName:String = "swfs/movie"+ num +".swf";
         var requestSwf:URLRequest = new URLRequest (swfName);
         swfLoader.load(requestSwf);
         addChild(swfLoader);
         swfLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, playComplete, false, 0, true);
    //listens for the end of each swf//
    function playComplete(e:Event){
         MovieClip(swfLoader.content).addEventListener("playNextCommercial", nextSwf, false, 0, true);
         swfLoader.contentLoaderInfo.removeEventListener(Event.COMPLETE, playComplete)
    //removes old swf, starts new swf//
    function nextSwf(e:Event){
         MovieClip(swfLoader.content).removeEventListener(Event.COMPLETE, nextSwf);
         removeChild(swfLoader);
         loadRandomSwf();

  • How do I crop edges out of Flash movie

    I created a header using flash that involves a piece of
    content hanging off the stage. I thought when you did that, the
    part that is off the stage does not show. However, when published
    to the web, it does show and shifts adjacent content. To see what I
    am talking about, please go to www.dumpthepump.net. Any idea how I
    can fix it?
    www.dumpthepump.net

    If the SWF is inserted into the HTML file properly, you
    should not see the stuff that lies outside the stage, and the
    masking wouldn't really be necessary. So there might have been a
    problem with your HTML code which enabled those outside bits to
    show up.

  • Fonts Mangled In Flash CC

    I just installed Flash CC eager to try out the features and quickly discovered that any fla that I opened that uses Library embedded fonts completely looks mangled, the font is wrong, kerning gets screwed up, text randomly is cut off. Very dissapointing. Is this something that might get fixed soon.

    Here is a quick example:
    SWF exported using CS6:
    http://terminalvelocity.ca/temp/flashCC/a.png
    SWF exported using CC
    http://terminalvelocity.ca/temp/flashCC/b.png
    (this example only really shows a line spacing problem)
    Here is also an example of one of my project FLAs which reveals more issues such as the wrong font variant being used (non bold) and the "height" property of the textfield being wrong which is causing the buttons to misdraw as being too tall (and the input elements being too short)
    CS6:
    http://terminalvelocity.ca/temp/flashCC/c.png
    CC:
    http://terminalvelocity.ca/temp/flashCC/d.png
    You can download my test FLA here:
    http://terminalvelocity.ca/temp/flashCC/test.fla
    The font problems seem prevailent in any FLA I open that uses embedded fonts. I am on a Mac running the latest version of Mountain Lion. I suspect this may be caused by a few default params changing in the TextFormat object perhaps? Though if so I won't be happy if I have to go back through every text field in every FLA in order to use the CC version of Flash.

Maybe you are looking for