Hi, If i were to have a flash header and within this, use an editable external header file, can i put in H1 tags and would these be valid. h1 tags are good with html and css but what about using it in a flash header? For example: HeaderH1Txt=MY TEXT &sloganH2=YMY TEXT Has anyone tried this - how it worked with u or against your results? Thanks fuzz
You'd have to nest the H1 heading inside the Flash file - those that can't use the Flash file would get the heading instead. Here's an example: (Bear in mind it uses XHTML syntax here - if you're using HTML, remove the space and slash from the PARAM element) <object type="application/x-shockwave-flash" data="http://www.youtube.com/v/XWkoYczp3qs" width="425" height="355"> <param name="movie" value="http://www.youtube.com/v/XWkoYczp3qs" /> <h1>Selling Toyotas in Scotland</h1> </object> Code (markup): Obviously, the YouTube video wouldn't be your Flash heading (I took this from my Opera.com blog and added the heading), but if your heading was made with Flash, the Flash file would be there instead of the video. If I couldn't see the Flash file, I'd get the heading instead. As it is, with the YouTube video and the H1 heading inside the same block of code, the search engines would pick that up as spam, cloaking and keyword stuffing - and ban you for it. However, if you had a Flash file that had the exact same text as the heading (in this case "Selling Toyotas in Scotland") you'd very likely be fine. Here's the link to the video I used as an example for those who are interested: http://www.youtube.com/watch?v=XWkoYczp3qs&NR=1
Hi Dan, Thanks for the in depth reply. I wasnt too sure how it worked till your example. I would definately have to change the flash file title, but it could still be percieved by google as a spammy way. Might be better to leave the flash as it is - and place a h1 below. Do SE's dislike use of flash in a header? I mean they dont have anything to go by do they - thus the h1 below. Thanks fuzz
If the heading matches the content of the Flash file (in other words, it's being used as a fallback for those who don't have Flash), the search engines will be fine with it. It's only "spammy" when you use the heading to provide content to the search engines that most people wouldn't see. It's the same thing with CSS based image substitution techniques such as Gilder/Levin. As long as everyone gets the same content regardless of HOW they get it, then you're in the all-clear and have nothing to worry about. So go ahead and put your H1 heading inside the OBJECT element that contains your Flash heading. You'll be fine.