Not signed in (Sign In)

Vanilla 1.0.3 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorlifespan
    • CommentTimeMay 21st 2007
     
    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:

    http://www.families4change.org/lifespanmedia/test2/ffwithswfobject.html

    Here's a portion of the page of code:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">


    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Families4Change</title>
    <link href="FFwithSWFobject.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--

    -->
    </style>

    <script type="text/javascript" src="swfobject.js"></script>
    </head>

    <body>

    <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>
    • CommentAuthorAran
    • CommentTimeMay 21st 2007
     
    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";
    • CommentAuthorlifespan
    • CommentTimeMay 21st 2007
     
    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?
    • CommentAuthorlifespan
    • CommentTimeMay 22nd 2007
     
    OK, so I figured out the content path problem. Thought I had already had that one licked a long time ago. Thanks.

    BUT....I'd still like to know how you saw that path from where you are. How do you do that?
    • CommentAuthorphilip
    • CommentTimeMay 22nd 2007
     
    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.

    http://chrispederick.com/work/web-developer/
    • CommentAuthorlifespan
    • CommentTimeMay 22nd 2007
     
    Aha! I knew there must have been something I didn't know about. Thanks. I think I'll install that so I can learn from other sites.
    • CommentAuthorAran
    • CommentTimeMay 22nd 2007
     
    lifespan.

    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)
    • CommentAuthorphilip
    • CommentTimeMay 22nd 2007
     
    ooh... i haven't heard of some of those goodies!

    *rubs hands together*

    think i have some downloading to do...

    i also use the IE Developer toolbar from time to time, the FireBug extension for FF, and SoThink SWF Decompiler for examining other people's SWFs.