Flash recorder and player for streaming that can be fully controller by JavaScript