Part 4. Flash alertnate content, White hat usage and source code

Dynamic SEO tags for your Flash site using PHP

Best Uses of Flash –
See point #2 in regards to sIFR, an ideologically similar concept to CSS image replacement, which suffers from the same potential abuse vectors. As this is a Google blog, it appears sIFR has an official blessing. Also mentioned in this article is a similar guideline to the previous one: show users and the Googlebot the same content. Sensing a theme here?

<html xmlns=”” xml:lang=”en” lang=”en”>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ />
<title><?=$globalPageTitle.” “.$title?></title>
<meta http-equiv=”content-type” content=”text/html; charset=utf-8″ />
<meta name=”Description” content=”<?=$description?>”>
<meta name=”Keywords” content=”<?=$keywords?>”>

<script type=”text/javascript”>
var gaJsHost = ((“https:” == document.location.protocol) ? “https://ssl.” : “http://www.”);
document.write(unescape(“%3Cscript src='” + gaJsHost + “’ type=’text/javascript’%3E%3C/script%3E”));
<script type=”text/javascript”>
var pageTracker = _gat._getTracker(“UA-1694586-18″);

<script type=”text/javascript” src=”/js/swfobject.js”></script>
<script type=”text/javascript” src=”/js/swfaddress.js?tracker=pageTracker._trackPageview”></script>
<script type=”text/javascript” src=”/js/swfmacmousewheel.js”></script>
<script type=”text/javascript” src=”/js/swfforcesize.js”></script>

<style type=”text/css”>

/* hide from ie on mac */
html {
height: 100%;
overflow: auto;

#flashcontent {
position: absolute;
top: 0px;
left: 0px;
height: 100%;
width:  100%;
/* end hide */

body {
height: 100%;
margin: 0;
padding: 0;
background: #f2f1ed url(‘/images/bg.jpg’) center center repeat-x; margin:0px; padding:0px;

margin: 0;
padding: 0;

<div id=”flashcontent”>
<a href=””><img src=”/get_flash_page.gif” border=”0″></a><br>
<a href=””>Click here</a> to download the latest flash player to view this site.
<script type=”text/javascript”>
// <![CDATA[

var so = new SWFObject(“/site_final7.swf”, “source”, “100%”, “100%”, “8”);

so.addParam(“menu”, “false”);
so.addParam(“scale”, “noscale”);

if( so.write(“flashcontent”) ){
var forcesize = new SWFForceSize(so, 975, 620);

SWFAddress.setValue(‘<?=$requestedDeepLink.”/”?>’); // Trigger SWFAddress event to load correct flash section, add “/”
// ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *