From Wikicliki
Jump to: navigation, search

SWFAddress allows deep-linking. Should be used with SWFObject at the same time.

HTML - insert this after swfobject:

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

FLASH - write your navigational logic:

SWFAddress.onChange = function() {  
      var navigation = new Object();
      navigation.home = {frame: 1, title: "Welcome"};
      navigation.about = {frame: 10, title: "About Us"};
      navigation.contact = {frame: 20, title: "Contact Us"};

      var value = SWFAddress.getValue();

FLASH - set value on buttons which lead to their own links:

this.onRelease = function() {  

HTML - your html links in your text boxes can be like this:

<a href="asfunction:SWFAddress.setValue,/portfolio/">Go to Portfolio</a>

See Also