More info about the problem, when not running through flash builder but when using flash debug, its throwing the below error message:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
It seems to think that the PNGEncoder does not exist at this point. I import the class in my source code, and it works fine through the flash builder. Why would this be occuring?
One more update, this only happens in the release build of the application. The debug build works fine in or out of flash builder.
I am having the same problem. Have you/has anyone found a solution to this?