Difference between revisions of "SWFAddress"

From Wikicliki
Jump to: navigation, search
Line 1: Line 1:
 
SWFAddress allows deep-linking. Should be used with [[SWFObject]] at the same time.
 
SWFAddress allows deep-linking. Should be used with [[SWFObject]] at the same time.
 +
 +
insert this after swfobject:
 +
<pre><script type="text/javascript" src="swfobject/swfobject.js"></script> 
 +
<script type="text/javascript" src="swfaddress/swfaddress.js"></script></pre>
 +
 +
write your navigational logic:
 +
<pre>SWFAddress.onChange = function() { 
 +
    // Your code goes here. 
 +
}</pre> 
 +
 +
set value on buttons which lead to their own links:
 +
<pre>this.onRelease = function() { 
 +
    SWFAddress.setValue('/portfolio/'); 
 +
}</pre> 
 +
 +
== See Also ==
  
 
*[http://modern-carpentry.com/talk/?p=15 SWFAddress, SWFObject, and Flash] - someone tries to explain how to use it in AS3
 
*[http://modern-carpentry.com/talk/?p=15 SWFAddress, SWFObject, and Flash] - someone tries to explain how to use it in AS3
 
*[http://www.adobe.com/devnet/flash/articles/deep_linking.html Adobe Developer Center on Deep Linking methods] - another method offered for Deeplinking using the Hash
 
*[http://www.adobe.com/devnet/flash/articles/deep_linking.html Adobe Developer Center on Deep Linking methods] - another method offered for Deeplinking using the Hash
 
*[http://www.flashden.net/item/deep-link-flash-template/6971]
 
*[http://www.flashden.net/item/deep-link-flash-template/6971]
 
+
*[http://www.asual.com/swfaddress/ SWFAddress Website]
*[http://www.asual.com/swfaddress/ SWFAddress]
 

Revision as of 09:27, 20 June 2008

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

insert this after swfobject:

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

write your navigational logic:

SWFAddress.onChange = function() {  
    // Your code goes here.  
}

set value on buttons which lead to their own links:

this.onRelease = function() {  
    SWFAddress.setValue('/portfolio/');  
}

See Also