SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Thread: XHTML Valid SWF

  1. #1
    John 8:24 JREAM's Avatar
    Join Date
    Sep 2007
    Location
    Florida
    Posts
    1,508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    XHTML Valid SWF

    Hey I have this:

    Code:
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="800" height="168" id="head-1" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="flash/head-1.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <param name="bgcolor" value="#ffffff" />
    <embed src="flash/head-1.swf" quality="high" wmode="transparent" bgcolor="#ffffff" width="800" height="168" name="head-1" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object>
    When I use this it doesn't show up:
    Code:
          <object type="application/x-shockwave-flash" data="flash/head-1.swf" width="700" height="116">
          <param name="movie" value="flash/head-1.swf" />
          <img src="images/head-1.jpg" width="700" height="116" alt="header" />
          </object>
    It needs the Embed tag it seems, i looked on google for this;
    im using xhtml 1.0 strict

  2. #2
    doing my best to help c2uk's Avatar
    Join Date
    May 2005
    Location
    Cardiff
    Posts
    1,832
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How about using SWFobject?

  3. #3
    Is Still Alive silver trophybronze trophy RetroNetro's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    6,883
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by c2uk View Post
    How about using SWFobject?
    Indeed, If you need help getting it set up just post here and ask.

  4. #4
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,819
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    The alternative is two nested object tags - the outer one for IE6 and the inner one for more modern browsers.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  5. #5
    John 8:24 JREAM's Avatar
    Join Date
    Sep 2007
    Location
    Florida
    Posts
    1,508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey thansk i never heard of this

  6. #6
    SitePoint Member
    Join Date
    Jul 2008
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    swf object is bar far your best bet, great for a number of reasons


Bookmarks

Posting Permissions

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