To be updated
- Create a new repository at GitHub (CasparCG/templategenerator)
- Create a README
- Find latest version of the TemplateGenerator
- Cleanup current project
- Make sure it builds/works
- Create a .gitignore
- Update README
This is a extension for Adobe Flash/Animate which will show up in Window->Extension->Template Generator. The View for the panel (/assets/fla/TemplateGeneratorView.fla) is modified using Adobe Animate. It compiles to a swc (/lib/TemplateGeneratorView.swc) which is used in the code.
The panel swf (/bin/Template Generator.swf) is compiled in Flash Develop. The entry point is src/caspar/tools/TemplateGenerator.as.
The panel calls a jsfl script (/src/caspar/jsfl/brew2_3.jsfl) that injects code into the swf and saves it with the .ft extension and can then be used by caspar cg as a flash template. For testing the jsfl you will need to execute it inside the Animate program. The easiest way to work with the jsfl is to install the extension and edit the brew2_3.jsfl directly in the WindowSWF folder.
https://www.youtube.com/watch?v=mn4IfcDkIhU https://github.com/CasparCG/help/wiki/Media%3A-Flash-Templates https://help.adobe.com/archive/en_US/flash/cs5/flash_cs5_extending.pdf
Flash Develop Animate
There is a manual installer included, since the adobe extension-handling has changed a lot over time. To build and deploy (so far, windows only):
- go to /build and run "generateManualInstallFolder.bat"
- This will create a folder with all the assets (CasparCG Template Generator-v.2.2.0)
- Copy this folder to C:\Users{user}\AppData\Local\Adobe\Animate {version}{lang}, e.g. C:\Users\johndoe\AppData\Local\Adobe\Animate CC 2018\en_US
- Run the manualInstall.bat inside the folder
- Restart Animate
- Now you should find the panel in Window->Extension->Template Generator
Every release considered as stable will be tagged according to our versioning principles.
A complete history of all releases and the changes can be found in the CHANGELOG.
From now on we will start versioning this project according to Semantic Versioning (SemVer) principles.
CasparCG TemplateGenerator is distributed under the GNU General Public License GPLv3 or higher, see LICENSE for details.