Does anyone see anything wrong here?

Discussion in 'Software' started by Jodi, Jun 6, 2006.

  1. Jodi

    Jodi Private First Class

    Flash Object Embed with Frontpage
    after using this script the flash still has that ugly bounding box around it, I can get the ebmed script to work in Dreamweaver (yay) but for some reason not in FrontPage, any takers, Please help!! Please Please Please
    Here is the FrontPage Script (ick FrontPage)

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html40/loose.dtd">
    <html><head><script type="text/javascript" src="flashobject.js"></script>
    <title>introText</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

    <meta name="author" content="">
    <meta name="generator" content="Microsoft FrontPage 5.0">
    <meta name="description" content="introText">
    <meta name="keywords" content="21st, advanced, affordable, appealing, century, custom, design, engine, forms, intothe, jump, logo, makeovers, mantinence, optimization, page, scripting, search, site, thats, then, today, want, web, with, your">
    <!-- text used in the movie -->
    <!-- 21st, advanced, affordable, appealing, century, custom, design, engine, forms, -->
    <!-- intothe, jump, logo, makeovers, mantinence, optimization, page, scripting, -->
    <!-- search, site, thats, then, today, want, web, with, your -->
    <!-- Created by SWiSHmax - Flash Made Easy - www.swishzone.com -->
    </head>
    <body bgcolor="#FFFFFF">
    <center>
    &nbsp;<div id="flashcontent">
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0"
    id="introText" width="680" height="155">
    <param name="movie" value="introText.swf">
    <param name="bgcolor" value="#FFFFFF">
    <param name="quality" value="high">
    <param name="allowscriptaccess" value="samedomain">
    <embed type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/go/getflashplayer"
    width="680" height="155"
    name="introText" src="introText.swf"
    bgcolor="#FFFFFF" quality="high"
    swLiveConnect="true" allowScriptAccess="samedomain"
    ></embed></object>
    </div>
    <script type="text/javascript">
    var fo = new SWFObject("introText.swf", "introText", "680", "155", "6", "#FFFFFF");
    fo.addVariable("variable", "varvalue");
    fo.write("flashcontent");
    </script>
    </center>
    </body>
    </html>
     
  2. Jodi

    Jodi Private First Class

    ok Does this help...

    Error message from within Frontpage reads 'SWFObject' is undefined

    Thanks again everyone!
     
  3. Jodi

    Jodi Private First Class

    Got It
     
  4. Hipster Doofus

    Hipster Doofus MajorGeek

    Well done. :D
     
  5. chookers

    chookers Staff Sergeant

    Know about this useful site?

    http://validator.w3.org/

    Go there, chuck your code in and get the results. Can also point it at a web page and ask it to check it. Really useful when you KNOW it should work but you forgot a closing tag... :eek:
     
    Last edited: Mar 22, 2007

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds