Using externalInterface during development

I’m writing a Flash application that reads context information through a bunch of calls to externalInterface. I have been hardcoding the values during development, then commenting those lines out when I publish.

Is there a way to simulate the javascript functions (that return the values) in the development environment so I can develop and deploy the same code?