Hi everyone ,
Im using swf address at the moment all is working well but there is one thing I would like to tweak.
The code below displays my URL as www.swfaddress.com/#this?id=That
What code do I need to change to make it display the url as: www.swfaddress.com/this/that
The flag on the relevant keyframe for this address is: $this?id=That
SWFAddress.setStrict(false);
SWFAddress.onChange = function() {
var value = SWFAddress.getValue();
var path = SWFAddress.getPath();
var id = SWFAddress.getParameter('id');
if (_currentframe == 2 && value == '') {
play();
} else {
gotoAndStop('$' + value);
}
var title = ‘Swf Address’;
var names = SWFAddress.getPathNames();
for (var i = 0; i < names.length; i++) {
title += ' :: ' + names*.substr(0,1).toUpperCase() + names*.substr(1);
}
var id = SWFAddress.getParameter('id');
if (id != '') {
title += ' :: ' + id;
}
SWFAddress.setTitle(title);
}
stop();
Thanks for having a look.