try

  var flashvars = {};

flashvars.item = $.address.path();

- S




On 26 May 2010 16:45, tw4n <[email protected]> wrote:

> Hi There,
>
> What I am trying to do is to replace a flashvar in swfobject with the
> deep link value of the address bar.
> So http://www.example.com/#/1
> should change the flashvar item value into:
>
> <script type="text/javascript">
>   var flashvars = {
>      'item':           '1'
>   };
>
> I am using jquery address and on their site they explain that you can
> pull out the deeplink value with
> $.address.path();
>
> How do I implement this value into the swfobject flashvar?
>
> <script type="text/javascript">
>   var flashvars = {
>      'item':           '$.address.path();'
>   };
>
> Is it impossible to run javascript in this place? do I need to store
> it in variable first and if so how do I call the variable inside
> swfobject?
>
> Thanks in advance.
>
> --
> 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