AsMock is a dynamic mocking framework for AS3, which allows you to test your components by replacing their dependencies with an alternate implementation that fits your test, all on-the-fly.

It supports everything from simple return values and automatic properties and events, to automatically throwing errors, ordering method calls and constraining properties.

Debug . URL.