rdarling
12-15-2006, 06:55 AM
I am using Flash 8, I cannot get the movie to load when embeded on a web page (works fine in standalone player). I used publish preview then copied the object and embed code from there but it wont load. I have also tried using the SWFObject but with no luck. Any help would be appreciated.
Code I have tried:
<script type="text/javascript" src="swfobject.js"></script>
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
var so = new SWFObject("test.swf", "mymovie", "500", "200", "8", "#666666");
so.write("flashcontent");
</script>
and
<script type="text/javascript" src="swfobject.js"></script>
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
var so = new SWFObject("test.swf", "mymovie", "500", "200", "8", "#666666");
so.write("flashcontent");
</script>
Code I have tried:
<script type="text/javascript" src="swfobject.js"></script>
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
var so = new SWFObject("test.swf", "mymovie", "500", "200", "8", "#666666");
so.write("flashcontent");
</script>
and
<script type="text/javascript" src="swfobject.js"></script>
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
var so = new SWFObject("test.swf", "mymovie", "500", "200", "8", "#666666");
so.write("flashcontent");
</script>