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