Results 1 to 4 of 4

Thread: embed flash object, width height refer to windowsize

  1. #1
    Join Date
    Dec 2009
    Posts
    44
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default embed flash object, width height refer to windowsize

    this isnt working, as soon as i change width and height to percents instead of pixels nothing appears

    also it would be nice if i could change the width based on the height instead of window width

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
      <head>
        <title>SWFObject - step 1</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
      </head>
      <body>
        <div>
    
          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%">
            <param name="movie" value="myContent.swf" />
    	<param name="quality" value="autohigh" />
    	<param name="menu" value="false" /> 
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="yankeeScreenMenu.swf" width="100%" height="100%">
    	<param name="quality" value="autohigh" />
    	<param name="menu" value="false" /> 
            <!--<![endif]-->
              <p>Alternative content</p>
            <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object>
    
        </div>
      </body>
    </html>

  2. #2
    Join Date
    Dec 2009
    Posts
    44
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default i got it working in firefox but not IE, it just pretends to load forever

    i got it working in firefox but not IE, it just pretends to load forever
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
      <head>
        <title>SWFObject - step 1</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    	<style type="text/css" media="screen">
    	html, body, #containerA { width=100%; height:100%; }
    	body { margin:0; padding:0; overflow:hidden; }
    	</style>
      </head>
      <body>
        <div id="containerA">
          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%">
            <param name="movie" value="myContent.swf" />
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="yankeeScreenMenu.swf" width="100%" height="100%">
    	<param name="quality" value="autohigh" />
    	<param name="menu" value="false" /> 
            <!--<![endif]-->
              <p>Alternative content</p>
            <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object>
        </div>
      </body>
    </html>
    Last edited by chopficaro; 03-07-2010 at 10:47 PM.

  3. #3
    Join Date
    Dec 2009
    Posts
    44
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    fixed

  4. #4
    Join Date
    Jul 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    It would be nice if you could add how the problem is fixed.
    Thx.
    Erik

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
  •