Did you ever get anywhere with this?  I just stumbled upon a similar
requirement.


On Dec 8, 5:50 am, mikael <mikael.mol...@gmail.com> wrote:
> Hi
>
> I have aflash(swf) file that needs rather extensive input in form 
> offlash-vars. Myflashcolleague would like to recieve theflash-vars as
> an object (JSON). Have any of you tried that - or maybe even extended
> Luke's (great!)plugin? This is how you feedflash-vars to the movie
> 'out of the box':
>
> $('#example').flash( {
>     src: 'example.swf',
>     width: 720,
>     height: 480,
>     flashvars: { foo: 'bar', baz: 'zoo' }
>     },
>     { version: 8 }
> );
>
> This is what I need:
>
> $('#example').flash( {
>     src: 'example.swf',
>     width: 720,
>     height: 480,
>     flashvars: {
>         'my-object': {
>             'foo': 'bar',
>             'baz': 'zoo'
>         }
>     },
>     { version: 8 }
> );

Reply via email to