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