Publishing > Customizing HTML publishing templates |
![]() ![]() ![]() |
Customizing HTML publishing templates
If you're familiar with HTML, you can modify HTML template variables to create an image map, a text report, or a URL report, or to insert your own values for some of the most common Flash OBJECT
and EMBED
parameters (for Internet Explorer and Netscape Communicator/Navigator, respectively).
Flash templates can include any HTML content for your application, or even code for special interpreters such as Cold Fusion, ASP, and the like.
To modify an HTML publishing template:
1 |
Using an HTML editor, open the Flash HTML template you want to change, located in the Macromedia Flash MX/HTML folder. |
2 |
Edit the template as needed. To use the default values, leave the variables empty. |
For information on variables supported in Flash, see the following table. |
|
For information on creating an image map or a text or URL report, or to insert your own values for |
|
3 |
When you have finished editing the variables, save the template in the Macromedia Flash MX/HTML folder. |
4 |
To apply the template settings to your Flash movie, choose File > Publish Settings, select the HTML panel, and select the template you modified. |
Flash changes only the template variables in the template selected in the Publish Settings dialog box. |
|
5 |
Choose your remaining publishing settings, and click OK. For more information, see Publishing Flash documents. |
The following table lists the template variables that Flash recognizes. For a definition of all the tags these variables work with, see Editing Flash HTML settings.
Parameter |
Template Variable |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
![]() ![]() ![]() |