swfobject.getQueryParamValues comes straight from the SWFObject 1.5
codebase, and to be honest I never considered that it returns the
whole query string if you don't supply an argument to it. That it
includes # or ? is a bug IMO, so I will solve it in the next alpha. I
will also add this usage to the documentation.
Aran, in your example you made a mistake in defining the params:
swfobject.embedSWF("AS3.params.swf?test3=foo", "flash", "550", "400",
"9.0.0", false, params, {}, {});
should be:
swfobject.embedSWF("AS3.params.swf?test3=foo", "flash", "550", "400",
"9.0.0", false, {}, params, {});
I have just retested it using the flashvars test pages and:
swfobject.embedSWF("test6_flashvars.swf", "myContent", "300", "120",
"9.0.0", "expressInstall.swf", null, { flashvars:
swfobject.getQueryParamValue().substring(1) }, null); and all works as
intended.
Elliot, answering your original question, Geoff and Aran are right,
you can already do this pretty easily, again we should document this
better. It's a good suggestion, however, because we try to keep
SWFObject's codebase as small as possible, we will only in very rare
cases add functionality.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---