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