This repository contains a JSFL script to apply "Trace Bitmap" to all frames in an Adobe Animate document.
- Adobe Animate
- Download the
traceBitmapAllFrames.jsfl
file from this repository. - Open Adobe Animate and load your project.
- Run the Script:
- Go to the Commands > Run Command menu.
- Navigate to where you saved the
traceBitmapAllFrames.jsfl
file and select it to run.
The script performs the following steps:
- Gets the current document and timeline.
- Retrieves the total number of frames in the timeline.
- Iterates through each frame in the timeline.
- Selects the current frame.
- Gets all elements on the current frame.
- Iterates through each element and applies "Trace Bitmap" if the element is a bitmap.
The traceBitmap
parameters (100, 8, 8, 10) are as follows:
- Threshold: 100
- Minimum Area: 8
- Curve Fit: 8
- Corner Threshold: 10
Feel free to contribute with improvements or new features. Just fork this repository and submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.