Consulting gigs are funny. Some dont let you pee without an escort (literally), others, like this one, turn over the keys to the crown jewels. If I say it will be 2x cheaper there will be no problem. The only stumbling block is that the owner really likes the part implemented in flex and I am a little reluctant to continue with a proprietary system. Any views either way?
One strategy that might help is to be brutally honest about how long it might take in Java, and how much cheaper it would be in a JVM-hosted dynamic language. But obviously if you don't already have enough experience with an alternative language to make a confident estimate, it would be a crazy gamble.