---
title: "让图片的大小随着容器的大小变动而变动"
author: "wwwtete"
date: "2010-10-30T09:30:11Z"
tags: []
categories: ["Web前端"]
slug: "untitled"
draft: false
lastmod: "2010-10-30T09:30:11Z"
id: 798181
url: "https://wwwflex.iteye.com/blog/798181"
---

&lt;mx:Image id="img" source="@Embed('img/center.png')"  maintainAspectRatio="false"  
     left="0" right="0" top="0" bottom="0"/&gt;