D
Dominic Willems
Having looked through the archives, I haven't found a solution that
worked, so I'll try my luck by posting my problem in here:
Following HTML works flawlessly in IE but doesn't in Firefox. The
loadMovie function is ignored.
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
/>
<script type="text/javascript">
function test()
{
var movie=document.mov;
movie.loadMovie(0,'Demo.swf');
movie.TGotoFrame("/", 0);
movie.Play();
}
</script>
</head>
<body>
<input type="submit" onclick="test();"></input>
<object classid="clsid27CDB6E-AE6D-11CF-96B8-444553540000" name="mov"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
border="0" width="1000" height="747">
<param name="movie">
<param name="quality" value="High">
<embed pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="1000"
height="747"></embed></object>
</body>
</html>
Therefore, in order to try to make it work in Firefox, I changed the
test function, as is suggested in many places, to:
function test()
{
var movie=document.embeds.mov2; <----- changed
movie.loadMovie(0,'Demo.swf');
movie.TGotoFrame("/", 0);
movie.Play();
}
and gave the embed tag the attribute name="mov2".
Still no luck.
Would anyone know how to load an SWF movie in Firefox and make it play?
Many thanks.
worked, so I'll try my luck by posting my problem in here:
Following HTML works flawlessly in IE but doesn't in Firefox. The
loadMovie function is ignored.
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
/>
<script type="text/javascript">
function test()
{
var movie=document.mov;
movie.loadMovie(0,'Demo.swf');
movie.TGotoFrame("/", 0);
movie.Play();
}
</script>
</head>
<body>
<input type="submit" onclick="test();"></input>
<object classid="clsid27CDB6E-AE6D-11CF-96B8-444553540000" name="mov"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
border="0" width="1000" height="747">
<param name="movie">
<param name="quality" value="High">
<embed pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="1000"
height="747"></embed></object>
</body>
</html>
Therefore, in order to try to make it work in Firefox, I changed the
test function, as is suggested in many places, to:
function test()
{
var movie=document.embeds.mov2; <----- changed
movie.loadMovie(0,'Demo.swf');
movie.TGotoFrame("/", 0);
movie.Play();
}
and gave the embed tag the attribute name="mov2".
Still no luck.
Would anyone know how to load an SWF movie in Firefox and make it play?
Many thanks.