I think we should get rid of the ? and # anyway.

Although unusual, the flashvars object and the params flashvars
notation can be mixed and matched, this is the code we currently have
in place:

                                        var par = {};
                                        if (parObj && typeof parObj
=== OBJECT) {
                                                for (var j in parObj)
{
                                                        par[j] = parObj
[j];
                                                }
                                        }
                                        if (flashvarsObj && typeof
flashvarsObj === OBJECT) {
                                                for (var k in
flashvarsObj) {
                                                        if (typeof
par.flashvars != UNDEF) {
 
par.flashvars += "&" + k + "=" + flashvarsObj[k];
                                                        }
                                                        else {
 
par.flashvars = k + "=" + flashvarsObj[k];
                                                        }
                                                }
                                        }

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to