On AMS server i made Application: flashphoner
in the file main.asc i have this code:
application.onConnect = function(client, vidID, showID, chatID, isMobile)
{
do something on connect...
}
from flash player i connect successfully like this:
nc.connect("rtmp://62.90.177.144/flashphoner"...