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 00:13:54 +0100

On Mon, 10 Apr 2000 13:31:48 -0800, "Matt Wobensmith"
<mwobensmithatmacromedia [dot] com> wrote:

Thanks Matt,

I was looking at the instructions, and I was a bit confused. I sounds
like loading variables from the OBJECT and EMBED tags requires a text
file to be created via a Text Variable. It then displays in a text field.
But what I need to do is draw the variable of Member ID into the Action
script on a button, so that the GET URL loads the variable

http://www.xyz.com/MemberID/

It sounds from your description below that the variable is the Flash
movie itself, rather than the html page in which it is embedded and in
which it resides.

So, if the CGI dynamically creates this page as
http://www.xyz.com/MemberID/Flash.html

Is there a way to pull this MemberID variable from the HTML page or to
Embed this variable in the Embed Tag without losing the link to the .swf
itself?

Jeff


>Jefferis wrote:
>
>>The CGI creates the page based upon the information of the referring page
>>[ the page the url call came from].
>>
>>Now I need to know if that variable of MemberID can be passed to and
>>created in a Flash .swf dynamically...
>
>
>The easiest way to pass these vars to the Flash movie is in the OBJECT and
>EMBED tags. You can pass them via a "query string" in the HTML where the
>SWF is called in:
>
><PARAM NAME=movie VALUE="myMovie.swf?memberID=123456789>
>
><EMBED src="myMovie.swf??memberID=123456789>
>
>
>This is documented in a TechNote:
>
>Different approaches to setting variables in a Flash movie
>TN #14253
>http://www.macromedia.com/support/flash/ts/documents/set_variables.htm
>
>This would be written into the HTML created by your CGI script.
>
>
>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 helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]