Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





Pages (2): [1] 2 »   Last Thread  Next Thread
Author
Thread Post New Thread   

Centering SWFs
 

lightwriting webforumsuser@macromedia.com




quote this post edit post

IP Loged report this post

Old Post  11-30-03 - 05:49 PM  
This may be a silly question, but I can't seem to figure it out.  How does o
ne center a swf file on an HTML page without using a table?





Post Follow-Up to this message ]
Re: Centering SWFs
 

Peter Blumenthal




quote this post edit post

IP Loged report this post

Old Post  11-30-03 - 05:49 PM  
you don't. if you want it centered vertical;ly and horizontally, you must
use a table

}`¬P




Post Follow-Up to this message ]
Re: Centering SWFs
 

keen to learn




quote this post edit post

IP Loged report this post

Old Post  11-30-03 - 05:49 PM  
Check the mm site for flash extensions - there is one the by Jason walker
that adds a publish option that you are after

I hope this help

as ever


--
keen to learn @ hotmail.com


"Peter Blumenthal" <mm_pete@phageinteractive.com> wrote in message
news:bq77v7$alu$1@forums.macromedia.com...
quote:
> you don't. if you want it centered vertical;ly and horizontally, you must > use a table > > }`¬P > >


Post Follow-Up to this message ]
Re: Centering SWFs
 

tralfaz




quote this post edit post

IP Loged report this post

Old Post  11-30-03 - 05:49 PM  
"Peter Blumenthal" <mm_pete@phageinteractive.com> wrote in message
news:bq77v7$alu$1@forums.macromedia.com...
quote:
> you don't. if you want it centered vertical;ly and horizontally, you must > use a table > > }`¬P
If you only need left to right centering you can use the <CENTER> tag which is still supported by all browsers. <CENTER> <OBJECT> all the object code for your flash swf file </OBJECT> </CENTER> tf


Post Follow-Up to this message ]
Re: Centering SWFs
 

Sly1211




quote this post edit post

IP Loged report this post

Old Post  11-30-03 - 05:49 PM  
Put the cursor to the left of the swf & center it using the properties inspe
ctor (lower right hand side)


-Sly-


Post Follow-Up to this message ]
Re: Centering SWFs
 

mozart2006 webforumsuser@macromedia.com




quote this post edit post

IP Loged report this post

Old Post  11-30-03 - 05:50 PM  
after your "body" tag, right the followng code:
<div align="center">
(make sure it is before your swf file)

cheers
f




Post Follow-Up to this message ]
Re: Centering SWFs
 

_posted.by\(Vern\);




quote this post edit post

IP Loged report this post

Old Post  11-30-03 - 05:50 PM  
The method below replaces the <CENTER> tags and will only center your file
horizontially - just like a <CENTER> tag does.  You are 'gonna hafta' use a
table if you want it vertically centered too.

And by the way, ALWAYS close your tags.  If you use the <DIV> tag, make sure
you close it with a </DIV>.

Regards,
--Vern


"mozart2006" <webforumsuser@macromedia.com> wrote in message
news:bqa78l$kqe$1@forums.macromedia.com...
quote:
> after your "body" tag, right the followng code: > <div align="center"> > (make sure it is before your swf file) > > cheers > f > >


Post Follow-Up to this message ]
Re: Centering SWFs
 

mozart2006 webforumsuser@macromedia.com




quote this post edit post

IP Loged report this post

Old Post  11-30-03 - 05:50 PM  
good point vern! forgot to mention closing tags AND that this method orients
 the swf to the horizontal center only....

fj




Post Follow-Up to this message ]
Re: Centering SWFs
 

malki




quote this post edit post

IP Loged report this post

Old Post  02-27-04 - 05:28 AM  
Once you publish your flash movie and look at the source code for the html
file, can that be stripped down? I don't know much about html, but it seems
that a lot of stuff is goin on in the source that is not totally neccessary.
What is the bare minimum you need to play your movie in an html file?



Post Follow-Up to this message ]
Re: Centering SWFs
 

Laiverd.COM




quote this post edit post

IP Loged report this post

Old Post  02-27-04 - 12:28 PM  
Dunno what this has to do with the subject of the post, but nevertheless.
Obviously you can skip on all parameters; they will fall to their default
value if omitted I guess. You might be interested in this article:

http://www.alistapart.com/articles/flashsatay

John

--
----------------------------------------------------------------------------
-----------
RESOURCES
http://groups.google.com/advanced_g...s_ugroup=*flash
----------------------------------------------------------------------------
-----------
TUTORIALS at
www.laiverd.com
Flash & PHP Emailform
Using textfiles in Flash
----------------------------------------------------------------------------
-----------
>




Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 04:13 AM. Post New Thread   
Pages (2): [1] 2 »   Previous Last Thread   Next Thread next
Flash Site Design archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top