Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Aperture

macrumors 68000
Original poster
Mar 19, 2006
1,876
0
PA
Hi. I just downloaded Dreamweaver (Trial:D) and am trying to use it to create a simple HTML file with my Flash Movie in it. I inserted the movie and am trying to get it to appear in the center of a browser window. So, when I view it in a browser the flash in completely centered on the page. Both up/down. I guess its a pretty noobish question.:p Ok, thanks!

Kevin
 
schaef2493 said:
Hi. I just downloaded Dreamweaver (Trial:D) and am trying to use it to create a simple HTML file with my Flash Movie in it. I inserted the movie and am trying to get it to appear in the center of a browser window. So, when I view it in a browser the flash in completely centered on the page. Both up/down. I guess its a pretty noobish question.:p Ok, thanks!

Kevin
Let's see:
<table width="100%" height="100%" style="position:absolute; top:0px; left:0px;"><tr><td valign="middle">
<center>flashmovie here</center></td></tr></table>
 
Centering horizontally is pretty straight forward. Just select your flash clip and click on the "align center" in the properties panel in Dreamweaver.
 
angelneo said:
Centering horizontally is pretty straight forward. Just select your flash clip and click on the "align center" in the properties panel in Dreamweaver.
Yeah, and to center it vertically, you have to create a table that is absolutely at 0,0 on the page, then make a row and a column <tr><td> respectively, and with the column (I think TD stands for table data, like cell data) and valign that, vertical align, to the middle of the page. How I showed previously. Oh and you have to use style's (CSS styles), that's why its <table style=""> anyways, if you don't know HTML and CSS, learn it, that's the only way you can make almost flawless to flawless pages.
 
Dreamweaver....NO! EVIL! CRAP!

I use a free app. called Nvu or RapidWeaver allot better and nicer to use

with RapidWeaver you use templates but you can make your own but I'm still trying to learn that part.
 
Any HTML/CSS code that I have seen spit out by a website editor is enormously redundant. If I were you I would do it all by hand like me, that way it is easier to read and edit if you don't have the editor.
 
x704 said:
Any HTML/CSS code that I have seen spit out by a website editor is enormously redundant. If I were you I would do it all by hand like me, that way it is easier to read and edit if you don't have the editor.
A lot of times its better to just code it by hand because with the WYSIWYG sites, there are errors that don't display things properly - even if its coded almost perfect - knowing how to hard code it is better than trying to fumble with an editor like NVU, RapidWeaver, iWeb, Dreamweaver, GoLive, etc.
 
with dreamweaver, when you are viewing the website in the split mode..i.e. where you can see both the design and the coding mode....the flash movie or an image file will not show in the center (in the design mode).but if you preview it in a browser..it should be in the center..otherwise just set up a CSS stylesheet for the image and in the positioning options..center it..
Good Luck
 
slooksterPSV said:
A lot of times its better to just code it by hand because with the WYSIWYG sites, there are errors that don't display things properly - even if its coded almost perfect - knowing how to hard code it is better than trying to fumble with an editor like NVU, RapidWeaver, iWeb, Dreamweaver, GoLive, etc.

Offcourse nonetheless dreamweaver is a great app, especially if you don't feel like learning html/css. Knowledge of html will make designing websites easier (it isn't that hard), but I think these WYSIWYG programs give a lot of people a chance to make a website who previously weren't able too.
 
schaef2493 said:
Hi. I just downloaded Dreamweaver (Trial:D) and am trying to use it to create a simple HTML file with my Flash Movie in it. I inserted the movie and am trying to get it to appear in the center of a browser window. So, when I view it in a browser the flash in completely centered on the page. Both up/down. I guess its a pretty noobish question.:p Ok, thanks!

Kevin

I do this on my site (below: RM)

Example:
http://blog.deconcept.com/swfobject/fullpage.html

Info:
http://blog.deconcept.com/swfobject/
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.