Load any movie on any url within same swf

Hello my friends,

I wanna make a swf movie which changes according to the page that published. I have a wordpress page and it has different (8 languages). On each language page my swf looks the same… I want that it changes in each language page for example it calls a behavior on wwwdomaincom/tr and it calls another action on wwwdomaincom/en and another on wwwdomaincom/debla bla bla… is it possible?

i tried this code:

function getURLhttp() {
var urlPath = ExternalInterface.call(“window.location.href.toStr ing”);
urlActions();
}
function urlActions(){

if(urlPath.indexOf(“wwwmydomaincom”) != -1){
tr_btn.gotoAndStop(2);
}

else if(urlPath.indexOf(“wwwmdomaincom/en/”) != -1){
en_btn.gotoAndStop(2);
}

else if(urlPath.indexOf(“wwwmydomaincom/de/”) != -1){
de_btn.gotoAndStop(2);
}
}
getURLhttp();