Transfer of SWF and Dynamic HTML-HELP

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Transfer of SWF and Dynamic HTML-HELP

    Hello
    I currently have materials posted on an internal web server. These
    materials consist of swfs, html, dynamic text files etc. When I copy the
    files on a CD so that they can be transoported, they don't seem to work. The
    index page will not launch. Please advise. I also attached the idex code so
    that you can maybe see what is happening.

    thanks in advnace for your time.




    <html>
    <!--
    HTML LAUNCH PAGE FOR LOCAL AND TESTING
    //-->
    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <script language="JavaScript">
    <!--
    function MM_openBrWindow(theURL,winName,features) { //v2.0
    window.open(theURL,winName,features);
    }

    //-->
    </script>

    <script src="config_info.js"></script>

    <!-- Use aspen.js if serving from Aspen; use local.js and Cookie.js if
    running locally. -->
    <!-- script src="../share/aspen.js"></script -->
    <script src="../share/Cookie.js"></script>
    <script src="../share/local.js"></script>
    <style type="text/css">
    body {
    background-color: #FFFFFF;
    font-family: helvetica,sans-serif;
    }
    </style>
    </head>

    <body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"
    onUnload="scormStop()">

    <SCRIPT>
    <!--

    // Unfortunately, getBookmark() and getCompletedSlides() return
    // different formats.
    var src = "controller.swf?" + getBookmark() +
    "&completedSlides=" + getCompletedSlides();

    var objectBeginTag = '<object id="movie"
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%"
    height="100%">';

    var objectEndTag = '</object>';

    var paramTags = '<param name="SRC" value="' + src + '">' + '<param
    name="salign" value="LT"><param name="QUALITY" value="high"><param name="LOOP"
    value="false">';

    var embedTag = '<embed src="' + src + '"
    pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Vers
    ion=ShockwaveFlash" type="application/x-shockwave-flash" width="100%"
    height="100%" salign="LT" quality="high" loop="false" name="movie"></embed>';

    // Now write the whole thing out
    document.write(objectBeginTag + paramTags + embedTag + objectEndTag);

    //-->
    </script>

    </body>
    </html>

    merffe Guest

  2. Similar Questions and Discussions

    1. Dynamic HTML for IMG SOURCE
      DWMX. Hi, I have a recordset with a ProductID field and i am trying to insert this ProductID into the name if the Source image so it becomes...
    2. DYNAMIC SITES AND HTML
      :o I'M A DREAMWEAVER VIRGIN AND NEED SOME ADVICE.... THE SITE WILL BE PUBLISHED ON WINDOWS 2000 SERVER WHICH RUNS ASP AND ASP.NET. IT WILL BE A...
    3. html in dynamic text
      i didn't think this would be a difficult task, but for some reason i can't get it working... i've got a dynamic text field into which a .txt file...
    4. Transfer Graphic to HTML?
      Is it possible to use Photoshop or other software to transfer a graphic such as .gif to HTML? Please advice. Thanks. Karen
    5. Dynamic Html Headers
      Hi, how to dynamically supply value for the title element in HTML headers section.. thanks in advance
  3. #2

    Default Re: Transfer of SWF and Dynamic HTML-HELP

    I am just trying to help, so if I am wrong, hopefully someone will correct me.
    I just tested your code with a flash movie on my computer. Don't know
    javascript, so i won't comment on that. Even without the .js files (config.js
    and cookie.js, local.js) my flash movie played the way it should (it ofcourse
    needs the active content fix)

    Your index page basically has the source embedded as "src = "controller.swf?"
    + getBookmark() + "&completedSlides=" + getcompletedSlides();"
    Either the source flash movie and completedsSlides (don't know what that is)
    is not at the root or they're not working properly. If the site was working
    locally, you might want to check on your CD if your folders are correctly named
    and the paths defined correctly for the source files and links. Looks like the
    flash movie in your index page serves as the menu for links to other pages.
    You might also want to check the flash movie itself and see if it plays
    directly through the flash player. If you have flash player installed and you
    double-click the .swf file, it should play.
    Hope this helps and I hope someone more knowledgeable can help here.
    Regards


    jasan3114 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139