Macromedia Flash Server - FlashComm and cookies

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > May 2005 > FlashComm and cookies





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author FlashComm and cookies
Mart Gordon

2005-05-05, 5:45 pm

I need to send a cookie as a variable to FCS which then gets output to a
perl script via netServices when an onSave function is called in the
Flash movie.

The application is a video record app that punts the recorded flv to a
users webspace when they hit the save button. The cookie needs to come
from the page that is holding the Flash movie.

Having never played around with Flash and cookies before, is there a way
of Flash reading the content of a cookie and storing it in a variable
that it then sends to the FCS before outputting it via the PERL script?

TIA

Mart


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Michael D. Randolph

2005-05-05, 5:45 pm

I'm not sure what server-side language you are using, but I know this is
possible using ASP.NET. You just get the cookies values and place them
in the FlashVars <param> tag in your object definition. This way the
values are in your flash app. Then just have flash send them to FCS and
run your function. This should work...

Michael Randolph



-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Mart
Gordon
Sent: Thursday, May 05, 2005 11:18 AM
To: FlashComm Mailing List
Subject: [FlashComm] FlashComm and cookies

I need to send a cookie as a variable to FCS which then gets output to a

perl script via netServices when an onSave function is called in the
Flash movie.

The application is a video record app that punts the recorded flv to a
users webspace when they hit the save button. The cookie needs to come
from the page that is holding the Flash movie.

Having never played around with Flash and cookies before, is there a way

of Flash reading the content of a cookie and storing it in a variable
that it then sends to the FCS before outputting it via the PERL script?

TIA

Mart


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm



Bill Sanders

2005-05-05, 5:45 pm

Michael,

Do you mean your LoadVars<param> instead of FlashVars?

Bill

On May 5, 2005, at 11:22 AM, Michael D. Randolph wrote:

> I'm not sure what server-side language you are using, but I know
> this is
> possible using ASP.NET. You just get the cookies values and place
> them
> in the FlashVars <param> tag in your object definition. This way the
> values are in your flash app. Then just have flash send them to
> FCS and
> run your function. This should work...
>
> Michael Randolph
>
>
>
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Mart
> Gordon
> Sent: Thursday, May 05, 2005 11:18 AM
> To: FlashComm Mailing List
> Subject: [FlashComm] FlashComm and cookies
>
> I need to send a cookie as a variable to FCS which then gets output
> to a
>
> PERL script via netServices when an onSave function is called in the
> Flash movie.
>
> The application is a video record app that punts the recorded flv to a
> users webspace when they hit the save button. The cookie needs to come
> from the page that is holding the Flash movie.
>
> Having never played around with Flash and cookies before, is there
> a way
>
> of Flash reading the content of a cookie and storing it in a variable
> that it then sends to the FCS before outputting it via the perl
> script?
>
> TIA
>
> Mart
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>



=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Michael D. Randolph

2005-05-05, 5:45 pm

Well I suppose that could work too...but I was thinking the Flash app
was going to be sitting on an active page (aspx, asp, php...) and that
way the variable could just be fed in using FlashVars...but LoadVars
would work too.

Michael Randolph

-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Bill
Sanders
Sent: Thursday, May 05, 2005 11:25 AM
To: FlashComm Mailing List
Subject: Re: [FlashComm] FlashComm and cookies

Michael,

Do you mean your LoadVars<param> instead of FlashVars?

Bill

On May 5, 2005, at 11:22 AM, Michael D. Randolph wrote:

> I'm not sure what server-side language you are using, but I know
> this is
> possible using ASP.NET. You just get the cookies values and place
> them
> in the FlashVars <param> tag in your object definition. This way the
> values are in your flash app. Then just have flash send them to
> FCS and
> run your function. This should work...
>
> Michael Randolph
>
>
>
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Mart
> Gordon
> Sent: Thursday, May 05, 2005 11:18 AM
> To: FlashComm Mailing List
> Subject: [FlashComm] FlashComm and cookies
>
> I need to send a cookie as a variable to FCS which then gets output
> to a
>
> PERL script via netServices when an onSave function is called in the
> Flash movie.
>
> The application is a video record app that punts the recorded flv to a
> users webspace when they hit the save button. The cookie needs to come
> from the page that is holding the Flash movie.
>
> Having never played around with Flash and cookies before, is there
> a way
>
> of Flash reading the content of a cookie and storing it in a variable
> that it then sends to the FCS before outputting it via the PERL
> script?
>
> TIA
>
> Mart
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>



=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm



Bill Sanders

2005-05-05, 5:45 pm

Michael,

Ok, I see your approach. No need for LoadVars() as you suggest.

Bill

On May 5, 2005, at 11:28 AM, Michael D. Randolph wrote:

> Well I suppose that could work too...but I was thinking the Flash app
> was going to be sitting on an active page (aspx, asp, php...) and that
> way the variable could just be fed in using FlashVars...but LoadVars
> would work too.
>
> Michael Randolph
>
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Bill
> Sanders
> Sent: Thursday, May 05, 2005 11:25 AM
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] FlashComm and cookies
>
> Michael,
>
> Do you mean your LoadVars<param> instead of FlashVars?
>
> Bill
>
> On May 5, 2005, at 11:22 AM, Michael D. Randolph wrote:
>
>
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>



=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com