Flex 2: Unable to compile PhotoViewer sample application

(TechNote) After downloading the PhotoViewer sample application source code (www.adobe.com/devnet/flex/samples/photo_explorer/), you may receive compilation errors such as “Unable to resolve a class for ResourceBundle: strings”.