int main (int argc,char ** argv)
{ SWF swf;
- LPTAG t;
+ TAG* t;
RGBA rgb;
SRECT r;
- LPSHAPE s;
+ SHAPE* s;
S32 width=300,height = 300;
int f,i,ls1,ls2;
// write movie to file
- f = open("shape1.swf",O_WRONLY|O_CREAT|O_TRUNC, 0644);
+ f = open("shape1.swf",O_WRONLY|O_CREAT|O_TRUNC|O_BINARY, 0644);
if FAILED(swf_WriteSWF(f,&swf)) fprintf(stderr,"WriteSWF() failed.\n");
close(f);