1 #include <mingpp.h>
2 #include <cstdlib>
3 
main()4 int main()
5 {
6 	int i;
7 	try {
8 		SWFMovie *m = new SWFMovie(9);
9 
10 
11 		for(i = 0; i < 10; i++)
12 			m->nextFrame();
13 
14 		m->defineScene(0, "test0");
15 		m->defineScene(5, "test1");
16 		m->save("test01.swf");
17 	}
18 	catch(SWFException &e)
19 	{
20 		std::cerr << "SWFException: " << e.what() << std::endl << std::endl;
21 		return EXIT_FAILURE;
22 	}
23 	return 0;
24 }
25 
26