21- Create Client App to Access Red5 ...

Create Flash Client app (swf) to access Red5 server app.


import flash.net.NetConnection;
import flash.net.Responder;

var nc:NetConnection = new NetConnection();
nc.addEventListener(NetStatusEvent.NET_STATUS, netConnectionHandler);
nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);

var nr:Responder = new Responder(netResponderHandler);
nc.call(“add”, nr, 2, 3);

function netConnectionHandler(evt:NetStatusEvent)
trace(“status: ” + evt.info.code);

function securityErrorHandler(evt:SecurityErrorEvent):void {
trace(“securityErrorHandler: ” + evt);

function netResponderHandler(serverResult:Object)
trace(“The result is ” + serverResult);

1- Red5 Questions

I’m posting my questions about Red5. Hopefully someone can answer them for me.

1) How do I delete a target runtime?
2) How do I delete a runtime configuration?
3) Should I uninstall Red5 from my development computer?
4) Did I need to install ANT?