I want to change the title in the browser from a button in flash but I cant get it to work
It works when I test it with alert (the variable gets passed correctly from flash) and when calling it from the html file but not when I call it from flash.
Anybody got a clue?
<script type="text/javascript">
function setTitle(theTitle){
document.title = theTitle + " FLASH PORTFOLIO";
//alert(theTitle); alert works from flash
}
setTitle("ABOUT ME");
//works from the html
</script>
//actionscript
getURL("javascript:setTitle('test');");