Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jun 2007
    Posts
    805
    Thanks
    123
    Thanked 23 Times in 23 Posts

    Validating probs

    Hi!
    This is my first time working with flash and I have a little problem: Following code dosn't validate with W3C:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <link href="style/style.css" rel="stylesheet" type="text/css" />
    <script src="javascript/AC_RunActiveContent.js" type="text/javascript"></script>
    </head>
    
    <body>
    <div id="container">
    <div id="main_top_cnr"></div>
    <div id="header">
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','900','height','200','src','flash/header','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','flash/header' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="900" height="200">
        <param name="movie" value="flash/header.swf" />
        <param name="quality" value="high" />
        <embed src="flash/header.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="900" height="200"></embed>
      </object></noscript>
    </div>
    <div id="innercontainer">
    <div id="left">
    <div class="leftcontent">
    <ul>
    <li><img src="" border="0" alt="" height="10px" width="10px" /><a href="" class="menu">Menu item 1</a></li>
    <li><img src="" border="0" alt="" height="10px" width="10px" /><a href="" class="menu">Menu item 2</a></li>
    <li><img src="" border="0" alt="" height="10px" width="10px" /><a href="" class="menu">Menu item 3</a></li>
    <li><img src="" border="0" alt="" height="10px" width="10px" /><a href="" class="menu">Menu item 4</a></li>
    </ul>
    </div>
    <div class="leftcontent">
    News
    </div>
    </div>
    <div id="content">
    <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vivamus pede libero, semper id, pellentesque quis, rhoncus eu, leo. Vivamus tristique dui id lectus. Pellentesque eget dolor. Quisque arcu est, volutpat nec, feugiat in, adipiscing eget, diam. Vivamus tincidunt magna sit amet ipsum. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Aliquam erat volutpat. Suspendisse potenti. Vivamus metus neque, euismod sit amet, porta quis, faucibus non, dui. Ut molestie, felis at aliquam vestibulum, neque nisl sodales velit, imperdiet blandit diam ante et pede. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; </p>
    
    <p>Phasellus id tellus quis ante feugiat vulputate. Pellentesque enim. Sed placerat, justo quis luctus ornare, nunc mauris accumsan nunc, et rutrum felis risus at libero. Nulla elit urna, imperdiet et, tempus eget, ultricies a, metus. Fusce imperdiet egestas felis. Curabitur consequat metus ac velit. Sed turpis purus, tincidunt ut, laoreet quis, vehicula at, mi. Quisque suscipit risus nec dui. Donec quis tortor. Suspendisse potenti. Proin euismod velit id elit. Etiam ut ante sit amet est hendrerit pellentesque. Nulla volutpat ligula sit amet justo. Praesent porttitor justo sagittis nunc. Sed nec enim sit amet ipsum blandit faucibus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. </p>
    
    <p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Maecenas suscipit auctor justo. Phasellus sem eros, egestas id, dignissim in, volutpat nec, felis. Duis orci. Quisque quis mi ut pede auctor ullamcorper. Proin vitae diam ullamcorper nibh suscipit egestas. Nulla lacus massa, sagittis a, sollicitudin euismod, commodo id, diam. Curabitur volutpat. Maecenas scelerisque lectus et quam. Praesent tristique, eros a iaculis mollis, orci nulla ullamcorper risus, vitae porttitor pede ipsum a libero. </p>
    
    </div>
    </div>
    <div id="footer">
    Contact | Copyright &copy; | Kasper er flink, men Camilla sucks! :)
    </div>
    <div id="main_bottom_cnr"></div>
    </div>
    </body>
    </html>
    The code was generated with Dreamweaver, and as I have no experience with flash, I can't recrognize the code and can't fix it, if it even is possible to fix.

    Any help is very appriciated.

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Lose the dreamweaver code and use swfobject.
    http://blog.deconcept.com/swfobject/
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • Users who have thanked _Aerospace_Eng_ for this post:

    CaptainB (03-16-2008)

  • #3
    Regular Coder
    Join Date
    Jun 2007
    Posts
    805
    Thanks
    123
    Thanked 23 Times in 23 Posts
    O yeah, bookmarked!


  •  

    Posting Permissions

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