[SWFObject] Javascript Conflict

Geoff Stearns geoff at deconcept.com
Thu Aug 24 11:38:56 PDT 2006


i'm not sure i understand completely:

are you opening the window from within the flash file? is the swf on  
the same server as the html page?




On Aug 24, 2006, at 2:33 PM, Taviano Mail wrote:

> I have been using the regular embed tag along with the script below  
> (to launch a new window), but now that I have converted sites over  
> to the new swfobject.js workaround the new window script doesn't  
> work anymore. Is it the liveconnect=true thing that I need to  
> enable, or have you seen this conflict before? Thanks!
>
> Gabe Taviano
>
> <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>
>
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com




More information about the Swfobject mailing list