Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-17-2012, 04:04 PM   PM User | #1
gingerbread
New Coder

 
Join Date: Jan 2012
Posts: 36
Thanks: 1
Thanked 0 Times in 0 Posts
gingerbread is an unknown quantity at this point
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..
gingerbread is offline   Reply With Quote
Old 04-25-2012, 03:48 AM   PM User | #2
RADRaze2KX
New Coder

 
Join Date: Apr 2012
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
RADRaze2KX is an unknown quantity at this point
Site URL? are you trying to position it in the direct center? it looks like your movie is 950px wide, is that correct?
RADRaze2KX is offline   Reply With Quote
Old 04-28-2012, 06:16 PM   PM User | #3
Taro
Regular Coder

 
Taro's Avatar
 
Join Date: Oct 2011
Location: Geraldton, Ontario
Posts: 155
Thanks: 1
Thanked 1 Time in 1 Post
Taro is an unknown quantity at this point
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.
Taro is offline   Reply With Quote
Old 04-30-2012, 07:47 AM   PM User | #4
emma157
New to the CF scene

 
Join Date: Apr 2012
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
emma157 is an unknown quantity at this point
sorry am not too good with this but if you place it at the correct place in dreamweaver its going to be there.
emma157 is offline   Reply With Quote
Reply

Bookmarks

Tags
css, embed, flash, position

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:17 PM.


Advertisement
Log in to turn off these ads.