Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Passing a CGI variable to a GET URL - possible? {URGENT} |
From: | Jefferis |
Date: | Tue, 11 Apr 2000 01:43:51 +0100 |
Matt Wobensmith
Thanks Matt. I did cc it to the flash list, as well as this one.
So basically, you are saying that the Load Variable command in an action
script button [even if it isn't in the first scene of the flash .swf,
will allow me to load the Member ID from the html Embed tag into the Get
Url of the button?
The server folks are writing the CGI. So that will be their problem, but
I just need to be able to load the button variable properly.
Thanks again,
Jeff
>Hi Jefferis -
>
>>It sounds
>>like loading variables from the OBJECT and EMBED tags requires a text
>>file to be created via a Text Variable.
>
>Actually, the text field is only used for demonstrative purposes.
>
>When the CGI writes the HTML, it can pass a parameter into the newly
>written HTML. This can be a variable and value it received from the
>previous URL. Then, the easiest way it can get to the next movie is to add
>it in the OBJECT and EMBED tags of the new page. Does that make sense?
>
>It's like this - the user is on page1.html and they are in a Flash movie.
>When they leave, they are assigned an ID number - memberID equals "12345".
>They leave this Flash movie with a GetURL to a CGI script, which writes
>the HTML for page2. Like this:
>
>Set Variable "memberID" = 12345
>Get URL ("page2.cgi", vars=GET)
>
>The CGI script receives the variables passed from the first movie, and
>writes the HTML for the next page. In this page, you can use the passed
>values to write them into the HTML like I mentioned in the last post.
>
>When a variable and value is appended into these HTML tags, it is
>identical to having declared them in the movie. As in -
>
><EMBED src="myMovie.swf??memberID=123456789>
>
>is the same as having an action on the first frame of the movie that says
>
>Set Variable "memberID" = 123456789
>
>As far as what you need to do in your CGI script / Perl to make this
>happen, I don't know enough.
>
>Do me a favor and post this and any other questions to the Flasher-L list
>so others can contribute who may know more than I do. Thanks -
>
>Matt
Jefferis Peterson, Pres.
Web Design and Marketing
http://www.PetersonSales.net
Tel & Fax. 724-458-7169
ICQ 19112253
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]