> What do you mean by "don't send" ?
The version of Flash4 we're using here has this editor interface where you
can choose what method you want to use to send the variables via a drop-down
menu. (I don't think you can edit anything manually at all...)
If the option 'send using GET' is selected, the command is edited to
Load Variables (url, "", vars=GET)
Using this calls doGet in the servlet, but the response is not
received/recognised by Flash.
If the option 'send using POST' is selected, the command is edited to
Load Variables (url, "", vars=POST)
This calls doPost, which calls doGet, but still no dice...
Now, if the option 'Don't send' is selected, the command is edited to
Load Variables (url, "")
This calls doGet AND the Flash movie receives the response the servlet sent.
I'm starting to think that this is a Flash 'feature'... :(
If you could send me the example so I can have a look, though, that would be
great... maybe there's something else that's wrong...
Thanks,
Frauke
Frauke Nonnenmacher
Fat Cat Cartoons
www.fatcatoons.com <http://www.fatcatoons.com>
___________________________________________________
The statements and opinions expressed here are my own
and do not necessarily represent those of the VEGA Group.
If you mean without
> specifying a method,
> it don't mean 'don't send'. It means that there is nothing to
> send so you
> don't care. If there are actually variables, they will be
> sent anyway. the
> fact is there is a bug in the way Flash choose the method.
> With the version
> I have, specifying GET will call the doPost method.
>
> If you need it, I can send you a working example.
>
> Pierre-Yves
>
> -----Message d'origine-----
> De : A mailing list for discussion about Sun Microsystem's
> Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]De la part de
> Frauke Nonnenmacher
> Envoy� : mercredi 2 mai 2001 10:20
> � : [EMAIL PROTECTED]
> Objet : Re: Servlet communication with embedded applications
> (FLASH etc)
>
>
> Hello!
>
> Right, we managed to get a step forward. It's bizarre, though
> - the Flash
> movie only reads from the servlet if the loadVariables
> command is specified
> with 'dont't send' rather than 'send using POST' or 'send using GET'.
>
> The strange thing is that it still calls the doGet method of
> the servlet...
> Plus it looks like the output string I write to the
> PrintWriter has to start
> with "response=", e.g. out.print("response=Foo")...
>
> Anyway, now at least there's a connection. I hope we'll get a
> bit further
> from here.
>
> Is that what happens if you're working on the 1st of May? :)
>
> (The bank holiday is next monday)
>
> Frauke
>
> ___________________________________________________
> Frauke Nonnenmacher - Technical Consultant
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> VEGA Skillchange
> 2 Falcon Way, Shire Park, Welwyn Garden City, Hertfordshire, AL7 1TW
>
> Tel: +44 (0)1707 362680
> Fax: +44 (0)1707 362689
>
> Internet: http://www.vega.co.uk\skillchange
>
> VEGA Skillchange is a division of VEGA Group PLC
> ___________________________________________________
>
> Notice of Confidentiality
> This transmission is intended for the named addressee(s)
> only. It contains information which may be confidential
> and which may also be privileged. Unless you are a named
> addressee (or authorised to receive it for the addressee)
> you may not copy or use it, or disclose it to anyone else.
> If you have received this transmission in error please
> notify me.
>
> ______________________________________________________________
> _____________
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
> http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> ______________________________________________________________
> _____________
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
> http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html