Let me explain what this is about:
When using stage3D, you program the GPU using binary instructions saved in a little endian byte array. Of course make this is hard so we have an Assembler lenguage called AGAL. To transform one to another you need to use an assembler. This is a bit low and requires an external class (but it’s already made by Adobe itself), so i’ll save directly an Array of bytes and then transfor it into a ByteArray.
Obviously, the binary code is unreadable so the think is to have the AGAL codes aviable. The question is where to save them. As commentaries ahead of every program or should just exist a flain text file with all the programs?
Thanks for your opinion.
PD: i’m also thinking of making Draw functions using AGAL wich will be way faster but requires stage3D.