Flasher Archive

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


Subject: Re: FLASH: accessing variables sent via "get" http request
From: mbain
Date: Wed, 17 Nov 1999 05:55:16 GMT



Dont mind me if i didnt understand a word you said :o)

Michael Bain
"(A)bort (R)etry (I)nfluence with large hammer"
IBM Global Services, Tel external: 011 302 7234, Tel ext internal: 11120,
Cel.Phn: 082 926 1856
------> http://www.futuredynamics.co.za/cyberbaby/babym.html


John Croteau <croteauaterols [dot] com> on 11/17/99 04:03:08 AM

Please respond to flasheratchinwag [dot] com

To: flasheratchinwag [dot] com
cc: (bcc: Michael Bain/South Africa/IBM)
Subject: Re: FLASH: accessing variables sent via "get" http request




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






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


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