1 #include <mingpp.h> 2 #include <cstdlib> 3 4 main()5main(){ 6 SWFMovie *m; 7 try { 8 m = new SWFMovie(8); 9 m->setBackground(0, 0, 0); 10 m->save("test07.swf"); 11 } 12 catch(SWFException &e) 13 { 14 std::cerr << "SWFException: " << e.what() << std::endl << std::endl; 15 return EXIT_FAILURE; 16 } 17 return 0; 18 } 19