Flash and ColdFusion

How do I receive a variable from ColdFusion into Flash?

I thought that:


writeOutput("&success=true&");

was going to work, but Flash can’t see that response.

How in the world can I just simply gather my “success” variable so I know whether or not the script was successful.

Please!