root/test/MovieClip/test02.c

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

DEFINITIONS

This source file includes following definitions.
  1. main

#include <libming.h>


int main()
{
        SWFMovieClip mc;
        SWFMovie m;
        SWFAction a;

        m = newSWFMovie();
        a = newSWFAction("trace('');");
        mc = newSWFMovieClip();

        SWFMovieClip_addInitAction(mc, a);
        SWFMovie_addExport(m, mc, "test");
        
        SWFMovie_save(m, "test02.swf");
        return 0;
}

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