yep.

//inside js script block

var myvar = "abc123";

var flashvars = {};
flashvars.myvalue = myvar;

// or this is the same
// var flashvars = { myvalue : myvar };


Cheers,
Aran


On Tue, Nov 9, 2010 at 8:32 AM, Raf <[email protected]> wrote:

> Hello,
> Is it possible to use the  flashvar file paramater as a variable maybe
> im doing a bad job refrepshing this so
>                        var flashvars = {
>                            'file':               'Variable name',
>                       };
> is it possible to change the area Variable name to a javascript
> variable?
>
> --
> 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]<swfobject%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/swfobject?hl=en.
>
>

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