SWFAddress 1.0: Deep Linking for Flash
Written by on November 22nd, 2006 in Ajax News.
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
<script type=”text/javascript” src=”swfaddress/swfaddress.js”></script>
// Write your own navigation logic that will be executed when the address is changed.
SWFAddress.onChange = function() {
// Your code goes here.
}
// Call the SWFAddress setter method from every button or action that requires deep linking.
this.onRelease = function() {
SWFAddress.setValue(’/portfolio/’);
}
Source: Ajaxian
Original Article: http://ajaxian.com/archives/swfaddress-10-deep-linking-for-flash