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 4 of 4
  1. #1
    New Coder
    Join Date
    Jan 2012
    Posts
    36
    Thanks
    1
    Thanked 0 Times in 0 Posts

    How to position flash?

    I am making sure that my site displays properly on different screen resolutions. Everything is fine except the flash; it is located in the perfect position in 1024 wide resolution but not for wider screens. How can I get it to show in the same place?

    This is my css:
    Code:
    #flash {
       margin-top: 30px;
       width: 960px;
       height: 331px;
       margin-bottom: 20px;
       z-index: 0;
      margin-left:0px;
       margin-right: 0px;
    }
    This is the code I used to embed the file:
    Code:
    <p> </p>
    <p>
    <object id="flash" style="width: 950px; height: 350px;" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="950" height="360" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" align="centre">
    <param name="movie" value="/media/flash_final.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="bgcolor" value="#ffffff" /> <embed type="application/x-shockwave-flash" width="950" height="360" src="../media/flash_final.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" name=" Web" bgcolor="#ffffff" quality="high"></embed>
    </object>
    <!--[if !IE]>-->                               
    <object id="flash" style="width: 950px; height: 350px; z-index: 0;" width="950" height="360" name="Web" data="media/flash_final.swf" type="application/x-shockwave-flash" wmode="transparent">
    <param name="movie" value="media/flash_final.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#FFFFFF" />
    <param name="WMODE" value="transparent" />
    <param name="allowScriptAccess" value="always" /> <!--<![endif]--> <!--[if !IE]>-->
    </object>
    <!--<![endif]--></p>
    <p> </p>
    
    Thanks!
    Last edited by gingerbread; 03-17-2012 at 06:59 PM.

  • #2
    New Coder
    Join Date
    Apr 2012
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Site URL? are you trying to position it in the direct center? it looks like your movie is 950px wide, is that correct?

  • #3
    Regular Coder Taro's Avatar
    Join Date
    Oct 2011
    Location
    Geraldton, Ontario
    Posts
    155
    Thanks
    1
    Thanked 1 Time in 1 Post
    Quote Originally Posted by gingerbread View Post

    This is the code I used to embed the file:
    Code:
    <p> </p>
    <p>
    <object id="flash" style="width: 950px; height: 350px;" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="950" height="360" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" align="centre">
    <param name="movie" value="/media/flash_final.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="bgcolor" value="#ffffff" /> <embed type="application/x-shockwave-flash" width="950" height="360" src="../media/flash_final.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" name=" Web" bgcolor="#ffffff" quality="high"></embed>
    </object>
    <!--[if !IE]>-->                               
    <object id="flash" style="width: 950px; height: 350px; z-index: 0;" width="950" height="360" name="Web" data="media/flash_final.swf" type="application/x-shockwave-flash" wmode="transparent">
    <param name="movie" value="media/flash_final.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#FFFFFF" />
    <param name="WMODE" value="transparent" />
    <param name="allowScriptAccess" value="always" /> <!--<![endif]--> <!--[if !IE]>-->
    </object>
    <!--<![endif]--></p>
    <p> </p>
    
    Thanks!
    Hello,

    Is this computer-generated or customized? The Flash should stay at the same place, depending on the browser you're using. Widescreens can change the resolution of your image. In Windows 7, go to Control Panel, then find a section that deals with the appearance and personalization.
    Element ID

    Webs Support Helper

    Your friendly neighborhood Taroman.

  • #4
    New to the CF scene
    Join Date
    Apr 2012
    Posts
    5
    Thanks
    0
    Thanked 1 Time in 1 Post
    sorry am not too good with this but if you place it at the correct place in dreamweaver its going to be there.


  •  

    Tags for this Thread

    Posting Permissions

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