You can dynamically replace one movie clip or graphic symbol instance with another when a template is processed.
Replace one movie clip or symbol instance with another from the template's library or from another template's library. Identify the other template using the External Media option in the Publish Settings dialog box. See Processing Templates with Generator overview
To replace movie clips and graphic symbols:
1 | Place on the Stage any movie clips and graphic symbols that you'd like to replace with other symbols contained within the movie. |
2 | Make sure the Generator inspector is displayed by choosing Window > Inspectors > Generator. |
3 | Select an instance on the Stage. |
4 | In the Generator inspector, choose Replace from the pop-up menu. |
5 | Click Symbol Name and type a either a valid symbol name or a variable name in the Parameters text box using the {variableName} syntax. |
6 | Make sure that Replace Symbol is set to True or the symbol will not be replaced when the movie is generated. Alternatively, you can specify a variable name that will contain a True or False value when the template is processed. The value can be supplied, for example, by the outcome or return result of an ASP, Cold Fusion, or CGI application. |
7 | Repeat steps 2 through 6 for each symbol you want to replace. |
![]() |