Communicating between Flash and JavaScript with Haxe.