Posts Tagged ‘javaScript’

JavaScript, Flash and Google

Thursday, November 13th, 2008

There is a lots of rumors that Google starts indexing of Adobe Flash files that are created with great JavaScript SWFObject.

In a case that you are not using SWFObject here is short official explanation of library use:

“SWFObject is a small Javascript file used for embedding Adobe Flash content. The script can detect the Flash plug-in in all major web browsers (on Mac and PC) and is designed to make embedding Flash movies as easy as possible. It is also very search engine friendly, degrades gracefully, can be used in valid HTML and XHTML 1.0 documents, and is forward compatible, so it should work for years to come.”

Code example:

<script type="text/javascript" src="swfobject.js"></script>

<div id="flashcontent">
This text is replaced by the Flash movie.
</div>

<script type="text/javascript">
var so = new SWFObject("movie.swf", "mymovie", "400", "200", "8", "#336699");
so.write("flashcontent");
</script>

Lets reveal that mystery…

Experiment is created with Adobe Flash CS3 and published for Flash Player 9 and ActionScript 2.0

flash will go here


November 13th

Finally we have some news and I am glad that news is good!:)
Google just indexed content of .swf file that is generated with JavaScript Object script.
Here you can list indexed flash file.