root/test/Movie/add/test01.c

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

DEFINITIONS

This source file includes following definitions.
  1. main

#include <libming.h>

int
main()
{
SWFMovie m;

m = newSWFMovie();
SWFMovie_setBackground(m, 0xff, 0xff, 0xff);
SWFMovie_add(m, (SWFBlock)newSWFAction("var a = 1;"));

SWFMovie_save(m, "test01.swf");

return 0;
}

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