Debug launch failed - debugger not working


when I try to run the debugger on an actionscript 3 flash movie, the following dialog box appears:
‘Debug launch failed. Debug session will terminate’

Then the debugger doesn’t work.

This is really annoying as I find it very hard to work with flash without the debugger. Does anyone know the solution?