maintainAspectRatio:一个标志,指示是否保持加载内容的高宽比 01 <mx:Image id="img" 02 maintainAspectRatio="true" 03 source="{horizontalList.selectedItem.image}-large.jpg" 04 height="100%" 05 horizontalCenter="0" 06 horizontalAlign="center" 07 top="5" 08 width="{horizontalList.width}" 09 updateComplete="onImageChange()" 10 click="onImgClick()" 11 />