[SWFObject] Javascript Conflict

Geoff Stearns geoff at deconcept.com
Thu Aug 24 12:52:07 PDT 2006


well if it works with a normal embed, it should be fine with  
SWFObject as long as the parameters are all there.

I noticed you have allowScriptAccess="sameDomain" in the embed - did  
you include that when you created the new SWFObject?

(can we see the version that uses swfobject too?)



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

> I basically load smaller flash files into holders inside of the  
> main flash file, and usually from those or the main file I can do a  
> geturl and call the launchwin javascript function that is in the  
> HTML file. You can my site at www.godsmac.com.......even though it  
> is temporarily switched back to using the regular embed right now  
> so the mp3 library popup link opens (inside of the Ways to Listen  
> box). Thanks for your response!
>
> Gabe Taviano
>
> From: Geoff Stearns <geoff at deconcept.com>
> Sent: Thursday, August 24, 2006 1:41 PM
> To: swfobject at lists.deconcept.com
> Subject: Re: [SWFObject] Javascript Conflict
>
> 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
> >
> >
> > 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
>
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060824/d9e45f8e/attachment-0005.htm>


More information about the Swfobject mailing list