4 Replies Latest reply on Mar 31, 2015 12:10 PM by rob day

    SWF - Indesign - Exe


      Can we publish a SWF file made with InDesign in a .exe? If yes, how?

        • 1. Re: SWF - Indesign - Exe
          Mylenium Most Valuable Participant

          You can try to dump it onto the stage in Flash Pro and export a self-contained runtime player from there. May not work, though.



          • 2. Re: SWF - Indesign - Exe
            seveb Level 1

            I already tried and it does not work. Thanks anyway

            • 3. Re: SWF - Indesign - Exe
              Arpit Kapoor Adobe Employee

              [Moving the discussion to InDesign Forum]

              1 person found this helpful
              • 4. Re: SWF - Indesign - Exe
                rob day Adobe Community Professional & MVP

                You can try to dump it onto the stage in Flash Pro...I already tried and it does not work.


                To get an existing ID swf into a new fla you have to load it via ActionScript—you can't put swfs on the timeline.


                So in FlashPro if you made a new AIR For Desktop project at the same pixel dimensions as your exported ID swf and then put loading AS code on the first frame of the timeline, you could load the ID swf and publish it as an AIR app.


                Here's a typical loader, you would replace "MyInDesignExport.swf" with the relative path to your ID swf, in this case MyInDesignExport.swf would be in the same directory as the new .FLA


                import flash.display.Loader;

                import flash.net.URLRequest;


                var swfloader:Loader=new Loader();

                swfloader.load(new URLRequest("MyInDesignExport.swf"));

                swfloader.contentLoaderInfo.addEventListener(Event.COMPLETE, SWFloaded);


                function SWFloaded(e:Event):void {

                    swfloader.contentLoaderInfo.removeEventListener(Event.COMPLETE, SWFloaded);