Sorry, I am not sure what your issue is. Any variable(s) you pass in via
flashvars will be available in your swf on the 1st frame.


If your address is :

http://any.com/index2.html?referer=Ivanko91


And if you have this code on your HTML page:

var flashvars = {};
if (swfobject.getQueryParamValue("referer"))
{
  flashvars.foo = swfobject.getQueryParamValue("referer");
}
var params = {};
var attributes = {};
swfobject.embedSWF("some.swf", "altContent", "550", "400",
"9.0.0","expressInstall.swf", flashvars, params, attributes);



In your swf you can do something like:

myTextField.text = referrer;



I don't know what else you want.



Aran

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of ivanko91
Sent: Friday, 20 March 2009 2:21 AM
To: SWFObject
Subject: Re: SWF Dynamic text


I have small problem becouse i need from adress import to the dynamic
text into the flash with var referer. So dynamic text with
var=Ivanko91 from url adress. Example: Adress is:
http://any.com/index2.html?referer=Ivanko91 and in flash write in
dynamic text variable from adress and thus there: Dynamic
text="Ivanko91"
And user has got input text where write his nick. Adress is
http://any.com/index2.html?referer=Any from user in flash. So is it
optional from input text.



--~--~---------~--~----~------------~-------~--~----~
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