开发者

Flex in Android , What is the difference between these codes?

开发者 https://www.devze.com 2023-03-20 02:55 出处:网络
source=\"assets/Check.png\" and source=\"@Embed(source=\'assets/C开发者_如何学编程heck.png\')\"
source="assets/Check.png"

and

source="@Embed(source='assets/C开发者_如何学编程heck.png')" 

I want to know is there any differences in these? I can't see any difference in these through my project. Thanks a lot.


The first syntax loads image at runtime. The second one embed image into binary.

0

精彩评论

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