Flasher Archive

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


Subject: Re: FLASH: Flash 4 & CGI
From: Mark Zukiwsky
Date: Thu, 9 Dec 1999 21:04:19 GMT

Dominik wrote, then wrote again, and again,...

>I recently tried to LoadVariables("http://www.mytestdomain.com/test.txt",0)
>But it seems, that LoadVariables has a limit of 30 chars in the URL
>parameter...
>
>>Error opening URL "http://www.mytestdomain.com/te"
>
>And now comes my question:
>How can I get a variable from a cgi that returns an encoded type of text with
>content "test=http://www.cameFromDomain.com"?

I assume you're previewing the swf using "Test Movie" or "Test
Scene". I think you need to do a "Publish Preview" using HTML or
Default (HTML) settings. This will display your swf in the browser
and give it the http access it needs to run the cgi.

You can get returned variables by simply formatting your cgi to
return something like:

myName=Bill
&myJob=Flash Dude
&myWork=Flash HQ
&myFavTV=Sesame Street
etc., etc.

Now these variables are available in Flash:

myName="Bill", myJob="Flash Dude", myWork="Flash HQ", myFavTV="Sesame Street"

Try passing them to a text field and you'll get the idea.

Hope that helps.

Mark Zukiwsky
Edmonton, Canada




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
  Re: FLASH: Flash 4 & CGI, #LCARS

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