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  





  Last Thread  Next Thread
Author
Thread Post New Thread   

Aligning Flash .swf in HTML Page
 

dnc28




quote this post edit post

IP Loged report this post

Old Post  09-21-05 - 04:20 AM  
Hi!

Have a look at these sites.

http://www.untitledstudio.com/flash.htm

http://www.uniform.net/index2.html

Both these sites have a Flash .swf file embedded into a HTML webpage.

I want to achieve the same thing for my website.  I have previously just use
d
Flash but this by default places the movie in the top right corner of the we
b
browser page.  I know you can change this before publishing in Flash, but th
ere
aren't many options, and excludes the option I want to achieve.

I want to be able to align my Flash movie so that it is centred vertically,
and centred horizontally.  The Flash movie is 760 x 550 pixels.  Is it possi
ble
for someone to create the file for me so I can drop in my Flash movie?  Can 
I
do this using Dreamweaver?  Or any other method? Any written advice would al
so
be great!

Thanks!



Post Follow-Up to this message ]
Re: Aligning Flash .swf in HTML Page
 

pixelninja




quote this post edit post

IP Loged report this post

Old Post  09-22-05 - 12:24 AM  
The first site uses a frameset to achieve what you're looking for, and the
second uses layers. I say go with the second option. Much more simple and
elegant.

You're going to need to go in and manually tweek the html code that Flash
produces.  After the BODY tag but before the OBJECT tag, put this code:

<div id="center_layer" style="position:absolute; width:762px; height:552;
z-index:1; left: 50%; top: 50%; margin-left: -381px; margin-top: -276px;
visibility: visible; overflow: visible;">

And then after the closing OBJECT  put  </div>




Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 07:08 AM. Post New Thread   
  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