stephenfinn
06-28-2005, 04:26 PM
hello,
i would like to know if there is a standard way of launching a new window with flash content inside. for example, you type in a url and a splash screen comes up, maybe with a logo in it. you click on the logo and a new, chromeless HTML window comes up at the right size for the .swf file inside.
i have been using this technique:
onClipEvent(load){
this.onRelease = function(){
getURL("javascript:window.open('http://www.whatever.com/index.htm','test1','width=800,height=400,top='+
((475)-(300))+',left='+((520)-(400))+',toolbar=no,scrollbars=no,resizable=no,men ubar=no,status=no,directories=no,location=no');
%20void(O);");
}
}
the thing is that this doesnt seem to work in Opera yet i have seen other sites that do this where opera has no problem. that is why i am wondering if there is a better way to do this.
thanks
i would like to know if there is a standard way of launching a new window with flash content inside. for example, you type in a url and a splash screen comes up, maybe with a logo in it. you click on the logo and a new, chromeless HTML window comes up at the right size for the .swf file inside.
i have been using this technique:
onClipEvent(load){
this.onRelease = function(){
getURL("javascript:window.open('http://www.whatever.com/index.htm','test1','width=800,height=400,top='+
((475)-(300))+',left='+((520)-(400))+',toolbar=no,scrollbars=no,resizable=no,men ubar=no,status=no,directories=no,location=no');
%20void(O);");
}
}
the thing is that this doesnt seem to work in Opera yet i have seen other sites that do this where opera has no problem. that is why i am wondering if there is a better way to do this.
thanks