Results 1 to 2 of 2

Thread: [RESOLVED] RE: Problem with Cross DOM Compatability

  1. #1

    Thread Starter
    Fanatic Member kaihirst's Avatar
    Join Date
    Jul 2005
    Location
    The Resaurant At the End of The Universe
    Posts
    633

    Resolved [RESOLVED] RE: Problem with Cross DOM Compatability

    Hi all,

    The problem ive got is that i'm using the following code, to include a flash media animation.

    HTML Code:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" style="height:170px;width:550px;" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0">
      <param name="movie" value="http://www.frozendreams.co.uk/E-specially-Cards/BIN/Images/main-banner.swf">
      <param name="quality" value="high">
      <param name="loop" value="false">
      <param name="quality" value="high">
      <!--embed src="http://www.frozendreams.co.uk/E-specially-Cards/BIN/Images/main-banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed-->
    </object>
    Now the problem is that this works perfectly in IE6, IE5, IE4, IE7, Opera, and Netscape, but not in Mozilla (any version for that matter).

    Can anybody help me in workign this one out and gettign some X-compat DOM code, or suggest alternatives? Oh, and i've already tried the embed tags, but they are deprecated, and seriously impeach load time, oh and it doesnt work anyways!!!

    Ta very much


    Kai
    As the information I give is useful in its nature, consider using the RATE POST feature located on the bottom left of this post please..

    A few things that make a good Developer a Great One.
    Methodical and a thorough approach to research and design inevitably leads to success.
    Forward thinking is the key to Flow of control.
    Never test in the design environment, always test in real time, you get the REAL results.
    CBSE & OOSE are the same animal, they just require different techniques, and thinking.
    SEO is a globe of objectives, SE rankings is an end to a means for these objectives, not part of them.
    The key to good design is explicit attention to both detail and response.
    Think Freely out of the "Box" you're in..... You will soar to better heights.

    Kai Hirst - MSCE, MCDBA, MCSD, MCP, MCAP, MSCT


  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Problem with Cross DOM Compatability

    You have no MIME type or data attribute specified.

    Try this:

    HTML Code:
    <object type="application/x-shockwave-flash" data="movie.swf" width="400" height="300">
      <param name="movie" value="movie.swf" />
    </object>
    You can put an embed inside as a fallback for Netscape, if you really need to.

    As an aside, apparently it causes streaming problems in IE [1], not sure if this has been fixed yet or not but if this affects you then you can try adding the classid attribute back in so that IE uses the ActiveX control. Might work.

    I have not tested this as I do not have any Flash available so hope it helps.

Posting Permissions

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



Click Here to Expand Forum to Full Width