Is there a way to pass a pre-defined javascript variable via
flashvars?
for example:
// pre-defined variable
var myName = "chris";
// inside SWFObject declaration
var flashvars = {userName:myName};
When I try this it breaks. I have also tried the following:
var flashvars = {userName};
flashvars.userName = myName;
var flashvars = {userName:eval(myName)};
--
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.