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 ColdFusion, ASP, and the like.
To modify an HTML publishing template:
1 |
Using an HTML editor, open the Flash HTML template you want to change. These templates can be found in the following locations. |
For Windows operating systems: |
|
Windows 2000 or XP: C:\Documents and Settings\user\Application Data\Macromedia\Flash MX\Configuration\HTML |
|
Windows 98 or ME: C:\Windows\Application Data\Macromedia\Flash MX\Configuration\HTML |
|
Windows NT: Windows directory\profiles\user\Application Data\Macromedia\Flash MX\Configuration\HTML |
|
For Macintosh operating systems: |
|
Macintosh OS X: Hard Drive/Users/Library/Application Support/Macromedia/FlashMX/Configuration/HTML |
|
Macintosh System 9.x, single user: Hard Drive/System folder/Application Support/Macromedia Flash MX/Configuration/HTML |
|
Macintosh System 9.x, multiple users: Hard Drive/Users/user/Documents/Macromedia/FlashMX/Configuration/HTML |
|
2 |
Edit the template as needed. |
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 same folder you retrieved it from. |
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 |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
![]() ![]() ![]() |