"Some files cannot be scanned" is just that, nothing more, nothing less.
Some file that cannot be scanned include archive files, password protected files, and non-executable files.
Seeing that your error is an installation file avast won't act upon it until it has been executed.
Sidenote: Before installing a new version of Flash uninstall the old version.