I have added a 2021-12-5-beta folder in the animations-as3 folder on Google Drive for fixed JSON files for the animations that broke due to this change. I will also add other animations that only works in the latest version to that folder.
Fixing AS3 animations
To fix AS3 animations for the latest version, enter edit mode and go through all the scenes in the animation, while keeping an eye on the scenes panel. If you notice that it starts jumping back and fourth between scenes, then the scene is most likely broken.
If the scene it jumps to is a new scene with a single frame, right before a looping scene, then you can merge those two scenes. To merge scenes, hold E and click one of the scenes, then hold Shift and click the other scene so that you have both scenes selected. After that, click the first icon at the bottom of the scenes panel to merge.
After having modified scenes you may get an issue where you’re not able to resume the scene. To fix that, step at least one frame after the first frame and hit Control + I (capital I). This should clear a certain state on the scene which prevents it from playing.
If the scene it jumps to is an existing scene with more than 1 frame, then it means that the scene it jumps to has 1 too many frames. To fix it, it’s recommended that you just remove both scenes and record them again. However, it can also be fixed by modifying the save data.
To modify the save data, you need to generate JSON data so that it can be modified in a text editor. Also, before attempting to modify anything, it’s recommended that you also make a copy that you can use as a backup.
To locate the scene you’re looking for, you can search for one of the frame numbers that you see in the scenes panel. You should be able to find matching frame numbers in the startFrames property. Alternatively, if the child in the hierarchy has a name, you can search for that, which should be found in the path property.
Once you find the correct scene you need to change the following 4 properties: endFrames, basePositions, stimPositions and tipPositions.
endFrames: reduce the last value between the square brackets by 1.
base/stim/tipPositions: All 3 has an identical structure, where each unique position on a frame looks like this [#, #]. Each position that isn’t recorded is marked as null and when there are multiple identical positions in a row, it’s marked with a single numerical value.
If it ends with either [#, #] or null, then remove it along with the last comma that comes before it.
If it’s a numerical value, reduce it by 1.
If it ends with 1, just remove the 1 and the comma that comes before it.
Once you have modified the JSON file, you need to remove the save data sharedObject for the animation, so that it loads the data from the JSON file instead. You can read more about it here: Editor Save Files · notSafeForDev/flash-toy-sync-v3 Wiki · GitHub