The Useful Thread

Out of context: Reply #290

  • Started
  • Last post
  • 1,678 Responses
  • GeorgesII0

    This trick just saved a project I was working on.
    The FLA got somehow corrupted in flash CS5 and this helped me recuperate everything and find the error in the xml
    .----
    Flash Can Not Parse This fuckn Document
    -
    1 - change the extension of the fla to zip so you can unzip the fla into its folder structure (flv).
    2 - within the LIBRARY folder, there is likely some asset that is causing the problem. you must figure out which one (or more) it is. you can do this by simply removing files from that folder until your file opens successfully (open the flv file in the root).
    3 - once you have the xml files that are causing the problem, you can actually fix them by going in and removing the empty frames. in mine, the part of the xml i removed looked like this:

    [DOMLayer name="Layer 2" color="#9933CC" current="true" isSelected="true"]
    [frames/]
    [/DOMLayer]
    [DOMLayer name="Layer 4" color="#FF4FFF"]
    [frames]
    [DOMFrame index="0" keyMode="9728"]
    [elements/]
    [/DOMFrame]
    [/frames]
    [/DOMLayer]
    [DOMLayer name="Layer 3" color="#FF800A"]
    [frames]
    [DOMFrame index="0" keyMode="9728"]
    [elements/]
    [/DOMFrame]
    [/frames]
    [/DOMLayer]

    Basically look for any [frames] tags that don't have anything in them. These are harmless to remove as they are not adding anything to your file anyway.

    Now you can open the .flv and save it as a .fla again if you wish.

    This seems like a trivial thing for Adobe to be able to fix. If it can't handle empty frames from CS4, then it shouldn't create them in the first place.
    http://www.thomastalkstech.com/b…

    • hah, excellent.kingsteven
    • BTW: I just deleted the corrupted element and replaced it with a new one, worked like a charmGeorgesII

View thread