root/test/Movie/defineScene/test01-cxx.C

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. main

#include <mingpp.h>
#include <cstdlib>

int main()
{
        int i;
        try {
                SWFMovie *m = new SWFMovie(9);
        
        
                for(i = 0; i < 10; i++)
                        m->nextFrame();

                m->defineScene(0, "test0");
                m->defineScene(5, "test1");
                m->save("test01.swf");
        }
        catch(SWFException &e)
        {
                std::cerr << "SWFException: " << e.what() << std::endl << std::endl;
                return EXIT_FAILURE;
        }
        return 0;
}
        

/* [<][>][^][v][top][bottom][index][help] */