Flasher Archive

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


Subject: Re: FLASH: accessing variables sent via "get" http request
From: John Croteau
Date: Wed, 17 Nov 1999 02:14:20 GMT

Hi Marshall,

> I'm using an application server, that is sending a variable via a "get" http
> request. The server simply passes the variable as an appendation to the url
> of an html file. In this file, I have an <embed> calling a flash 4 swf. Is
> there a way that I can access the variable from the swf file?
> In other words, the user requests a file. This file contains syntax that
> prompts my application server to send a variable via url appendation to the
> requested html file (on which is my swf). Can the swf use that variable?
You can use the JavaScript search property to extract the search (GET or
sometimes called query) parameter from the URL. Then use JavaScript to
document.write the OBJECT/EMBED container for Flash including the
variable pairs (extracted from the HTML URL) attached to the SWF's URL.

--
Coming Soon Flash 4 Web Animation F/X and Design
http://www.amazon.com/exec/obidos/ASIN/1576105555/flashcentral
----------- -----------------------
John Croteau croteauaterols [dot] com (mailto:croteauaterols [dot] com)
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: accessing variables sent via "get, Leggett, Marshall

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