My flash movie, via swfobject, plays fine in FF but not in IE online. That is, when I preview it in IE (from Dreamweaver) it plays fine, but when I view it from my test page online, the movie doesn't appear. And again, it works previewing and online in FF. Here's the test page:
<div id="Top"><img src="Banner.jpg" alt="Families for change" width="732" height="92" /></div>
<div id="navcontainer"> <ul id="navlist"> <li><a href="#">Home</a></li> <li><a href="#">What is the FSP?</a></li> <li><a href="#">How do I start a FSP?</a></li> <li><a href="#">News</a></li> <li><a href="#">Research</a></li> <li><a href="#">Group Leaders Only</a></li> <li><a href="#">About Us</a></li> <li><a href="#">Contact Us</a></li> </ul> </div>
<div id="intro"> </div>
<script type="text/javascript"> var so = new SWFObject("fsp.swf", "intro", "560", "190", "7", "#ffffff"); so.useExpressInstall('expressinstall.swf'); so.write("intro"); </script>
You flash file appears as a white box for me with both IE and FF. The reason nothing is displaying is because you are trying to load a video which is not on the webserver, but on your desktop !
this is your content path on your FLV component within your flash file:
contentPath = "C:\\Documents and Settings\\David\\Desktop\\Temporary Work Files\\flash test\\FSP Opening7.flv";
Thanks Aran. I'm really baffled. First, by how you determined that content path. So I'm ignorant, I know. How did you find that? Second, I don't understand how this happened. The flv IS on the server and the SWF is in the same folder as everything else on the page. I know when I inserted the flash movie in Dreamweaver using the insert command, I get options for how to choose paths. But using swfobject, I don't. Can you give me more direction?
if you use the web developer toolbar in Firefox, you can select "view generated source" instead of the standard "view source." this lets you see the page's source code post-javascript processing. very handy.
I deal with a lot of questions like "why isn't my flash file working", so I have various developer tools which help me. A traffic viewing tool like serviceCapture lets me see what http/amf calls are being made from the browser to the server, ASV (actionscript viewer) allows me to look "inside" .swf files to examine code to check for problens etc, and as philip mentioned, things like the developer toolbar help track down issues on the HTML page. Another handy tool is the the firefox extension flashTracer which allows you to see trace / debug messages coming from .swf files from within your browser (like having the "output window" from the flash IDE in your browser)