Hi there
am using flash, php and mysql to create an application. Throughout this i need to allow users to open files which is where i use javascript to open them in a new window. THe problem is that I keep getting this error when i try to access the files remotely through the website but it seems to work when i test using local host....its driving me mad!! Doea anyone know the answer?? Here is the error message i keep gett and after that I have inserted the javascript i use to open a new window. Hope someone can help!
Line: 1
Char: 1
Error: The callee (server[not server application]) is not available and disappeared; all connections are invalid. The call did not execute.
Code: 0
And the js is as follows:
<SCRIPT LANGUAGE="JavaScript">
var newwin;
function launchwin(winurl,winname,winfeatures)
{
//This launches a new window and then
//focuses it if window.focus() is supported.
newwin = window.open(winurl,winname,winfeatures);
if(javascript_version > 1.0)
{
//delay a bit here because IE4 encounters errors
//when trying to focus a recently opened window
setTimeout('newwin.focus();',250);
}
}
</SCRIPT>