Hi I've managed to set focus for my movie which is launched as a popup window using the following


in flash:


getURL("javascript:focusMovie()", "_self");



on html page:



var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
function focusMovie(){
window.document.mpassword.focus();
window.moveTo(0,0);
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 ) {
window.resizeTo( screen.availWidth,screen.availHeight);
}else{
window.resizeTo( screen.availWidth-20,screen.availHeight-30);
}

}





but it is not working on the mac with ie 5.2 or NetScape
basically window.document.mpassword.focus(); is not working

(my movie has the ID mpassword)



How do you do it for a mac?
[Edited by ceeacs on 08-19-2002 at 11:52 AM]