Or just use the API method: swfobject.getQueryParamValue(paramStr)
(http://code.google.com/p/swfobject/wiki/api ) An example that uses the fictive URL "http://www.yoururl.com?foo=bar&abc=123" and passes the parameters from the URL query string to the SWF via flashvars: var flashvars = {}; if (swfobject.getQueryParamValue("foo") && swfobject.getQueryParamValue("abc")) { flashvars.foo = swfobject.getQueryParamValue("foo"); flashvars.abc = swfobject.getQueryParamValue("abc"); } var params = {}; var attributes = {}; swfobject.embedSWF("myContent.swf", "altContent", "100%", "100%", "9.0.0","expressInstall.swf", flashvars, params, attributes); Reading the docs will teach you all kinds of things :) Aran -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Friday, 20 March 2009 12:09 PM To: SWFObject Subject: Re: SWF Dynamic text I would eithe use SWFAddress, http://www.asual.com/swfaddress/ or : take the GET serverside and inject it via Flashvars into the Flash On Mar 19, 6:44 pm, ivanko91 <[email protected]> wrote: > How to do that when someone sends link to your friend, for example:http://any.com/index.html?referer=Ivanko91so would imported into the > swf into a dynamic text with var: referer? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
