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 5 of 5
  1. #1
    New Coder
    Join Date
    Jan 2007
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Flash Transparency WITHOUT Border

    I need to display a flash document with transparency, but while also removing the horrid border caused by the Eolas Case which requires Microsoft Internet Explorer to require you to activate ActiveX controls.

    This simple code works for transparency:
    Code:
    <embed src="flash/document.swf" width="2345237235" height="67956785" quality="high" wmode="transparent">
    And this one works for removing the border:
    Code:
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','2345237235','height','67956785','src','flash','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','flash/document' );
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="2345237235" height="67956785">
      <param name="movie" value="flash/document.swf" />
      <param name="quality" value="high" />
      <embed src="flash/rcvq_document.swf" quality="high" width="2345237235" height="67956785">
    </object></noscript>
    But for some reason, this code doesn't work to accomplish both:
    Code:
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','2345237235','height','67956785','src','flash','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','flash/document' );
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="2345237235" height="67956785">
      <param name="movie" value="flash/document.swf" />
      <param name="wmode" value="transparent">
      <param name="quality" value="high" />
      <embed src="flash/rcvq_document.swf" quality="high" width="2345237235" height="67956785" wmode="transparent">
    </object></noscript>
    I think it should work. Why shouldn't it?! Help me please. (Also note that I DO have the proper JavaScripts in the proper folder to make the border-removing script work.)

    The result is a document that has no border, but is not transparent. Why? What attributes do I have to apply to make this document transparent?

  • #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
    I never liked the DW active content script. Try SWFObject instead.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    New Coder
    Join Date
    Jan 2007
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks, but for the SWFObject, this is what it gives me the template for:
    Code:
    var so = new SWFObject(swf, id, width, height, version, background-color};
    with this example:
    Code:
    var so = new SWFObject("movie.swf", "mymovie", "200", "100", "7", "#336699");
    How would I get it to be transparent instead of #336699?

  • #4
    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
    Read the documentation on their site please, mainly the section titled how it works.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #5
    New Coder
    Join Date
    Jan 2007
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ah.... once again I spoke too soon.
    Thanks much, man. You're a great help!


  •  

    Posting Permissions

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