hi disfasia
Might not be exactly what you're after, but you could use this option. the following is taken from Flash Help, I use this method for each project I work on and haven't had any problems with it:
_______________________________________
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 5/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 OBJECT and EMBED parameters, see the sections for those topics, following this procedure.
3 When you have finished editing the variables, save the template in the Macromedia Flash 5/HTML folder.
Flash saves the modified template with the Flash movie's file name and the template extension. For example, saving a template named Standard.asp for publishing a Flash movie named MyMovie.swf produces a template named MyMovie.asp.
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 movies.
________________________________________________
forgot to mention, when you insert the code you mentiond above into the template, enter it as you've written above and don't try and find $xx equivalents (too much bother). Notice that in teh "default" html the body tags are as follows:
<BODY bgcolor="$BG">
The $BG tag makes sure that the html background matches the background in your movie. This line with your code would look like:
<BODY bgcolor="$BG" MARGINWIDTH="0" MARGINHEIGHT="0" LEFTMARGIN="0" RIGHTMARGIN="0" TOPMARGIN="0" BOTTOMMARGIN="0">
Note that this option is only good if you're publishing a lot of movies to HTML to your own spec containing repeated code as above. It might not be the solution to your problem, but I thought I'd point out the option anyway.
dave
davdesign@pinkzeppelin.com
^^^^^^^^^^^^^^^^^^^^^