You are talking about two different things. Flash is commercial project - I do not know why it should be open source ? But still SWF file format is well documented by Adobe and it can be parsed without problems but this is difficult. PNG file format is open source but try to parse and decode it...
By the way which Apple project is open source?