Flash CS5 崩溃损坏的文件。如何将我的 xml 库资源重新放入新的 FLA 中?

发布于 2024-10-07 23:33:51 字数 437 浏览 10 评论 0原文

我开始使用 Flash CS5(顺便说一句,它很糟糕,但这不是我今天的问题)。我花了很多时间处理 .FLA 文件。当我进行保存时,Flash CS5 在保存过程中一度崩溃。 .fla 文件现已损坏。新的 .fla 格式本质上是一个 .zip 文件。因此我能够将文件名更改为 *.zip 并探索其中。 DOMDocument.xml 文件已损坏且已失效。 DOMDocument.xml 是时间线,因此我所有的放置和动画都消失了。但是,我的 LIBRARY 文件夹完好无损,并且包含所有库项目作为 *.xml 文件。

我想知道是否有人知道如何将这些库项目放入另一个 .fla 文件中,这样我就不会丢失所有工作?

我尝试创建一个新的 .fla 文件并将 LIBRARY 文件夹拖到新的 .fla 中,但是当我在 Flash CS5 IDE 中加载新的 .fla 时,我的库项目没有显示。

任何和所有的帮助将不胜感激。

I started using Flash CS5 (and it sucks btw, but that's not my issue today). I spent many hours working on a .FLA file. Saving as I went and at one point Flash CS5 crashed during the save. The .fla file is now corrupt. The new .fla format is essentially a .zip file. So I was able to change the file name to *.zip and explore inside of it. The DOMDocument.xml file is corrupt and dead. The DOMDocument.xml is the timeline so all my placement and animation is gone. However, my LIBRARY folder is in tact and has all of my library items as *.xml files.

I was wondering if anyone know how I can get those library items into another .fla file so I don't lose ALL my work?

I've tried creating a new .fla file and dragging the LIBRARY folder into the new .fla, but my library items don't show up when I load the new .fla in the Flash CS5 IDE.

Any and all help would be greatly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

橙味迷妹 2024-10-14 23:33:51

我通过一系列的破解来恢复我的图书馆物品。步骤如下:

  1. 使用新扩展名 .zip 重命名损坏的 FLA 文件。

  2. 浏览 .ZIP 文件并找到“LIBRARY”文件夹。

  3. 将 XML 文件从 LIBRARY 文件夹复制到驱动器上的其他位置。

  4. 创建一个新的默认 FLA 文件并保存。

  5. 将新 FLA 的文件扩展名更改为 .zip

  6. 浏览新 .zip 文件并找到“LIBRARY”文件夹。它应该是空的。

  7. 将保存的 XML 库项目文件放入 zip 内的新“LIBRARY”文件夹中。

  8. 在 XML 编辑器中打开 DOMDocument.xml 文件(可以使用记事本)。

  9. 添加以下符号节点


    <符号>
    <包含 href="LibraryItemHere.xml" loadImmediate="false"/>

    ...

  10. 确保您想要恢复的每个库项目都有一个包含节点。

  11. 将文件扩展名更改回 *.fla

  12. 使用 Flash IDE 打开该文件,您的库项目将再次可用。

  13. (可选)将“另存为”保存到 Flash CS4 文件中,并从计算机中删除 Flash CS5,直到 Adob​​e 修复问题。

希望这对其他人有帮助。

I was able to work through a series of hacks to recover my library items. Here are the steps:

  1. Rename your corrupt FLA file with a new extension .zip.

  2. Explore the .ZIP file and locate the 'LIBRARY' folder.

  3. Copy the XML files from the LIBRARY folder to another location somewhere on your drive.

  4. Create a new default FLA file and save it.

  5. Change the file extension of your new FLA to .zip

  6. Explore your new .zip file and locate the 'LIBRARY' folder. It should be empty.

  7. Put your saved XML library item files into the new 'LIBRARY' folder inside the zip.

  8. Open the DOMDocument.xml file in an XML editor (Notepad will work).

  9. Add the following symbol node:

    <DOMDOcument ...
    >
    <symbols>
    <Include href="LibraryItemHere.xml" loadImmediate="false"/>
    </symbols>
    ...
    </DOMDocument>

  10. Make sure to have an Include node for each library item you want to recover.

  11. Change the file extension back to a *.fla

  12. Open the file with Flash IDE and your library items are available to you again.

  13. (optional) Do a SAVE AS into a Flash CS4 file and delete Flash CS5 from your computer until Adobe fixes the problem.

Hope this helps someone else.

苏辞 2024-10-14 23:33:51

我遇到了类似的问题。我的 FLA 导致 Flash CS5 在尝试打开文件时崩溃。我将 .fla 更改为 .zip,但我没有使用损坏的源文件的一部分来重建新的源文件,而是简单地剪切了 DOMDocument.xml 的一部分,直到找到问题所在。我不必每次都重新压缩文件,而只是尝试从 .xfl 启动,当文件成功打开时,我知道我已经剪掉了损坏的段。很快,我发现问题出在时间线的某个地方,然后通过排除过程,我找到了问题存在的框架。

最终我确定以下代码行是问题所在:

<DOMRectangleObject objectWidth="6.65" objectHeight="-83209469.35" x="83364290.3" y="83364713.35" lockFlag="true"/>

这是我能找到的唯一可自动关闭的 DOMRectangleObject 标记;所有其他人都有描边和填充信息。当我删除这个节点时,我的文件完全按照预期启动。我把它拉上拉链,它就像新的一样。

I ran into a similar problem. My FLA was causing Flash CS5 to crash when trying to open the file. I changed the .fla to a .zip, but rather than reconstructing a new source file using parts of the corrupted one, I simply cut out parts of the DOMDocument.xml until I found where the problem was. I did not have to re-zip the file back up each time, but simply tried to launch from the .xfl and when the file successfully opened, I knew I had cut out the corrupted segment. Pretty quickly, I found that the problem was somewhere in the timeline and then by process of elimination I found the frame where the problem existed.

Eventually I determined that the following line of code was the problem:

<DOMRectangleObject objectWidth="6.65" objectHeight="-83209469.35" x="83364290.3" y="83364713.35" lockFlag="true"/>

This was the only DOMRectangleObject tag I could find that was self-closing; all others had stroke and fill information. When I deleted this node, my file launched exactly as it should. I zipped it back up and it was good as new.

放赐 2024-10-14 23:33:51

我遇到了类似的问题,fla 文件。我按照说明进行操作,但做了更多的事情:
解压缩文件后,我设法使用空的 DOMDocument.xml 文件重新创建它。
舞台不包括任何框架或层。然后,我重新创建了该文件,并从原始文件中添加了更多内容。我花了一些尝试(每次压缩和重命名)才发现单个框架中的单个文本框导致 fla 文件损坏。
我删除了文本框中显示的一个奇怪的字符,并且一切都工作得非常好。
我认为奇怪的字符是 Shift-Enter 键。

感谢您的提示,您节省了我 5 个小时。

I got similar problem, with the fla file. I followed the instructions, but did some more stuff:
After unzipping the file, I managed to recreate it with an empty DOMDocument.xml file.
The stage did not include any frames or layers. I then, recreated the file adding some more stuff from the original file. It took me some tries (each time zipping and renaming) to figure out that a single text box in a single frame caused the fla file to be corrupted.
I removed a weird character shown in the textbox and all worked surprisingly well.
I think the weird character was a shift-enter key.

Thanks for the tips, you saved me 5 hours.

喜爱皱眉﹌ 2024-10-14 23:33:51

当 FLA 仍然打开时,我的计算机(无辜!)硬重置时发生了这个错误。

我就把这个留在这里...
https://www .designcontest.com/forum/adobe-flash/63637-how-recover-damaging-corrupt-files-adobe-flash.html

"4.选择工具>修复存档。这将确保存档和 FLA已修复。”

纯粹的网络诗……ಥ_ಥ

This error happened to me with an (innocence!) hard-reset of my computer while the FLA was still open.

I'll just leave this here...
https://www.designcontest.com/forum/adobe-flash/63637-how-recover-damaged-corrupt-files-adobe-flash.html

"4.Select Tools>Repair Archive. This will make sure that the archive and FLA is repaired."

Pure, internet poetry... ಥ_ಥ

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文