4 Replies Latest reply on Oct 16, 2006 9:05 AM by leotemp

    Flex and C++

    kooladi
      hi, I am kinda new to Adobe/Macromedia world. I tried Flash a while back and loved it. Though, moved on to Unix and C++. Now, I am trying to design a state machine (C++) in Unix. My question is does Flex support IPC. My state machine changes state based on an Event triggred by the user. I want the UI to be web based (in Flex). Now, when the Event is triggred by the User, does Flex has the capability (API?) to inform the C++ state machine about the change.

      This may seem a stupid question to some, but I am new to Web...does it involve cgi. or something ...

      Pls help...
        • 1. Re: Flex and C++
          leotemp Level 1
          you can access that a number of ways, if you just want to pass information to your application via http check out the HTTPService component in your documentation
          • 2. Re: Flex and C++
            ntsiii Level 3
            Your "state machine" thingy is server based, correct?

            A Flex client can communicate with the server using HTTPService(xml over http), Webservice(soap), RemotObject(amf). Also sockets.

            Tracy
            • 3. Re: Flex and C++
              kooladi Level 1
              Thanks for the response guys...this http component is used to communicate both ways rt..i mean..if the UI gives me a request..i can give back an ack to the UI rt.... you also mentioned about using sockets to communicate..i am more comfortable using sockets...can u suggest me the API ??

              Thanks in advance..
              • 4. Re: Flex and C++
                leotemp Level 1
                flash.net.Socket
                search for it in the docs, if your lucky the examples will be correct, your probably not lucky in that sense though.