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: | Robbert - Jan |
Date: | Tue, 11 Apr 2000 11:26:29 +0100 |
You could send the MemberID variable from the CGI over the url to the html file where the swf movie is embedded into.
When the HTML file has received the variable it has to be added after the file location of the embed tag, using some kind of server side solution. I most of the time use ASP or PHP.
it will look something like this...
<object classid="just an ID" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="XXX" height="XXX">
<param name=movie value="yourfile.swf">
<param name=quality value=high>
<embed src="yourfile.swf?MemberID=" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash">
</embed>
</object>
The variable will now be available in the .swf file with the name "MemberID"
=======================
Robbert - Jan van Velzen
Multimedia Developer
Alphenaar Multimedia Studio
http://www.alphenaar.nl
=======================
----- Original Message -----
Subject: FLASH: Passing a CGI variable to a GET URL - possible? {URGENT}
> I am creating templates for a client who dynamically creates pages on
> member pages with cgi calls.
>
> For example the home page link to FAQ will be
>
> ../memberID/faq.html
>
> The member ID variable changes with each member site and page created.
>
> So if the member's site is Bozo, then the cgi creates the FAQ page as if
> it were on Bozo's site:
>
> ../Bozo/faq.html
>
> 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...
>
> say I want to call the faq.html from within an action script from a
> button.
>
> Is there some way to GET this variable of the referring page? so that
> the button
> ../memberID/faq.html will actually make the call ../Bozo/faq.html
> or ../Lazlo/faq.html
>
> depending on which member's flash page made the call?
>
> Thanks....
>
> Jeff
>
> 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
Replies
FLASH: Passing a CGI variable to a GET U, Jefferis
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]