Some say that Flash animations are annoying and detract from the real content of a website. Other SEO experts indicate that a developer should learn to use "work-arounds" by designing two different sites for the same project - one site that is Flash enabled and another site that is not. This work-around would allow visitors to decide whether or not they want to see a Flash presentation when they visit a website and still allow search engine indexing programs to fully spider the site. The SEO argument and work-around are important to consider particularly because there are still many web users who do not connect to the internet using a high speed access.
So it becomes even more important to be able to place text on a web page and at the same time position Flash objects appropriately. But even with this work-around, finding the right HTML code that helps a Flash
developer make best use of his/her animation the for a web project can be frustrating. A simple "centering an object" search on the Adobe Flash website returns 275 results. None of which are particularly useful for achieving the goal of centering a Flash object.
Finding the right HTML code for a web project can be frustrating. Often new website developers who have problems centering objects on webpages give up too soon leaving the page looking unattractive.
To make web content pleasing to the eye, it is important that a Flash object is centered perfectly on the page.
To do this quickly, follow these easy steps:
1) Within the coding section of your web editor software, type the code that is in Illustration 1 just before the object code:
2) The code in Illustration 1centers everything that appears after it. But, we only want to center the object. So, now we must tell the browser to stop centering all of information on the page and only center the Flash object. To do this, type the code that is in Illustration 2 just after the end of the object code.
Illustration 3 shows an example of what the above might look like if you are in coding mode within your web editor.
That's all there is to it!
Published by JC Lamkin
Twitter: @TechCrusader business woman, tech guru, community developer, and author. View profile
- Styling CSS and HTML Unordered Lists
- Basic HTML Tutorial
- How to Make a Webpage Using HTML - Part I
- Build Your Own Website - Part 3: HTML Code
- How to Use Flash Banner Creator
- Centering an Adobe Flash object
- There are many things to consider when using Flash
- Tips for Webs developers





2 Comments
Post a Commenti am trying to set a Vimeo video to center in a small HTML page. For some reason i cannot see the illustration you are mentioning on this article. Could you just post it the code in text format in the body of the article .
Thanks
Thank you so much! I could not center my flash slideshow on my website and this worked great!
Thanks again.
John Cobb at http://www.johncobbmiddlega.com/custom1.shtml