[osflash] swf9 tagType 0x52
ncannasse at motion-twin.com
Sat Oct 28 07:22:52 EDT 2006
> hi list,
> thanx to Nicolas i'm getting info from swflib, so I was able to
> understand some specific swf9 tag such scene names and class names.
> Yet 0x52 tag type is something obscure to me, so my questions are:
Yes, 0x52 is the most difficult one since it contains AS3 bytecode.
> - is it yet fully documented somewhere (sorry for my lack of
> understanding ocaml syntax, i'll do my best to get better :D)?
No. All the informations I got from it was by legal reverse engineering.
Adobe has not yet released any information about the Flash9 file format.
> - what are int 32 before class name and "imports" and aftere record header?
> - what are stuff after list of imports?
The 0x52 tag data consist in :
- an int32, usage unknown
- an 0-terminated string, which specify where is stored the code (?)
- a lot of datas concerning AS3 code
all of this data is parsed in as3parse.ml and as3code.ml, that's a
total of 48KB of code. I started documenting this data there :
http://osflash.org/flash9 but it's not yet complete (this would require
a lot more documentation). If you want to understand the secrets of AS3
bytecode you should have better learn to read OCaml code ;) Once done,
this is an incredibly powerful language to develop compilers with.
More information about the osflash