Flasher Archive

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


Subject: Re: FLASH: CGI
From: andy
Date: Tue, 21 Nov 2000 19:37:27 GMT

Scott Rouse wrote:
>Has anyone called a Perl cgi script and had the cgi return a variable to a Flash movie already playing? I can get Flash to read a text field, but I can't seem to simply send a variable to the brower or Flash movie from the cgi script.

Yes, this is pretty straight-forward; make sure your Perl script begins its variable output with the line

Content-Type: text/html

Otherwise, the browser doesn't know what type of data is being downloaded and can't pass it to your Flash movie. Also, make sure you are using LoadMovie correctly.

HTH,

Andy

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.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]