Suddenly broken Shape Tweens in Flash / Animate after a crash

Problem

Have you experienced this:
Flash crashes and when you reopen your file some Shape Tweens are completely broken.
Then thinking you have a backup, you open an older version of the same file which was not involved in the crash in any way, but the same tweens appear to be broken there as well.

It can be quite nerve-racking as it usually happens when you least expect and these Shape Tweens are impossible to fix by just adding another Shape Hint. They behave unpredictably; often the shape itself completely disappears in the middle of the tween.

If you open any of these files on a different computer or in a different version of Flash, they are just fine.

It doesn’t happen very often to me, but when it does, it can be extremely frustrating.
After a second crash it may fix itself.
The symptoms clearly suggested a ‘bad cache’ issue.
But where is Flash’s cache? And does it only cache in one place?

Solution

At the moment of posting, this seems to be new information on the Internet.

I was near completion of a huge animation and got this type of crash again last week.
Finally decided to be methodical and go to the bottom of the problem if I could.
For my serious work I still use Flash Pro CS6, so this is where I dug and this is what I found out:

In Config there is a folder called CodeModel
The cache files are inside. Deleting all that is inside CodeModel while Flash is closed, fixed the issue with the broken Shape Tweens in my current as well as older saved versions of the same animation.

So what do you need to do?

  1. Close Flash
  2. Go you your Config folder

    Win: C:\Users\YourUserName\Local Settings\Application Data\Adobe\Flash CSx\en_US\Configuration\
    Mac: HD/Users/YourUserName/Library/Application Support/Adobe/Flash CSx/language/Configuration/

  3. Find CodeModel, go inside and delete the two subfolders with all their content
  4. Start Flash again. It will create healthy new cache files automatically

Shape Tweens should now be fine.

There may be more applications of this manual removal of corrupted cache.
If you find any, or you find the method not to work in a different version of Flash, please share in the comments section below.

 
Comments

No comments yet.

Leave a Reply

*

 
Comments