FLOSC max/msp Adobe Flash AS3 via java gateway

    Sep 20 2010 | 6:51 pm
    I'm doing a multimedia project where I want to use Flash as a UI for a Max patch that controls audio while simultaneously controlling playback of animations going on in Flash. (i.e. a fader in Flash will control the audio playback speed of an audio file in Max while also controlling the fps speed of an animation in Flash.
    I found this utility called FLOSC. http://www.benchun.net/flosc/
    Its a Java Gateway that sends UDP encoded Open Sound Control packets out of MAX/MSP into the Java Gateway server, encodes them as TCP for flash to understand, and vice versa for communication in both directions.
    I have already had the two programs shake hands by following the tutorial on the site, http://transmote.com/flosc/ but I wanted to reach out to the max community to see if anyone has had some experience with this tool and using both flash and max together. I'm an okay flash programmer, but I would like some help on how Max/Flash programming works on the Flash side.
    Has anyone successfully made projects with flash and max?

    • Sep 22 2010 | 8:11 pm
      I did a project using the flashserver object: http://www.nullmedium.de/dev/flashserver/, and found it very straightforward to use. The documentation PDF on the site is pretty good, so I won't go into details on how to use it - basically you set up an XMLSocket object in Flash and set some callbacks to handle events from Max.
    • Sep 27 2010 | 6:32 pm
      do you have the flashserver object, because when I follow the link the site says that the flashserver object is not available right now... I originally wanted to use that but i went with the flosc java gateway instead..
      How much programming did you do in flash?