Basically that's the question - how do mx.graphics.codec.JPEGEncoder and com.adobe.images.JPGEncoder relate to each other?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The former is included in the Flash Player 10.1 ActionScript core library, while the latter is part of as3corelib, an open source ActionScript library.
Both are developed and distributed by Adobe, and the API seems to be identical (at least at first glance) so my guess is they compiled the functionality of the as3corelib class into the core library. Have a look at this demo project comparing both classes (and some more codecs)