Scale an image by setting its width and height

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
<mx:Spacer height="10" />
<mx:Label text="Scaled Image" />
<mx:Image source="@Embed('logo.png')" width="100" height="100"/>
<mx:Image source="@Embed('logo.png')" width="100" height="50" maintainAspectRatio="false"/>
</mx:Application>
Related examples in the same category