I'm having trouble using the object/embed tags for a
Flash application in an included library file.
It seems that the percent sign (%) for WIDTH and
HEIGHT is ignored by Netscape 4.x and IE 5.x, though
it does seem to work with Netscape 6.2. When the
percent sign is removed, we can size the Flash
application fine, except it's not using a percentage
like the designers want.
However, the percent sign works ok when we run the
Flash object/embed tags in a straight (non-TT) html
file.
In index.html, I have this directive:
[% PROCESS body_tmlac_large.txt %]
Here's the included file, body_tmlac_large.txt:
[%#--------------------------------------------------
NAME: body_tmlac_large.txt
DATE: 04/25/2002
---------------------------------------------------%]
[% IF var_valid_date %]
<p align=center><OBJECT
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH="700" HEIGHT="480" ID="crossword">
<PARAM NAME=movie
VALUE="http://images.host.com/comics/tmlac/crossword9.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED
src="http://images.host.com/comics/tmlac/crossword9.swf"
name="crossword" quality="high" bgcolor="#FFFFFF"
WIDTH="700" HEIGHT="480"
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
</OBJECT></p>
[% var_feature_copyright %]
<P>
<table border="0" width="600" cellpadding="2"
cellspacing="0">
<tr>
<td valign="top"><A
HREF="http://www.macromedia.com/go/getflashplayer/"
target="_new"><IMG
SRC="http://www.macromedia.com/images/get_flashplayer.gif"
BORDER="0" HEIGHT="31" WIDTH="88"></A></td>
<td valign="top">This puzzle uses Macromedia's
Flash (.swf) technology. The Flash plug-in might be
installed in your Web browser or you can download it
for free from <A
HREF="http://www.macromedia.com/go/getflashplayer/"
target="_new">Macromedia.com</a>.</td>
</tr>
</table>
<BR>
[% ELSE %]
<center>
<h2>Feature not available for this date.</h2>
</center>
[% END %]
--
Thanks
__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/