witam mam pytanko jaką liczbę oznacza
readUnsignedByte
a dokładniej chciałbym zwiększyć liczbę powyżej 4096
thing.layers = bytes.readUnsignedByte();
thing.patternX = bytes.readUnsignedByte();
thing.patternY = bytes.readUnsignedByte();
thing.patternZ = bytes.readUnsignedByte();
thing.frames = bytes.readUnsignedByte();
var totalSprites:uint = thing.width * thing.height * thing.layers * thing.patternX * thing.patternY * thing.patternZ * thing.frames;
if (totalSprites > 4096) {
throw new Error("Thing has more than 4096 sprites.");
}