Wednesday, November 22nd, 2006

SWFAddress 1.0: Deep Linking for Flash

Category: Flash, JavaScript, Library

<p>Michael Klishin has released SWFAddress 1.0, a new open source JS library (and set of simple techniques) that targets Flash/Ajax SEO and deeplinking problem.

SWFAddress uses URL rewrite at client and server-side to redirect from “plain” URL to anchored URL that SWFAddress understands and acts accordingly to what developer implemented.

Thus one can use links to SWF movie sections (or Ajax application states) that Google bot can understand but when http client is a web browser rewriting comes to the rescue and link is substituted with what Flex/Flash/Ajax application turns into application state.

Usage

  1. <script type="text/javascript" src="swfobject/swfobject.js"></script>
  2. <script type="text/javascript" src="swfaddress/swfaddress.js"></script>
  3.  
  4. // Write your own navigation logic that will be executed when the address is changed.
  5. SWFAddress.onChange = function() {  
  6.     // Your code goes here.  
  7. }
  8.  
  9. // Call the SWFAddress setter method from every button or action that requires deep linking.
  10. this.onRelease = function() {  
  11.     SWFAddress.setValue('/portfolio/');  
  12. }

Related Content:

Posted by Dion Almaer at 10:38 am
6 Comments

++++-
4 rating from 47 votes

6 Comments »

Comments feed TrackBack URI

Thank you for mentioning SWFAddress, but there’re few incorrect statements. The name of the author is mistaken, the URL rewriting happens only on the server and the code sample is a confusing mixture of JS and AS code. The SEO approach has potential and probably deserves a better explanation.

Comment by Rostislav — November 22, 2006

Hey Dion, it’s not me the creator of this cool library :) I just contributed this to news!

Comment by Michael Klishin — November 22, 2006

Seems to be what many SEOs dreamed of. I hope more openness for search-engines will bring more openness for usability-issues in flash as well. There are so many stylish but virtually unusable sites…

Comment by David — November 23, 2006

I donwloaded the demo SWFAddress 1.0, I did not change anything – It does not work, I clicked on all the buttons. The Browser back button does nto work. Am suppose to add something to the sample code?

New to programming sorry. Would like to use this functionality for my photo site I am building. Tons of photo would be nice to bookmark and link bckward and forwards.

Thanks

Comment by Andre — November 30, 2006

[...] Skaitiniai Å¡iam savaitgaliui: CSS cheat sheet – css Å¡pera, labai naudingas dalykÄ—lis. SWFAddress 1.0: Deep Linking for Flash Ten reasons why every programmer should learn C StAX’ing up XML, Part 1: An introduction to Streaming API for XML (StAX) Comparing Programming Languages in real life [...]

Pingback by » Savaitgalio skaitiniai #3 Archyvas » Pixel.lt — December 4, 2006

sdsdfsss

Comment by asd — March 22, 2007

Leave a comment

You must be logged in to post a comment.