Go Back   Velocity Reviews > Newsgroups > HTML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

HTML - center an .swf objet with html

 
Thread Tools Search this Thread
Old 06-16-2004, 11:25 PM   #1
Default center an .swf objet with html


I would like to know how to vertical center an object accordingly to the
screen resolution?

There's my code.

Robert



<body background="images/bg.jpg">
<!--url's used in the movie-->
<!--text used in the movie-->
<table >
<tr>
<td>
<object class= "milieu" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.
cab#version=7,0,0,0" width="675" height="450" id="debut" style="border:
none">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="debut.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="debut.swf" quality="high" bgcolor="#DADFDB" width="750"
height="500" name="debut2" align="middle" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</td>
</tr>
</body>




robert tourangeau
  Reply With Quote
Old 06-17-2004, 06:34 AM   #2
Neal
 
Posts: n/a
Default Re: center an .swf objet with html
On Wed, 16 Jun 2004 18:25:59 -0400, robert tourangeau
<> wrote:

> I would like to know how to vertical center an object accordingly to the
> screen resolution?


The screen resolution will be larger than the viewport, perhaps
significantly larger. Are you sure you want that?


Neal
  Reply With Quote
Old 06-17-2004, 06:50 AM   #3
Leif K-Brooks
 
Posts: n/a
Default Re: center an .swf objet with html
Neal wrote:
> On Wed, 16 Jun 2004 18:25:59 -0400, robert tourangeau
> <> wrote:
>
>> I would like to know how to vertical center an object accordingly to the
>> screen resolution?

>
>
> The screen resolution will be larger than the viewport, perhaps
> significantly larger. Are you sure you want that?


And the canvas may be larger than the viewport. You want to center to
the canvas.


Leif K-Brooks
  Reply With Quote
Old 06-17-2004, 03:18 PM   #4
Mitja
 
Posts: n/a
Default Re: center an .swf objet with html
robert tourangeau <>
(news:iN3Ac.129070$ ) wrote:
> I would like to know how to vertical center an object accordingly to
> the screen resolution?


use tables and/or css

google: css vertical centering




Mitja
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Applet to Servlet to HTML cisco_query Software 0 01-27-2008 05:32 PM
New releases: World Trade Center, Jackass Number Two & Wicker Man: Updated complete downloadable R1 DVD DB & info lists Doug MacLean DVD Video 0 10-24-2006 06:04 AM
How many ways to watch Media Center recording on another TV? Lew DVD Video 0 07-03-2006 02:21 AM
test center cheating, question. ap A+ Certification 4 02-12-2005 12:17 AM
Why do only some DVDs have the center rear surround flag? Michael S. DVD Video 4 09-24-2003 04:50 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46