Starting with AIR 3 and Flash player 11, the size limits for a BitmapData object have been removed. The maximum size of a bitmap is now dependent on the operating system.
I am following up on question to this answer.
It would be nice to get the largest bitmap that OS would permit.
Can I check the RAM available and pick bitmap size accordingly? Or do I need to pick a size like 4096x4096 and stick to it?
update: trying the following: new BitmapData(4096, 4096, transp, 0x00FFFFFF);
Gives me error - Error #2015: Invalid BitmapData.
It looks like I'm hitting Flash Player 10 ceiling of 16,777,215 pixels even though I'm compiling and running 11.