Awesome. re: the ? and # being there - won't the swf cut those out automatically? Since they are special url chars I would think they would be escaped out by the swf anyway, so it probably doesn't matter that they are there, but lets verify that.
Also, we should test what happens when you do this *and* add flashvars in the 'normal' way - will your flashvars string be lost, or does the code know to add the other vars to it? On Tue, Jan 13, 2009 at 3:11 AM, Bobby <[email protected]> wrote: > > 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 -~----------~----~----~----~------~----~------~--~---
