0 Replies Latest reply on Oct 12, 2009 6:30 PM by 914_6

    XHTML 1.0 Strict - Valid Flash implementation and wmode transparency

    914_6

      Hi, i have to follow the XHTML 1.0 Strict DTD, and its not validating the standard <object classid> way of getting SWFs into DW. I did some research (and not simply asking for the WHOLE solution) and i came up with this.

       

      http://validifier.com/

       

      It converts your <object classid> tags into something that is XHTML Valid. Works fine, my test pages are not W3C valid.

       

      Great but all of my SWFs (and there are more than a hundred...) are using wmode set to transparency. That was working fine (i tested using Adobe Lab Browser) but once i used VALIDIFIER  for XHTML-comply my pages, transparency is gone for most of the Windows browsers.

       

      Here is the code using validifier:

       

       

      <!--[if !IE]> -->

        <object type="application/x-shockwave-flash" data="../../flash/V01.swf" width="694" height="385" wmode="transparent">

      <!-- <![endif]-->

      <!--[if IE]>

        <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="694" height="385">

          <param name="movie" value="../../flash/V01.swf" param name="wmode" value="transparent"/>

      <!--><!-- http://Validifier.com -->

        </object>

      <!-- <![endif]-->

       

       

      Am i asking too much to have BOTH transparency and XHTML 1.0 Strict validation?

       

      BTW I know about Flash Satay, but i dont want to re-edit ALL of my Flash files.

       

      Thanks.