469,344 Members | 6,395 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,344 developers. It's quick & easy.

2 way communication between the Flash and a web Service

Hi!

I am creating a webservice that needs to communicate with the Flash
component.
I am creating the Flash component myself so can add any type of
functionality to it.
I need to know how can I achieve 2 way communication between the Flash and a
web Service
Any suggestions will be greatly appreciated
John
Nov 17 '05 #1
2 2127
I did something similar with php for a project using Flash MX 2004 pro,
although there is a great book that helped me out:
Macromedia Flash MX Professional 2004 for Server Geeks
by Nate Weiss
It may lead you to a solution without using flash remoting.

What version of Flash are you using?

"John" wrote:
Hi!

I am creating a webservice that needs to communicate with the Flash
component.
I am creating the Flash component myself so can add any type of
functionality to it.
I need to know how can I achieve 2 way communication between the Flash and a
web Service
Any suggestions will be greatly appreciated
John

Nov 17 '05 #2

WebServices and Remoting (and XML and LoadVars) will only give you
request/response communications initiated from the Flash client. You
can't use these to push data to the client (what I believe you mean by
2-way).

If you need an always-on two way connection then you need to use
either FlashComm or XMLSocket. I don't have a link onhand but there
are XMLSocket servers implemented in .NET that you can easily drop
into your project, or if you want totally custom functionality you can
implement one yourself (it's just a TCP socket that sends and receives
null terminated XML messages). The complex part of an XML socket
server is message serialization/deserialization/routing.

HTH,

Sam
On Wed, 4 May 2005 11:09:49 +0530, "John" <jo**********@hotmail.com>
wrote:
Hi!

I am creating a webservice that needs to communicate with the Flash
component.
I am creating the Flash component myself so can add any type of
functionality to it.
I need to know how can I achieve 2 way communication between the Flash and a
web Service
Any suggestions will be greatly appreciated
John


Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Saber | last post: by
4 posts views Thread by Benny | last post: by
5 posts views Thread by AeonOfTime | last post: by
1 post views Thread by CARIGAR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.