Creating Flash Templates

From CasparCG Wiki

Jump to: navigation, search

To create a Flash template for CasparCG you will need the Flash Professional authoring environment (CS4 and above recommended) and the FT Generator panel.

Contents

Typical Workflow

  • Create your design in Adobe Photoshop
  • Import the .psd into flash
  • Select the text fields you wish to expose to CasparCG and give them instance names (make sure not to begin with the letter "x" since this will make CasparCG ignore this particular instance.)
  • Create your animations
  • Press the generate button in the FT Generator panel (make sure that you have entered your name in the panel.)

If everything is correct, the .ft file will bee generated and you are ready to test it in CasparCG Server.

Special Properties

You can create labels in your main time line that can be accessed from CasparCG with the Invoke command. If you create a label named "outro", CasparCG will automatically go to and play this label when a Stop command is received. This is used to create outro animations. The FT Generator will look for any stop() command placed after the outro label. If found, the generator will inject a removeTemplate() call on the same keyframe which will remove the template from the TemplateHost. If there is no Stop() command after the outro label, the removeTemplate() call will be injected in the last frame of the layer that contains the outro label. This is important to know, so that you make sure that this layer has its last keyframe on the frame you want the template to be removed.

Best practices

  • Try to avoid several instances with the same instance name since it can be hard to keep track of the project. If you create a timeline animation for a text field; convert the instance to a movie clip before you create the keyframes.
  • If you need to use ActionScript in your template (other then basic stop() commands and alike), you should follow the guide lines in Creating Advanced Flash Templates.

Generate FT File

To create the .ft file file, you use the FT Generator.

See also

Personal tools