varhodes
03-25-2010, 03:35 AM
I'll apologize up front for asking what is likely a stupid question, but here goes...
I created a Flash file and used the PUBLISH feature to create an .swf and .html version of the project. I prefer to use the .html file (that calls in the .swf file) because you can't see objects that move off the sides of the stage in the .html version.
However, the .swf is aligned top left in the .html and I don't know how to change it. I tried pulling the .html file into DreamWeaver, but still wasn't able to make the stage of the .swf file align to center. (Ideally, I'd like it to center vertically AND horizontally within the browser window, but I'll settle for aligned center horizontally and aligned at the top of the page vertically.)
Here's the link to the project so you can view the html source (warning file is 10MB b/c of an embedded video):
http://phd.maskreyrhodes.com/ENGL871/ExploringComics.html
Can something be changed in the .html file to center or is there a way to code this in to the .swf?
Thanks in advance for the help!
I created a Flash file and used the PUBLISH feature to create an .swf and .html version of the project. I prefer to use the .html file (that calls in the .swf file) because you can't see objects that move off the sides of the stage in the .html version.
However, the .swf is aligned top left in the .html and I don't know how to change it. I tried pulling the .html file into DreamWeaver, but still wasn't able to make the stage of the .swf file align to center. (Ideally, I'd like it to center vertically AND horizontally within the browser window, but I'll settle for aligned center horizontally and aligned at the top of the page vertically.)
Here's the link to the project so you can view the html source (warning file is 10MB b/c of an embedded video):
http://phd.maskreyrhodes.com/ENGL871/ExploringComics.html
Can something be changed in the .html file to center or is there a way to code this in to the .swf?
Thanks in advance for the help!