Copyright (c) 2001 Rainer Böhme <rfxswf@reflex-studio.de>
- This file is distributed under the GPL, see file COPYING for details
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
-*/
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
void swf_DumpHeader(FILE * f,SWF * swf)
{ if (!f) f = stderr;
fprintf(f,"\n");
}
+void swf_DumpSWF(FILE * f, SWF*swf)
+{
+ TAG* tag = swf->firstTag;
+ fprintf(f, "vvvvvvvvvvvvvvvvvvvvv\n");
+ while(tag) {
+ printf("%8d %s\n", tag->len, swf_TagGetName(tag));
+ tag = tag->next;
+ }
+ fprintf(f, "^^^^^^^^^^^^^^^^^^^^^\n");
+}
+
void swf_DumpFont(SWFFONT * font)
{
printf("ID: %d\n", font->id);
return "REFLEX";
case ST_DOINITACTION:
return "DOINITACTION";
+ case ST_DEFINEMOVIE:
+ return "DEFINEMOVIE";
case ST_DEFINEVIDEOSTREAM:
return "DEFINEVIDEOSTREAM";
case ST_VIDEOFRAME: