root/test/MovieClip/test01.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_add(m, (SWFBlock)mc);

        SWFMovie_save(m, "test01.swf");
        return 0;
}

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