开发者

Flash transparent JPEG through Flex

开发者 https://www.devze.com 2023-01-10 00:06 出处:网络
In Flash, via the authoring environment, you can put bitmaps in your movie that are compressed with JPEG but still support full a开发者_开发知识库lpha transparency, something JPEG does not support out

In Flash, via the authoring environment, you can put bitmaps in your movie that are compressed with JPEG but still support full a开发者_开发知识库lpha transparency, something JPEG does not support out-of-the-box. Is there a way to achieve the same when embedding bitmaps via the Flex [Embed] tag?


This is not something that is possible using Embed. A workaround I have used is to embed both the JPEG and a transparency mask and apply the mask programmatically. If possible, I recommend using transparent PNGs instead.

0

精彩评论

暂无评论...
验证码 换一张
取 消