gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] How to pass flash variable to gnash


From: Herman Schultz
Subject: Re: [Gnash-dev] How to pass flash variable to gnash
Date: Sun, 3 Jun 2007 12:11:58 -0500

Thanks. 
I tried this:
./gui/gnash ~/src/flash/player2.swf -P FlashVars=video_id=3&t=134
and i only get this:

NetConnection: /get_video?video_id=3&t=undefined


But only 1 parameter 'video_id' get passed, but the other one 't' does not.

Can you please tell me if this is support in gnash?

Thank you.

On 6/3/07, strk <address@hidden> wrote:
On Sun, Jun 03, 2007 at 07:00:37AM +0100, Martin Guy wrote:
> 2007/6/3, Herman Schultz < address@hidden>:
> >I am able to compile gnash on ubuntu.
> >When i run it with a swf file with a argument like this:
> >./gui/gnash ~/src/flash/player2.swf -P video_id=3
>
> Hi
>   "gnash --help" says:
>
>        -P <param>  Set parameter (ie. "FlashVars=A=1&b=2")
>
> Maybe that's the syntax you need; I guess from that that the
> "parameters" are gnash configuration parameters, not Flash variables,
> and that "FlashVars=" is some special one to do what you want, but I
> am just guessing. Give it a try! :)

Yes, -P is for gnash parameters. It is based on the <embed> tag, which
passes parameters to the plugin. We only support the FlashVars parameter
so far, but many movies also pass quality,size, movie url etc. etc.

--strk;


reply via email to

[Prev in Thread] Current Thread [Next in Thread]