[Newbie] Data communication server => flash client

Ask a Question related to Macromedia Flash Data Integration, Design and Development.

  1. #1

    Default [Newbie] Data communication server => flash client

    Hi people,

    Given that a flash client has been loaded, is there a way to do async.
    communcations between the flash and the server?

    I'm kind of new to flash communication server/remoting, but I've done some
    good flash AS scripting on previous versions of flash (everything up to sockets
    + XML, but not J2EE related). I'm trying to find an easier way for me to start
    something, so what I think are possible are the following, please correct me
    (or give some suggestions), thanks!

    1) Sockets - the primitive way, just normal flash and any web server, good
    thing is it's primitive and low-level, you can do anything you want, but bad
    thing is, you need to build everything bottom up.

    2) More primitive, HTTP Requests (REST), just post variables and get XML back
    problem: it needs to be a flash initiated communication, not async. And
    if there are sessions involved, things get complicated.

    3) Flash com. server - the macromedia way
    - i think there are many possibilities here:

    a) all flash com server
    - problem: everything is flash based, relies heavily on flash com
    server, most of the code lies on the flash client (don't want to use this
    because it's not too portable and have a steeper learning curve, again please
    correct me)

    b) flash remoting + J2EE (i don't know .Net, so Java is my choice)
    - using XML to exchange Objects with Java, good that there are
    tools done for this, e.g. converting between AS objects & Java Hashes (am I
    right?)
    - Question: - so if we're using a session here, we need javabeans
    or EJB's right?
    - can I just use Tomcat + Javabeans and not
    J2EE server?
    - can the server (Tomcat or J2EE AppSvr)
    initiate a connection to the flash client (given that it knows where the client
    is) ? Is it like using sockets where the server can easily transfer messages
    to the client or does the client need to pull for server updates?


    So after all this, I'm kind of leaning towards 1) or 3b). Am i heading the
    right direction?

    Also, since I'm a PHP/MySQL programmer as well, are there any ways I can use
    PHP to do some kind of active connections with session?

    Thanks!! :o

    bonkong Guest

  2. Similar Questions and Discussions

    1. Data Communication between flash and differentapplications
      Is there a way to communicate between two different standalone applications, without using a HTTP server ? for eg: from Flash to JVM
    2. Flash Communication Server
      I am having trouble installing the flash communication server on my mac, I have flash mx 2004 professional but when i run the installer it searches...
    3. Does Flash Communication server include Flash remoting ?
      We plan to use Flash communication server and flash remoting. Now the most simple question, does the com-server already include flash remoting ? ...
    4. Do I need Flash Communication Server?
      We will be doing video training over a LAN in a few weeks and I'm wondering if we need to buy Flash Communication Server or if we can get away with...
    5. Flash Webcam client <-> client (not client <-> server<-> client)
      Dear Flash Team, supporter and regular mortals (Like myself) I am currently running a IRC chat with mostly webclients connected. We currently offer...
  3. #2

    Default Re: [Newbie] Data communication server => flash client

    flash is a client platform. so, dont expect it to behave like server, or
    listener. it only can initiate connections. but cannot accept connections.

    [url]http://orison.biz/products/chatmx_web.aspx[/url]
    read the article i written with this app. may be it'll be helpful to you.


    // chall3ng3r //

    chall3ng3r Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139