for example.. below is what i'd like to do... but chan doesn't have an getIpAddress() method...
Code: Select all
function handleInternalEvent(evt)
{
if (evt.name == "loginRequest")
{
var chan = evt["chan"]
trace(chan.getIpAddress());
}
}
I know when I trace (chan) it has the users ip address in there... but it has allot of other stuff too.... how do i grab just the ip address?