8 Replies Latest reply: Mar 12, 2015 7:26 AM by Preran RSS

    "Flash cannot parse this document."

    kawcs5

      Hi,

       

      I am getting the message "Flash cannot parse this document" when I try to open a particular file.  I am hoping that someone has a fix for this error... I just lost 3 days of work if it can't be fixed.

       

      If someone from adobe can look at the file maybe they can tell me what is wrong with it?

       

      Kim

        • 1. Re: "Flash cannot parse this document."
          *Q Community Member

          Hello,

           

          Can you please email your fla to us at <removed by moderator>? Please note that our filter system cannot accept .zip file. If you are to zip your fla, please change the file extension from .zip to .zzz.

           

          Thanks,
          Quynh

          • 2. Re: "Flash cannot parse this document."
            kawcs5 Community Member

            Hi Quynh,

             

            Immediately after I open the file, I get the following:

             

            "An error occurred opening file 'C:\Users\Kimmy.... etc' and then in the

            output window at the bottom it says "Flash cannot parse this

            document."

             

            Thanks

             

            Kim

             

            Date: Tue, 22 Mar 2011 17:51:08 -0600

            From: forums@adobe.com

            To: kawood@my.waketech.edu

            Subject: Re: "Flash cannot parse this document." "Flash cannot parse this document."

             

            Hello,

             

            Can you please email your fla to us at mailto:<removed  by moderator>? Please note that our filter system cannot accept .zip file. If you are to zip your fla, please change the file extension from .zip to .zzz.

             

            Thanks,

            Quynh

            >

            • 3. Re: "Flash cannot parse this document."
              *Q Community Member

              Thanks Kim. Please install the Flash CS5 Updater. I believed we fixed this issue in that release.

               

              Here's how:

              1. Launch Flash.

              2. Go to Help menu > Updates...

              3. Make sure the box for Adobe Flash Pro CS5 is checked in the Adobe Application Manager dialog.

              4. Click Update. You will probably be asked to quit Flash while the Updater is running.

               

              You should be able to open the file without seeing the error.

              • 4. Re: "Flash cannot parse this document."
                Tejodhar Atreya U Community Member

                The most common causes of this error message are

                1. Empty frames in the main timeline and/or library symbols’ timelines.
                2. Invalid characters in TLF textfields.  The new file format handles  most invalid XML characters, but some characters (such as ETX  characters) are not parsed correctly.
                3. The FLA contains corrupt assets.

                 

                 

                Fix empty frames tags in main timeline:

                1. Make a back up of your FLA in another location.
                2. Change the extension of the FLA to .zip so you can unzip the FLA into its folder structure (XFL format).           
                  Note: On a Mac, using the default unzip  utility sometimes only unzips the file into a .cpcg file. To workaround  this, use a utility like StuffitExpander or 7zip on the Mac.
                3. Open DOMDocument.xml and search for an empty <frames/> tag.           
                  a. Replace all occurrences of <frames/> with:           
                  <frames>           
                  <DOMFrame index="0" keyMode="9728">           
                  <elements/>           
                  </DOMFrame>           
                  </frames>           
                  b. Save DOMDocument.xml           
                  c. Open the .xfl file inside the unzipped folder from step 2.           
                  d. If Flash opens the file fine, you are done.  You should verify the  symbols and layers that you replaced the empty <frames/> tags in  still look correct.  You should re-save the file as a new FLA file in a  different location.           

                  Fix empty frames tags in library symbols' timelines:           
                  If there are no empty <frames/> tags in the DOMDocument.xml file  or the .xfl file still doesn't open in Flash, there is likely some  asset(s) causing the problem. You must narrow down the bad asset(s) with  the following steps:
                4. Repeat steps 3 with XML files within the LIBRARY folder.  Use a text  editor or any other tool that allows you to search for strings in  multiple files/directories.  Notepad++ is a free text editor that has  this feature.  Search for <frames/> within the entire folder.  On  Mac, you can also use the ‘grep’ command in a terminal window to find  the files that contain the bad <frames/> tags.           

                  Fix TLF Text:           
                  If there are no empty <frames/> tags in XML file(s) or the .xfl  file still doesn't open in Flash, check if any TLF objects have invalid  characters.
                5. To find all TLF objects in your FLA, search for  “<markup><tlfTextObject” in the DOMDocument.xml file and all  XML files within the LIBRARY folder and sub-folders.
                6. Check if any of these TLF objects have invalid characters like the  ETX character.  Notepad++ will show such characters.  Remove these  characters and check if your file opens.

                 

                Unfortunately, there is no easy way to identify corrupt assets  in a  FLA file.

                • 5. Re: "Flash cannot parse this document."
                  ZoltanHun

                  Hi!

                   

                   

                  I had 2 embed video in my fla. and I didn't open my *.fla next day in CS5.  I was very angry and I tried open original fla (without video). Succeeded,  then a I changed type of videos:

                  "Embedded (synchronized with Timeline) >>> Video (ActionScript Controlled)", Succeeded

                   

                   

                  This was my trouble because my 2 streamvideo symbols not supplied in CS5.

                  • 6. Re: "Flash cannot parse this document."
                    SuhasYogin Adobe Employee

                    Hello,

                     

                    Please read the following blog post for a solution to the Unexpected File Format Error:

                     

                    http://blogs.adobe.com/flashpro/2012/07/24/unexpected-file-format-error-on-opening-flash-f iles-using-flash-cs5-5/

                     

                    Regards,

                    Suhas Yogin

                    • 7. Re: "Flash cannot parse this document."
                      Venom-34

                      I have the exact same problem, who do I contact to sort it out?

                      • 8. Re: "Flash cannot parse this document."
                        Preran Adobe Employee

                        Hi Goku,

                         

                        Can  you post your file to a shared location and share it with us. You can send the link to me through a private message. Click my picture and use the message option.


                        Thanks,

                        Preran