Hi,
I’ve found about SWFAddress on asual website months ago, but I still cannot use it to create deep linking on my flash website. The website doesn’t provide enough tutorial for me and I couldn’t find more tutorial about it. Is there anyone who can guide me to create deep linking? Or perhaps some tutorials about it?
So far I’ve tried to make a simple frame based flash website. I just simple attach this actionscript for the buttons:
b1.onRelease = function(){
page_mc.gotoAndStop(1);
}
b2.onRelease = function(){
page_mc.gotoAndStop(2);
}
b3.onRelease = function(){
page_mc.gotoAndStop(3);
}
Based on tutorial I’ve found so far, I changed the as into this:
b1.onRelease = function () {
SWFAddress.setValue("/home");
}
b2.onRelease = function () {
SWFAddress.setValue("/about");
}
b3.onRelease = function () {
SWFAddress.setValue("/contact");
}
SWFAddress.onChange = function () {
var navigation = new Object();
navigation.home = {frame: 1, title: "Welcome"};
navigation.about = {frame: 2, title: "About Us"};
navigation.contact = {frame: 3, title: "Contact Us"};
var value = SWFAddress.getValue();
body_mc.gotoAndStop(navigation[value].frame);
SWFAddress.setTitle(navigation[value].title);
}
But it’s not working.
Could anyone help me?
thanks,
ndableg