Results 1 to 3 of 3

Thread: Flash Wmode

  1. #1
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default Flash Wmode

    This is in response to a private request -

    It's working in IE because you have the wmode param set, but you also need to set the embed wmode attribute for other browsers.

    Add the highlighted:

    Code:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="445" height="90">
      <param name="movie" value="2008/sponsors/1lacrosse/1lax445b.swf">
      <param name="quality" value="high">
      <PARAM NAME="WMODE" VALUE="transparent">
      <embed wmode="transparent" src="2008/sponsors/1lacrosse/1lax445b.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="445" height="90"></embed>
    </object>
    You will have to add that attribute to all of your Flash embed tags.

    Now, I am assuming no javascript is used to rewrite the tags, or if it is, it uses the params and attributes already present. If this is not the case, there will probably be one or two other changes to be made somewhere. But it looks to me as if this will take care of it.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    Is there a question here? That is the code i use to display swf's so it validates.

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by jscheuer1 View Post
    This is in response to a private request
    Quote Originally Posted by bluewalrus View Post
    Is there a question here? That is the code i use to display swf's so it validates.
    There was a question in private. If you are not the person who originally asked it, I guess not. But since you've chimed in here, just for your information, the embed tag is not valid, so I'm just a little confused at your statement, though I may have misunderstood it. In any case, to write a valid cross browser Flash object tag combo, you must use two nested object tags, not an embed nested in an object tag. However, most folks consider this an extreme measure, though it isn't all that hard to do if you really want valid code.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •