Differences between Image and BitmapImage with Flex? -
in image's asdoc, can see :
flex includes bitmapimage class. class used embedding images skins , fxg components
but can use image in skins , use @embed image...
therefore, , when should use image or bitmapimage please ?
image skinnable class wraps bitmapimage. such bitmapimage more lightweight, image has more features. question when use boils down this:
if features of bitmapimage suffice, use that; otherwise use image. in mobile environments try favor use of bitmapimage.
now features image add exactly?
- image extends skinnablecomponent: means can assign images skin border or dropshadow or whatever consistently throughout application.
- it provides progress indicator can displayed while image loading.
- one more feature possibility queue loading of multiple images.
Comments
Post a Comment