[SWFObject] Opera and Firefox

Aran Rhee aran.rhee at qdc.net.au
Wed Aug 16 00:21:43 PDT 2006


Chris
 
quickly looking through the swfObject code, you can see that you can set it
as the last param in the constructor:
 
deconcept.SWFObject = function(swf, id, w, h, ver, c, useExpressInstall,
quality, xiRedirectUrl, redirectUrl, detectKey)
 
which means you should be able to do something like:
 
var so = new SWFObject("movie.swf", "mymovie", "200", "100", "7", "#336699",
false, "high", "", "", false);
so.write("flashcontent");
 
I am actually unsure as what to pass in for the no value xiRedirectUrl and
redirectUrl values without testing it, but if it is not an empty string (as
above), then you should be able to pass in null.
 
var so = new SWFObject("movie.swf", "mymovie", "200", "100", "7", "#336699",
false, "high", null, null, false);

 
Geoff, any quick clarification you can add to this?

 
Cheers,
Aran

  _____  

From: swfobject-bounces at lists.deconcept.com
[mailto:swfobject-bounces at lists.deconcept.com] On Behalf Of Chris Colman
Sent: Wednesday, 16 August 2006 3:57 PM
To: swfobject at lists.deconcept.com
Subject: Re: [SWFObject] Opera and Firefox


How do I get the effect of detectflash=false without having to make sure the
page was requested with the ?detectflash=false parameter?
 
Chrisco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060816/4ae80222/attachment-0005.htm>


More information about the Swfobject mailing list