flex erlang communication demo