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: Matt Wobensmith
Date: Mon, 10 Apr 2000 21:46:08 +0100

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


---------------
Matt Wobensmith
Macromedia Tech Support
Flash Team Lead


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]