Lab Assignment 07 uses the proprietary embed method which is cross-browser capable but has run into many patent problems. The reason Lab assignment 09 validates is because it uses the W3C web standard object to embed the flash content. The object method, in itself, is a better method because it allows for alternative content however it is not entirely cross-browser capable.
Also, most libraries do not have standards compliant or do not generate valid HTML or puts it in the Javascript file and since it is written dynamically, the validator cannot check it.