In some cases there may be libre software available that can work with non-free formats. The free/libre and open source software communities work hard to produce software which works with non-free file formats. Examples include Libre Office which generally uses the Open Document Formats but can handle others, Gnash and Lightspark can play some Flash files.
Educators should educate about general principles with examples and not train students in the use of one commercial product.