I have been looking, as much as possible, at the source code for Red5's oflaDemo client. I have been trying to figure out how the client accesses the functions provided in the server- side code.
I have looked at the oflaDemo flash file using Adobe Flash, and do not see any script code in it at all. I don't see anything that starts the playback of any of the movies selected. I don't see anything that invokes any of the services in DemoService for getting the list of available movies in the streams directory. I do not know how the server- side functions are invoked at all.
Could someone point me to examples of how to invoke the server- side functions in a Red5 application? Where is the code that does this in the oflaDemo application? Is there any client- side documentation (other than the non- contextual Javadocs) that can tell how to do this from the client side? Are there any tutorials on how to use client- side functions to invoke server- side functionality???
The code is in the Flash file on the first frames of the "Code" and "Buttons Code" layers. Right-click the frames that have a little "a" on them and choose "Actions" from the popup menu.