| Author |
Problem with Flash Centering
|
|
| LisaSeels 2007-08-20, 6:16 pm |
| Hello, I am somewhat new to Flash. I have a reference book that doesn't detail
what to do if the SWF and HTML file is not centered in the middle of the
screen. It only gives me the option of top, bottom,left, or right. Is there a
way to center the viewing area? Or should I make my work area a different
size? Right now it is 900x540 pixels to accomodate smaller monitors.
Help please!
| |
| dzedward 2007-08-20, 6:16 pm |
| place your object tag in this, it will center it vertically and horizontally
<div style="position: absolute; top: 50%;display: table-cell; vertical-align:
middle; text-align: center; width: 100%; padding: 0;">
</div>
| |
| LisaSeels 2007-08-21, 6:16 pm |
| I opened the HTML file in Flash and pasted your code at the top but it didn't work. Am I approaching that the right way?
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |